Re: I have no default.apt.gz

"Curtis L. Olson" <[email protected]>
Newsgroups gmane.games.flightgear.terragear.devel
Message-ID <[email protected]>
Glenn McCord wrote:
> ...well, not 0.9.3. I have the one I got ages ago but terragear rejects 
> it when I run genapts. What I am trying to do is stop my airfields being 
> build at sea level. Yes, I prepared the elevation data before the 
> airport data but I'm wondering if there are things missing in the 
> Airports/runways.dat.gz file which I'm using instead.
> 
> I want to use NZWP so have adjusted it's existance in runways.dat.gz to:
> 
> A NZWP -36.790726  174.630061 1000 MYY Whenuapai
> R NZWP 03  -36.790726  174.630061  52.73  6661   148 NAPHN NNVN 2248    
> 0 NNVN 2185    0
> R NZWP 08  -36.784778  174.632308  98.06  5169   148 NCRHN NNPN    0    
> 0 NYPN    0    0
> R NZWP 12  -36.787107  174.628682 143.29  4753   148 NCRNN NNNN    0    
> 0 NNNN    0    0
> R NZWP 08L -36.783895  174.630752  99.62  2811   148 NTVNN NNNN    0    
> 0 NNNN    0    0
> R NZWP 03L -36.787513  174.633922  53.54  2098   148 NTVNN NNNN    0    
> 0 NNNN    0    0
> 
> where I figured the 1000 should make the airfield 100ft above sea-level 
> (to make it obvious I've altered something). This is all according the 
> Docs-mini/AptNavFAQ.FlightGear.html#_Toc493997506 anyway.
> 
> What have other people done?

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.

Regards,

Curt.
-- 
Curtis Olson   Intelligent Vehicles Lab         FlightGear Project
Twin Cities    [email protected]                  [email protected]
Minnesota      http://www.menet.umn.edu/~curt   http://www.flightgear.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.