Re: I have no default.apt.gz

Glenn McCord <[email protected]>
Newsgroups gmane.games.flightgear.terragear.devel
Message-ID <[email protected]>
Curtis L. Olson wrote:

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

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.

>
> Regards,
>
> Curt.
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.