Re: Any ideas how to fix problem when running genapts?

Jon Stockill <[email protected]> Tue, 11 Jul 2006 14:32:20 +0100
Newsgroups gmane.games.flightgear.terragear.devel
Message-ID <[email protected]>
Ralf Gerlich wrote:
> Hi,
> 
> Marc Frajola wrote:
>> I'm seeing the following error when I run genapts:
>>
>> Internal error in segmentintersection():
>>   Topological inconsistency after splitting a segment.
>>   Please report this bug to [email protected]
>>   Include the message above, your input data set, and the exact
>>     command line you used to run Triangle.
> 
> I can't tell you about the actual origin of that error message. However,
> I think there is a "nudge"-option documented somewhere in the
> genapts-README. Try that with a small value to "nudge" the geometry a
> bit. Maybe this helps.
> 
>> I took the CVS snapshot of terragear source as of July 1 2006. The OS
>> I'm using is FreeBSD 6.0-RELEASE. I have GPC and newmat installed, and
>> have removed -O2 optimization from the TriangleJRS directory and
>> applied a patch to SimGear's newbucket.hxx as recommended by:
>>
>> http://wiki.flightgear.org/flightgear_wiki/index.php?title=Building_Terragear
>>
>> FYI, I have FlightGear 0.9.10 and SimGear 0.3.10 installed and working.
>>
>> The invocation I used for genapts (using extracted DEM-30 data) was:
>>
>> $ genapts --input=apt.dat.gz --work=../../work/ --min-lon=-100 --max-lon=-80 --min-lat=30 --max-lat=40
>>
> 
> Looks reasonable, although it seems to cover a very wide area. Keep in
> mind that you'll also need the landcover data (towns, roads, rivers,
> etc.) for the area you want to build. Maybe Martin Spott can help you
> out by extracting some shapefiles from his terrain database for your
> specific area.

Last time I checked the code the --min* and --max* options weren't 
implemented (they seem to have been dropped when the apt.dat format 
changed) - you'll generate all their airports every time.

-- 
Jon Stockill
[email protected]

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