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.flightgear.org/download.psp?xmin=6xmax=7ymin=50ymax=51
 
   but when I try to call the above download page from the
 OpenLayers map:
 
  
 http://mapserver.flightgear.org/testmap/?lon=-156.34932lat=20.76679zoom=
 11layers=B0TFFFTFT
 
   then I still get the (hardcoded) default values, even though the
 input fields in the OpenLayers map get filled properly.
 
 Any idea ?

Heh, that's because I've ommited the name=xmin part from the input fields :)
So you can either add to each input field the name so that it is propagated 
through the request, or, if you're not really in a hurry, you can wait for me 
to also add Geoff's code that makes the selection click order irrelevant.

Cheers,
Adrian

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


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, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


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 disabled the download box by default in order to
prevent user confusion when they don't expect the clickable box
feature.  If you envision further improvement - I'm sure there's plenty
of room - please go ahead, if you like.

Cheers,
Martin.
-- 
 Unix _IS_ user friendly - it's just selective about who its friends are !
--

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


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/?lon=4.75487lat=52.31296zoom=12layers=0BTFFTTFF
Same behaviour on Firefox 9.0.1 and IE 9... (see screenshot: 
http://img546.imageshack.us/img546/7176/mapserver.png)



Gijs
  --
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


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.75487lat=52.31296zoom=12layers=0BTFFTTFF

No, not by default.
Enable the Download-Box layer, click the lower left and upper right
corner of a box and then the input fields will get filled with the
corresponding values.  Note, the 144 square-degree limit still applies.

Cheers,
Martin.
-- 
 Unix _IS_ user friendly - it's just selective about who its friends are !
--

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


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 :-)
  --
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


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 !
--

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


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 not on git, but I asume it's pretty similar to the 
large one. 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.

 
 Of course the action calling download.psp should set the
 values, and inside download.psp need to get these values
 and fill in each of the 4 sets... 1:Individual, 2:CS,
 3:CLS and 4:OSM for the user...

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.

 
 (2) After the two mouse clicks, and the 4 values
 correctly filled in, but the yellow/red bounding box outline
 has the correct width but has only 1 or 2 pixel height,
 positioned at the 2nd click location... if the 1st click
 was in the upper left, and the 2nd in the lower right.
 
 If the first click was in the lower left, and the 2nd
 in upper right, this yellow/red outlined box is drawn with
 the correct height, but a width of only 1-2 pixels,
 at the location of the 1st click... etc...

Yeah, that's why I left the comment in the merge request about selecting from 
lower left to upper right. An OpenLayers thing, values can be swapped at will 
of course.


 except do not understand or see the need for the 'click'
 event on this 'box'...

Click event could be used in the future to get rid of the download button by 
auto submitting the form. Or could be removed :)

Cheers,

adrian

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


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 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 think they should 
stay... even enhanced with labels to say what they are...

So why not use the right side of the table for this? They 
could be set vertically, with labels, to keep the right side 
narrow, if that is a concern...

It would seem unnecessary, and CONFUSING, to have TWO visible 
[download buttons], one _ON_ the map and one to the right, no?

And I think we should accept mouse clicks in ANY order, 
or place, and adjust left - right, top - bottom to 
ensure they are always in correct order...

Concerning the faulty drawing of the bounding box on the map 
after 2 clicks, I can now see it is OK if I click lower left 
first, and then upper right ;=()

But as suggested a few lines of script should 'fix' this 
order of things... and not push the user to 'remember' 
to follow a strict rule ;=))

And maybe the click event on this user selected bounding 
box should be commented out, until there is a real need 
for it...

Regards,
Geoff.



--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


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]  box_extents[3]) {
tmp = box_extents[1];
box_extents[1] = box_extents[3];
box_extents[3] = tmp;
}

Now I get a bounding box drawn no matter what 
order, location I click in first, second...

Cheers,
Geoff.




