Re: [Flightgear-devel] terragear-cs scenery generation problem

2008-10-15 Thread Michael Smith
Ralf Gerlich wrote:
 Hi Michael!

 Michael Smith wrote:
   
 I have my lon/lat for  Bermuda (N32W065 - N33W064).
 
 [SNIP]

   
 genapts --input=data/airports/apt.dat --work=./work --min-lon=32 
 --max-lon=33 --min-lat=-65 --max-lat=-64
 

 Here you should swap lat and lon. Your latitude is 32 (32 deg north) and
 your longitude is -64 (64 deg west).

   
 ran fgfs-construct --work-dir=./work --output-dir=./output --lon=32 
 --lat=65 --xdist=1 --ydist=1 \ AirportArea DepthContour Landmass Road 
 Sand SRTM-30 Town
 

 Similar problem here. Note that the position given by --lon/--lat is
 actually the center of the area being built and --xdist/--ydist are the
 half-width/height of the area in degrees. So --lon=-64 --lat=32
 --xdist=1 --ydist=1 would build the area with southwest corner N31W065
 and northeast corner N33W063.

 DepthContour is not needed, by the way. It's just a different
 representation of the SRTM dataset for use in the mapserver display, but
 currently TerraGear cannot make any use of that.

 Make sure that you include all the subdirectories of your workdir when
 calling fgfs-construct.

 Note that even though that tutorial in the wiki (which I am not the
 author of) uses SRTM-30 as a target directory for the SRTM data, it
 seems that SRTM 3arcsec data is actually used. That's not a bad thing at
 all, but worth noting. SRTM 30arcsec data is only relevant north resp.
 south of the respective polar circles, as no SRTM 3arcsec data is
 available in that area.

 Hope that helps,
 Ralf

 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
 Build the coolest Linux based applications with Moblin SDK  win great prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel

   
I fixed the Lon/Lat and such but it still finished sucessfully and it 
still doesn't output anything.

Michael Smith [EMAIL PROTECTED]


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] terragear-cs scenery generation problem

2008-10-15 Thread Michael Smith
Michael Smith wrote:
 Ralf Gerlich wrote:
   
 Hi Michael!

 Michael Smith wrote:
   
 
 I have my lon/lat for  Bermuda (N32W065 - N33W064).
 
   
 [SNIP]

   
 
 genapts --input=data/airports/apt.dat --work=./work --min-lon=32 
 --max-lon=33 --min-lat=-65 --max-lat=-64
 
   
 Here you should swap lat and lon. Your latitude is 32 (32 deg north) and
 your longitude is -64 (64 deg west).

   
 
 ran fgfs-construct --work-dir=./work --output-dir=./output --lon=32 
 --lat=65 --xdist=1 --ydist=1 \ AirportArea DepthContour Landmass Road 
 Sand SRTM-30 Town
 
   
 Similar problem here. Note that the position given by --lon/--lat is
 actually the center of the area being built and --xdist/--ydist are the
 half-width/height of the area in degrees. So --lon=-64 --lat=32
 --xdist=1 --ydist=1 would build the area with southwest corner N31W065
 and northeast corner N33W063.

 DepthContour is not needed, by the way. It's just a different
 representation of the SRTM dataset for use in the mapserver display, but
 currently TerraGear cannot make any use of that.

 Make sure that you include all the subdirectories of your workdir when
 calling fgfs-construct.

 Note that even though that tutorial in the wiki (which I am not the
 author of) uses SRTM-30 as a target directory for the SRTM data, it
 seems that SRTM 3arcsec data is actually used. That's not a bad thing at
 all, but worth noting. SRTM 30arcsec data is only relevant north resp.
 south of the respective polar circles, as no SRTM 3arcsec data is
 available in that area.

 Hope that helps,
 Ralf

 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
 Build the coolest Linux based applications with Moblin SDK  win great prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel

   
 
 I fixed the Lon/Lat and such but it still finished sucessfully and it 
 still doesn't output anything.

 Michael Smith [EMAIL PROTECTED]


 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
 Build the coolest Linux based applications with Moblin SDK  win great prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel

   
Ok I found the problem, for some reason, fgfs-construct won't work 
unless I use full paths for the data directorys, I do that and it works 
like a charm. Thanksa bunch to Nav and Ralf

Michael Smith [EMAIL PROTECTED]


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] terragear-cs scenery generation problem

