Re: I have no default.apt.gz
"Frederic Bouvier" <[email protected]>
| Newsgroups | gmane.games.flightgear.terragear.devel |
|---|---|
| Message-ID | <000d01c3f071$e8b03aa0$d734fa51@ninja> |
Glenn McCord wrote: > Curtis L. Olson wrote: > > > The genapts command uses terrain elevation rather than anything > > included in the runways.dat.gz file. So the trick is to look at > > exactly which directories genapts is searching and make sure your > > terrain data layout matches. > > Sorry, but how do I do that? > I'm running genapts from ~/data/airports with > $ genapts --input=runways.dat.gz --work=../../work/ --min-lon=110 > --max-lon=180 --min-lat=-50 --max-lat=10 > where work has the DEM-30 directory, if that is what you're meaning. I'm > following the FlightGear Scenery Tutorial. > > Using the old default.apt.gz results in no airports at all. Although at > the wrong altitude, at least runways.dat.gz shows them. The scenery tutorial here : http://www.terragear.org/docs/scenery-tutorial/fg-scenery-tutorial.html says at chapter 3.1 that you must prepare the elevation data before 3.2 that is about airport data. You're right about the fact that you must use runways.dat.gz instead of default.apt.gz now. Use demchop to do that on GTOPO30 dem files or hgtchop on new SRTM .hgt.zip files. In both case, you will need to run also terrafit.py to have a better terrain. Sorry, there is no tutorial for those tools but you should find the info you need by searching the terragear archive here: http://baron.flightgear.org/pipermail/terragear-devel/ for example google( site:baron.flightgear.org terrafit ) or google( site:baron.flightgear.org hgtchop ) this one can be a starting point : http://baron.flightgear.org/pipermail/terragear-devel/2003-December/000804.html -Fred