Re: [Flightgear-devel] PostGIS update @ Landcover-DB

2012-01-08 Thread Martin Spott
Martin Spott wrote: > Related to the recent changes I sense that I've introduced an error in > "download.psp", will try to fix soon, Should be fixed - that's what you get from stupid duplication of code lines instead of cleanly putting identical stuff into a function Martin. -- Un

Re: [Flightgear-devel] PostGIS update @ Landcover-DB

2012-01-08 Thread Martin Spott
Gijs de Rooy wrote: > Ah! That's it. /me expected a nice dragable rectangle :-) No, not yet. Related to the recent changes I sense that I've introduced an error in "download.psp", will try to fix soon, Martin. -- Unix _IS_ user friendly - it's just selective about who its friends are !

Re: [Flightgear-devel] PostGIS update @ Landcover-DB

2012-01-08 Thread Gijs de Rooy
> click the lower left and upper right corner of a box and then the input > fields will get filled with the corresponding values. Ah! That's it. /me expected a nice dragable rectangle :-) ---

Re: [Flightgear-devel] PostGIS update @ Landcover-DB

2012-01-08 Thread Martin Spott
Gijs de Rooy wrote: > Not sure if I'm looking for something that you didn't add, but are the boxes > supposed to contain values? > http://mapserver.flightgear.org/map/?lon=4.75487&lat=52.31296&zoom=12&layers=0BTFFTTFF No, not by default. Enable the "Download-Box" layer, click the low

Re: [Flightgear-devel] PostGIS update @ Landcover-DB

2012-01-08 Thread Gijs de Rooy
Hi guys! Nice to see new features on the mapserver! > Martin wrote: > "download.psp" and "map/index.php" on the live page are now in sync > with GIT. Not sure if I'm looking for something that you didn't add, but are the boxes supposed to contain values? http://mapserver.flightgear.org/map/

Re: [Flightgear-devel] PostGIS update @ Landcover-DB

2012-01-08 Thread Martin Spott
Adrian Musceac wrote: > I've placed a merge request with the changes. Now it works properly, at least > on my machine. Same here, thanks a lot for jumping in, I simply didn't get it - for whichever reason "download.psp" and "map/index.php" on the live page are now in sync with GIT. I've d

Re: [Flightgear-devel] PostGIS update @ Landcover-DB

2012-01-08 Thread Adrian Musceac
On Sunday, January 08, 2012 01:50:50 Martin Spott wrote: I've placed a merge request with the changes. Now it works properly, at least on my machine. Cheers, Adrian -- Ridiculously easy VDI. With Citrix VDI-in-a-Box, yo

Re: [Flightgear-devel] PostGIS update @ Landcover-DB

2012-01-08 Thread Adrian Musceac
On Sunday, January 08, 2012 01:50:50 Martin Spott wrote: > Martin Spott wrote: > > Cool ! I'll figure how to interface this with the download machinery. > > Ok, from my perspective the interface to "download.psp" works, please > check (fill in the values you prefer): > > > http://mapserver.flig

Re: [Flightgear-devel] PostGIS update @ Landcover-DB

2012-01-07 Thread Martin Spott
Geoff McLane wrote: >> About the input fields obscuring the map, they may be >> changed easily into type="hidden", I only left them >> as text for debugging and testing. The download button >> is pretty unobtrusive by itself. > > No, I do NOT think they should be hidden! > > After the user ha

Re: [Flightgear-devel] PostGIS update @ Landcover-DB

2012-01-07 Thread Martin Spott
Geoff McLane wrote: > And through commitlogs, I note that you have updated > the git source, but it seems not yet the actual web pages... I've committed Adrian's merge request to GIT, but I did not at the same time update the live web page without testing and without inserting the missing bits,

Re: [Flightgear-devel] PostGIS update @ Landcover-DB

2012-01-07 Thread Martin Spott
Martin Spott wrote: > Cool ! I'll figure how to interface this with the download machinery. Ok, from my perspective the interface to "download.psp" works, please check (fill in the values you prefer): http://mapserver.flightgear.org/download.psp?xmin=6&xmax=7&ymin=50&ymax=51 but when I

Re: [Flightgear-devel] PostGIS update @ Landcover-DB

2012-01-07 Thread Martin Spott
Adrian Musceac wrote: > I don't know how Martin plans to use the small iframe on the other page, I > only modified the index.php part. But your iframe code is good too, if the > lightmap is swapped for the big one. The "lightmap" was meant to be just a teaser on the intro page and is using the

Re: [Flightgear-devel] PostGIS update @ Landcover-DB