2008-10-15 Thread Ralf Gerlich
Hi Michael!

Michael Smith wrote:
 I have my lon/lat for  Bermuda (N32W065 - N33W064).
[SNIP]

 genapts --input=data/airports/apt.dat --work=./work --min-lon=32 
 --max-lon=33 --min-lat=-65 --max-lat=-64

Here you should swap lat and lon. Your latitude is 32 (32 deg north) and
your longitude is -64 (64 deg west).

 ran fgfs-construct --work-dir=./work --output-dir=./output --lon=32 
 --lat=65 --xdist=1 --ydist=1 \ AirportArea DepthContour Landmass Road 
 Sand SRTM-30 Town

Similar problem here. Note that the position given by --lon/--lat is
actually the center of the area being built and --xdist/--ydist are the
half-width/height of the area in degrees. So --lon=-64 --lat=32
--xdist=1 --ydist=1 would build the area with southwest corner N31W065
and northeast corner N33W063.

DepthContour is not needed, by the way. It's just a different
representation of the SRTM dataset for use in the mapserver display, but
currently TerraGear cannot make any use of that.

Make sure that you include all the subdirectories of your workdir when
calling fgfs-construct.

Note that even though that tutorial in the wiki (which I am not the
author of) uses SRTM-30 as a target directory for the SRTM data, it
seems that SRTM 3arcsec data is actually used. That's not a bad thing at
all, but worth noting. SRTM 30arcsec data is only relevant north resp.
south of the respective polar circles, as no SRTM 3arcsec data is
available in that area.

Hope that helps,
Ralf

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] terragear-cs scenery generation problem

2008-10-14 Thread Michael Smith
Hello all, I have been trying to build scenery with terragear-cs and I 
have got through everything sucessfully but it is not outputing the 
scenery sub-tree. Everything went well without errors and I know I have 
the right vmap0/.hgt data (I checked the shapefiles in osgviewer and 
used a freeware terrain viewer for the hgt file and confirmed they are 
my areas files) but it just doesn't put anything in the output directory.
Thanks

Michael Smith [EMAIL PROTECTED]


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] terragear-cs scenery generation problem

2008-10-14 Thread Ralf Gerlich
Hi Michael,

I'd need some more details on the steps you followed to check whether
you are missing anything.

Cheers,
Ralf

Michael Smith wrote:
 Hello all, I have been trying to build scenery with terragear-cs and I 
 have got through everything sucessfully but it is not outputing the 
 scenery sub-tree. Everything went well without errors and I know I have 
 the right vmap0/.hgt data (I checked the shapefiles in osgviewer and 
 used a freeware terrain viewer for the hgt file and confirmed they are 
 my areas files) but it just doesn't put anything in the output directory.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] terragear-cs scenery generation problem

2008-10-14 Thread Michael Smith
Ralf Gerlich wrote:
 Hi Michael,

 I'd need some more details on the steps you followed to check whether
 you are missing anything.

 Cheers,
 Ralf

 Michael Smith wrote:
   
 Hello all, I have been trying to build scenery with terragear-cs and I 
 have got through everything sucessfully but it is not outputing the 
 scenery sub-tree. Everything went well without errors and I know I have 
 the right vmap0/.hgt data (I checked the shapefiles in osgviewer and 
 used a freeware terrain viewer for the hgt file and confirmed they are 
 my areas files) but it just doesn't put anything in the output directory.
 


 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
 Build the coolest Linux based applications with Moblin SDK  win great prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel

   
I have my lon/lat for  Bermuda (N32W065 - N33W064).
I unziped the hgt file, hgtchop ed it, and then ran terrafit in the 
directory with the hgtchop output files.
I ran genapts --input=data/airports/apt.dat --work=./work --min-lon=32 
--max-lon=33 --min-lat=-65 --max-lat=-64 (worked perfect without errors)
I ran shape-decode on all the shape files (vmap0) for Bermuda with a 
--max-segment of 500 (and of course decoded landmass as Default)
ran fgfs-construct --work-dir=./work --output-dir=./output --lon=32 
--lat=65 --xdist=1 --ydist=1 \ AirportArea DepthContour Landmass Road 
Sand SRTM-30 Town

thats all the steps (and of course I have all of those directorys)
I have been following the tutorial from the fg wiki.

Michael Smith [EMAIL PROTECTED]


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel