genapts

"Dale E. Edmons" <[email protected]> Tue, 26 Oct 2004 03:16:39 -0700
Newsgroups gmane.games.flightgear.terragear.devel
Message-ID <[email protected]>
After translating the input file genapts will run.  It don't appear to
use any of the --chunk --tile etc... arguments yet.  I added:

        if ( !(min_lat < lat && lat < max_lat && min_lon < lon &&
lon  < 			max_lon ) ) {
                     ready_to_go = false;
        }

which helps.  After running for a while I get:

252358: Next airport = KNZJ 383
252433: Next airport = XCGX 593
252446: Next airport = ENFB 52
252463: Next airport = NV26 1913
Unknown line in file: 99

I'm currently trying to process only single chunks to save time and only
deal with the area of actual interest.

1) Am I correct in assuming --min-lat max-lat (etc..) --chunk --tile
arguments
aren't implemented yet?  I don't see it  in GenAirports/main.cxx.
(min_lat, etc.. do get set, but not used.)
2) 99 appears to be the end of file marker and likely should be
ignored.  eg.
       } else if ( token[0] == "99" ) {
              return 0;
or similar.
3) my chunk doesn't appear to get processed

Thanks.


Dale





_______________________________________________
Terragear-devel mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/terragear-devel
2f585eeea02e2c79d7b1d8c4963bae2d