--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


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 think they should
 stay... even enhanced with labels to say what they are...
 
 So why not use the right side of the table for this? They
 could be set vertically, with labels, to keep the right side
 narrow, if that is a concern...
 
 It would seem unnecessary, and CONFUSING, to have TWO visible
 [download buttons], one _ON_ the map and one to the right, no?
 

Hi Geoff,
I was talking about the map at index.php, not the small iframe, of course.
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.

Cheers,
Adrian

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


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, etc, which would be
  difficult, impossible with the mouse, so I think they should
  stay... even enhanced with labels to say what they are...
  
  So why not use the right side of the table for this? They
  could be set vertically, with labels, to keep the right side
  narrow, if that is a concern...
  
  It would seem unnecessary, and CONFUSING, to have TWO visible
  [download buttons], one _ON_ the map and one to the right, no?
  
 
 Hi Geoff,
 I was talking about the map at index.php, not the small iframe, of course.
 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.
 
 Cheers,
 Adrian
 

Hi Adrian,

Agreed. Of course it depends on what Martin 
wants ;=))

I just downloaded /lightmap/index.php and find it 
is VERY similar to /map/index.php, except 'lighter' -
that is the same idea but MUCH less code, no options... 

It is not really smaller or larger in that both use 
the same 'bounds'...

And he did write -
 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

So we must wait and see which way Martin jumps, maybe 
after the baby is in bed (swimming?) ;=))

Regards,
Geoff.




--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


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 quintet rehearsal,
which is extraordinary inspiring !!  ;-)

Cheers,
Martin.
-- 
 Unix _IS_ user friendly - it's just selective about who its friends are !
--

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


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 free GeoIP database, replacing the static San Diego image we
had before.  I'd put all the serious stuff into the main map only.

Cheers,
Martin.
-- 
 Unix _IS_ user friendly - it's just selective about who its friends are !
--

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


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=6xmax=7ymin=50ymax=51

  but when I try to call the above download page from the
OpenLayers map:

  
http://mapserver.flightgear.org/testmap/?lon=-156.34932lat=20.76679zoom=11layers=B0TFFFTFT

  then I still get the (hardcoded) default values, even though the
input fields in the OpenLayers map get filled properly.

Any idea ?

Cheers,
Martin.
-- 
 Unix _IS_ user friendly - it's just selective about who its friends are !
--

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


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,

Martin.
-- 
 Unix _IS_ user friendly - it's just selective about who its friends are !
--

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


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 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 think they should 
 stay... even enhanced with labels to say what they are...

Agreed, I like having the input fields visible so the user can see what
he's selecting (any maybe change the values).  Anyhow, hiding the
fields might be preferred if the download-box-layer is disabled.

Cheers,
Martin.
-- 
 Unix _IS_ user friendly - it's just selective about who its friends are !
--

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


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  ;-)
 Feel free to go ahead, the foundation of the web map is OpenLayers.
 
 Cheers,
   Martin.

Hi,

I've written an OpenLayers handler to populate some input fields with the 
cooordinates of a drawn box on the map. The zone has to be defined by first 
clicking on the lower left corner, then on the upper right one. No 
modification has yet been made to the download script, but it should be pretty 
simple from there.
This is the gitorious merge request:
https://gitorious.org/fg/sceneryweb/merge_requests/1

Cheers,
Adrian

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


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 says use reasonable coordinates in 
order to avoid nasty error messages., and a 404 error is certainly 
quite nasty ;=)) as well as misleading...

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!

I tried this again with a 4x4 around LFPZ N 50 S 46 W 0 E 4, and 
got an 82MB zip, which expanded to 106MB, 128 files, 32 shapefiles, 
and all looks fine... thanks...

Re: OpenStreetMap

 ... BUT contains just one file, COPYING???
 Mmmmh, I have to admit this sounds like a bug. I'll check.
 Might/should be working now, at least my own test was successful,

Ok, tried my YGIL again, N -29 S -33 W 146 E 150, and while the 
1.4MB zip again still included the COPYING file, also got 16 osm_
shapefiles, total 65 files... so this looks good...

So all appears good on the web page downloading ;=))