2012-01-07 Thread Martin Spott
Adrian Musceac wrote: > The coordinates sent by the POST request can be used in download.psp to fill > the fields automatically, of course. That was the intent, at least. Yup, this morning I already started implementing the remaining pieces, but was interrupted by other weekend tasks (string qui

Re: [Flightgear-devel] PostGIS update @ Landcover-DB

2012-01-07 Thread Geoff McLane
On Sat, 2012-01-07 at 21:09 +0200, Adrian Musceac wrote: > On Saturday, January 07, 2012 20:23:02 Geoff McLane wrote: > > Hi Adrian, > > > > No, I do NOT think they should be hidden! > > > > After the user has used the mouse selection, [s]he may choose > > to modify the fields, say rounding them,

Re: [Flightgear-devel] PostGIS update @ Landcover-DB

2012-01-07 Thread Adrian Musceac
On Saturday, January 07, 2012 20:23:02 Geoff McLane wrote: > Hi Adrian, > > > No, I do NOT think they should be hidden! > > After the user has used the mouse selection, [s]he may choose > to modify the fields, say rounding them, etc, which would be > difficult, impossible with the mouse, so I t

Re: [Flightgear-devel] PostGIS update @ Landcover-DB

2012-01-07 Thread Geoff McLane
Hi Adrian, This seems to do the swapping trick ;=)) if(box_extents.length==4) { var tmp; if (box_extents[0] > box_extents[2]) { tmp = box_extents[0]; box_extents[0] = box_extents[2]; box_extents[2] = tmp; } if (box_extents[1]

Re: [Flightgear-devel] PostGIS update @ Landcover-DB

2012-01-07 Thread Geoff McLane
Hi Adrian, Thanks for your reply... > About the input fields obscuring the map, they may be > changed easily into type="hidden", I only left them > as text for debugging and testing. The download button > is pretty unobtrusive by itself. No, I do NOT think they should be hidden! After the us

Re: [Flightgear-devel] PostGIS update @ Landcover-DB

2012-01-07 Thread Adrian Musceac
Hi Geoff, Martin, > and thus assume the lightmap/?lon=... URL does in fact > point to this index.php, or something like it... but > maybe this is not right ;=((. > > In fact it is clear there are some differences, but > the source of 'lightmap' was not included in git... Yeah, the small map is

Re: [Flightgear-devel] PostGIS update @ Landcover-DB

2012-01-07 Thread Martin Spott
Hi Adrian, Adrian Musceac wrote: > I've written an OpenLayers handler to populate some input fields with the > cooordinates of a drawn box on the map. Cool ! I'll figure how to interface this with the download machinery. I think it would be best to chain the feature-specific (CS, CLC, OSM) dow

Re: [Flightgear-devel] PostGIS update @ Landcover-DB

2012-01-05 Thread Adrian Musceac
On Wednesday, January 04, 2012 22:05:13 Martin Spott wrote: > Vadym Kukhtin wrote: > > Why mapserver.flightgear.org have zooming-panning map, if by "Download > > Shapefiles" I still have to type the numbers of coordinates by hands? > > Because someone has to implement the feature you mention ;-)

Re: [Flightgear-devel] PostGIS update @ Landcover-DB

2012-01-04 Thread Martin Spott
Martin Spott wrote: > Feel free to go ahead, the foundation of the web map is OpenLayers. This config, to be precise: http://mapserver.flightgear.org/git/gitweb.pl?p=sceneryweb;a=blob;f=mapserver/map/index.php Cheers, Martin. -- Unix _IS_ user friendly - it's just selective about w

Re: [Flightgear-devel] PostGIS update @ Landcover-DB

2012-01-04 Thread Martin Spott
Vadym Kukhtin wrote: > Why mapserver.flightgear.org have zooming-panning map, if by "Download > Shapefiles" I still have to type the numbers of coordinates by hands? Because someone has to implement the feature you mention ;-) Feel free to go ahead, the foundation of the web map is OpenLayers.

Re: [Flightgear-devel] PostGIS update @ Landcover-DB

2012-01-04 Thread Vadym Kukhtin
Why mapserver.flightgear.org have zooming-panning map, if by "Download Shapefiles" I still have to type the numbers of coordinates by hands? -- --- WBR, Vadym. -- Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don'

Re: [Flightgear-devel] PostGIS update @ Landcover-DB

2012-01-04 Thread Martin Spott
Geoff McLane wrote: >> http://www.gitorious.org/fg/sceneryweb > > Will certainly try to find the time to 'look' at > the scripts... and thanks as usual for sharing the > contents... I'll probably add a few comments this week, the stuff is pretty bare and, while the code itself is really simpl

Re: [Flightgear-devel] PostGIS update @ Landcover-DB

2012-01-04 Thread Geoff McLane
Hi Martin, > http://www.gitorious.org/fg/sceneryweb Will certainly try to find the time to 'look' at the scripts... and thanks as usual for sharing the contents... > QGIS - it's not as nice a command line utility... No, it is NOT, but thanks for this reminder... After a bit of effort to ge

Re: [Flightgear-devel] PostGIS update @ Landcover-DB

2012-01-04 Thread Martin Spott
Geoff McLane wrote: > Maybe you could add to the web page - "Do not be stupid enough to > request say the area around YGIL in say the CLC2000v13 (CORINE) > dataset!"... > > And hopefully politely give an error like - "coordinates used are > out of dataset range, Dummy!" This morning I've put

Re: [Flightgear-devel] PostGIS update @ Landcover-DB

2012-01-04 Thread Geoff McLane
Hi Martin, Re: CLC2000v13 > CLC is CORINE Land Cover, a project of the EEA, the European > Environmental Agency and therefore covers Europe only. I have > to admit that the error message is a bit misleading and will > try to imagine a more appropriate report. Yes, the page already clearly say

Re: [Flightgear-devel] PostGIS update @ Landcover-DB

2012-01-03 Thread Martin Spott
Geoff McLane wrote: > (c) OpenStreetMap - appeared to work fine... a zip downloaded > and appeared valid... BUT contains just one file, COPYING??? Might/should be working now, at least my own test was successful, Martin. -- Unix _IS_ user friendly - it's just selective about who its f

Re: [Flightgear-devel] PostGIS update @ Landcover-DB

2012-01-03 Thread Martin Spott
Hi Geoff, thanks for extensive testing. Just a few, short comments, as our little son is about to board his bed Geoff McLane wrote: > Just tried a 4x4 degrees around YGIL - > N -29, S -33, W 146, E 150 [...] > (b) CLC2000v13 - got a 404 error - Not Found > > The requested URL /download/1e

Re: [Flightgear-devel] PostGIS update @ Landcover-DB

2012-01-03 Thread Geoff McLane
On Mon, 2012-01-02 at 17:10 +, Martin Spott wrote: > Martin Spott wrote: > > > Shapefile download might/should be working again. Please test, > > particularly the assigned reference system, and report. > > If people don't think it's worth testing, then I might think it's not > worth maintaini

Re: [Flightgear-devel] PostGIS update @ Landcover-DB

2012-01-03 Thread Gijs de Rooy
Hi Martin, CS and CORINE download fine! (for NL at least :P) Cheers, Gijs -- Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create n

Re: [Flightgear-devel] PostGIS update @ Landcover-DB

2012-01-02 Thread Martin Spott
Gijs de Rooy wrote: > I think it's worth going on vacation first :) Ok, I guess you're right ;-) I'm asking because I'd like to remove the "maintenance" sticker from the web pages, Martin. -- Unix _IS_ user friendly - it's just selective about who its friends are ! --

Re: [Flightgear-devel] PostGIS update @ Landcover-DB

2012-01-02 Thread Peter Sadrozinski
I'm just now installing my 2TB NAS - I'll try to fill it up some this week ;) On Mon, Jan 2, 2012 at 6:18 PM, Gijs de Rooy wrote: > > Martin wrote: > > If people don't think it's worth testing, then I might think it's not > > worth maintaining > > I think it's worth going on vacation first