As stated, have yet to got around to testing 'programmed' 
downloading, but will soonest... and yell if there is a 
problem...

A little off topic, but what application can I use to 
'view' shapefiles in Ubuntu? Any simple suggestions?

I would like a simple say -
$ viewshape osm_runway [osm_taxiway ...]
and it chooses a scale, and draws the lines...

The TG tool shpdump does a nice job of showing all the 
coordinates, but it is not 'graphical'...

I have explored a few like 'ArcGIS Explorer', and some others 
I found, even tried GMT, with 140 odd tools, but this 
seems another steep learning curve ;=(( and found some windows 
only 'Shape Viewers'...

Anyone with some 'simple' suggestions for unix?

Regards,
Geoff.



--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


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 the scripts on Gitorious - fixes (via merge-
requests) are welcomed:

  http://www.gitorious.org/fg/sceneryweb

 So all appears good on the web page downloading ;=))

Thanks again for investigating !

 A little off topic, but what application can I use to 
 'view' shapefiles in Ubuntu? Any simple suggestions?

QGIS - it's not as nice a command line utility in the style of xpdf,
but still the best GIS data viewer I know.  Works on Windows, Mac,
Unix.

Cheers,
Martin.
-- 
 Unix _IS_ user friendly - it's just selective about who its friends are !
--

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


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 get binary (v1.7.3) installed 
in Ubuntu, using apt-get, I now have it running...

But, to me this is just another VERY steep learning 
curve to get it to show anything meaningful, useful...

Yes, so far 'Adding a Vector' allows me to load shapefiles,
then choosing a 'style', and 'Show it in overview' does 
draw the vectors in the selected styles, and I can zoom, 
and move about, etc... keeping it all as a 'project'...

But WOW, as usual, WHAT AN EFFORT ;=((

Back in May 2009 I had tried to compile QGIS 1.0.2 from 
source, using cmake at the time, but gave up...

It seems meantime it has swung over to using Qt for 
something, and this is interesting... and git/githib 
instead of svn... but seems still cmake...

I will again persist with it for a while... and see how 
far I get before shear exhaustion again sets in ;=)) 

But look forward to any other suggestions for simple 
'viewing' of shapefiles specifically...

Re: programmed downloads

As your server logs should show I have now tested quite 
a number of individual layers downloads (using wget, 
around Hong Kong), and there appears no problems so 
far... will test more...

Regards,
Geoff.

PS: My first QGIS image of some osm shapefiles -
 http://geoffair.org/tmp/qgis-01.png 



--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


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 simple, the intention might be a
bit difficult tr understand

 QGIS - it's not as nice a command line utility...
 
 No, it is NOT, but thanks for this reminder... 

I regret I really don't know a bare Shapefile viewer.

 But, to me this is just another VERY steep learning 
 curve to get it to show anything meaningful, useful...

Well, launching the application and opening a Shapefile from the
dialogue box isn't _that_ complicated, is it !?  ;-)

 Back in May 2009 I had tried to compile QGIS 1.0.2 from 
 source, using cmake at the time, but gave up...
 
 It seems meantime it has swung over to using Qt for 
 something, and this is interesting... [...]

Well, QGIS has been using Qt all the time, but in times of 1.0.2
they've been using Qt 3.something, as far as I remember.

 As your server logs should show [...]

In busier times the machine serves dozends of HTTP requests per second. 
I'm not monitoring all of this 

 PS: My first QGIS image of some osm shapefiles -
 http://geoffair.org/tmp/qgis-01.png 

You see, it's quite simple to 'view' the files.

Cheers,
Martin.
-- 
 Unix _IS_ user friendly - it's just selective about who its friends are !
--

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


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't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


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.

Cheers,
Martin.
-- 
 Unix _IS_ user friendly - it's just selective about who its friends are !
--

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


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 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


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 maintaining 
 
   Martin.
Hi Martin,

Just tried a 4x4 degrees around YGIL - 
  N -29, S -33, W 146, E 150

Downloads from the WEB page -
===