Re: [Flightgear-devel] PostGIS update @ Landcover-DB

2012-01-02 Thread Gijs de Rooy
> Martin wrote: > If people don't think it's worth testing, then I might think it's not > worth maintaining I think it's worth going on vacation first :) Will test&report tomorrow.

Re: [Flightgear-devel] PostGIS update @ Landcover-DB

2012-01-02 Thread Martin Spott
Martin Spott wrote: > Shapefile download might/should be working again. Please test, > particularly the assigned reference system, and report. If people don't think it's worth testing, then I might think it's not worth maintaining Martin. -- Unix _IS_ user friendly - it's just sel

Re: [Flightgear-devel] PostGIS update @ Landcover-DB

2011-12-27 Thread Martin Spott
Martin Spott wrote: > Shapefile download is still broken, I'll try to fix as soon as time > permits. Shapefile download might/should be working again. Please test, particularly the assigned reference system, and report. Cheers, Martin. -- Unix _IS_ user friendly - it's just selective a

Re: [Flightgear-devel] PostGIS update @ Landcover-DB

2011-12-27 Thread Martin Spott
Most of Scenemodels should be up and running. Please test, if you like. Most of MapServer should be working again as well, at least in testing mode. I had to patch the MapServer map renderer in order to be conformant with the PostGIS 2.x SQL syntax constraints, but I'm not sure wether I've caught

Re: [Flightgear-devel] PostGIS update @ Landcover-DB

2011-12-26 Thread Martin Spott
Martin Spott wrote: > I'm planning to update our "Landcover-DB", the PostgreSQL/PostGIS > database behind our MapServer and Scenemodels web sites to PostGIS 2.x > (actually SVN trunk) over the next days. Migration starts right now, Martin. -- Unix _IS_ user friendly - it's just selecti