(a) Custom Scenery - worked fine... zip downloaded and 
appears valid... and has 11 shapefiles... 44 files...

(b) CLC2000v13 - got a 404 error - Not Found

The requested URL /download/1e82c1e0-6193-47d1-8af4-692aa2b30017.zip 
 was not found on this server.

Repeated, with same 404, different zip -

The requested URL /download/b7668570-9f06-4cf6-981a-bbb465901c5c.zip 
was not found on this server.

(c) OpenStreetMap - appeared to work fine... a zip downloaded 
and appeared valid... BUT contains just one file, COPYING???

And the contents of this COPYING file was -
quote
Map data (c) OpenStreetMap contributors, CC-BY-SA

http://www.openstreetmap.org/
http://creativecommons.org/licenses/by-sa/2.0/
/quote

And repeating the download got the same result!!! ;=((

(d) But doing individual layer downloads, like osm_rail, 
osm_river, osm_tertiary - the only 4 tried at this time,
worked fine... shapefiles look good...

So I got problems just with (b) CLC2000v13 and 
(c) OpenStreetMap... 

But since it was my first try with both of these, 
do not know if it is the result of the recent changes, 
or if it has existed for some time...

Direct URL downloading...
==

Have not yet had a chance to again test direct URL 
down loading, but will get around to it, and advise any 
problems...

This programmed URL downloading is the method I use 
normally, usually from within a script/program, and this 
worked fine on my last downloads a week or so back...

Will test more as time permits, and the need develops ;=))

Summary
===

To me this is a VERY valuable service, but I guess there 
are just not that many people into their own scenery 
building, ;=(( It is quite an undertaking...

And many that do sometimes use other data sources... with 
more detail... especially since the 'swirlies' rendering 
bug appears FIXED with the new BTG versions...

But this could/should change as 'easier' TG tool building 
methods get around, and more is done on GUI scenery 
building tools... must find the time to continue my 
efforts in this regard ;=))

Everybody, and their dog, at least 'speak' frequently 
about the 850 apt data, with its curved taxiways...

HTH.

Regards,
Geoff.



--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


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/1e82c1e0-6193-47d1-8af4-692aa2b30017.zip 
 was not found on this server.

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.

 (c) OpenStreetMap - appeared to work fine... a zip downloaded 
 and appeared valid... BUT contains just one file, COPYING???

Mmmmh, I have to admit this sounds like a bug. I'll check.

Thanks so far,

Martin.
-- 
 Unix _IS_ user friendly - it's just selective about who its friends are !
--

--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


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 friends are !
--

--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


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 selective about who its friends are !
--

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


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 testreport tomorrow.
  --
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


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 gijsr...@hotmail.com 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 :)

 Will testreport tomorrow.


 --
 Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
 infrastructure or vast IT resources to deliver seamless, secure access to
 virtual desktops. With this all-in-one solution, easily deploy virtual
 desktops for less than the cost of PCs and save 60% on VDI infrastructure
 costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel


--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


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 all issues.  Feedback is welcome.

Shapefile download is still broken, I'll try to fix as soon as time
permits.

Cheers,
Martin.
-- 
 Unix _IS_ user friendly - it's just selective about who its friends are !
--

--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


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 about who its friends are !
--

--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] PostGIS update @ Landcover-DB

2011-12-26 Thread Martin Spott
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.
This procedure involves a little bit of schema mangling and, even
though I did a couple of tests over the last months, I didn't have a
test case that big (just the landcover DB, including indices, is more
than 300 GByte in size).

If everything works as expected, the transition will be completed by
the end of this year at latest.
During the first phase of transition (dumping the databases) writes to
the DB will be prohibited.  Afterwards the entire DB will be offline
until all tables, indices and constraints are restored.

I'll be posting a short comment on the current state on the
mapserver. and scenemodels.flightgear.org web sites and Olivier
will provide the required information on The Forum.

Cheers,
Martin.
-- 
 Unix _IS_ user friendly - it's just selective about who its friends are !
--

--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


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 selective about who its friends are !
--

--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel