1
0
Fork 0
terragear/src/Airports/GenAirports
Peter Sadrozinski 071d98b3bc Lot's pf success on the quest to a full file parse.
Just three airports crashed, and no hangs.  One of the crashes is still NZSP
I don't know if I'll fix this soon.  It's the south pole problem with stuff
crossing the IDL.
- Added dome debug support for generating shapefiles from TGPolygon.
  This allows directly creating shapefiles instead of chopping a poly, then
  having to run poly2ogr on it.  The API is flexible, allowing multiple
  datafiles, and layers open simutaneously, and the features in the shapefiles
  have a description field that can be set.
- Added a restart-id= which allows a bash script to check the exit value of genapts,
  and automatically restart on the airport after the one that crashed.
  I've included an example script I have used.
- Stability fixes:
  1) actually, this is both stability, and graphical fix.  Some airport linear
     features and polygon contours were using bezier nodes for straight lines.
     When the control point lies just outside the line, the parser would attempt to
     draw a 'hook'  unfortunately, some of my calcs return NAN, and sometimes you just
     get crazy looking polys to attempt to clip - not good.
     Fix is to check cubic and quadratic nodes to see if they should really be linear.
     Substitute linear segments where apropriate.
  2) Along the same line as 1, There are some really short bezier segments, that were
     getting subdivided into the hard coded 8 segments.  Now, if the approximately linear
     distance of the curve is less than 4 meters, the curve is broken into 1/2 meter segments.
     Likewise, if the curve is greater than 800 meters, the curve is broken into 100 meter
     segments.
  3) Sometimes, during clipping, degenerate ontours are created.  Although these are cleaned
     before triangulation, there were still issues with generating the accumulation poly with
     the union operator, causing a crash.  I now simplify, and reduce degeneracy on all polys
     before clipping against the accumulator.
- Extra special bonus - successful completeion of an airport is printed in green :)
2012-03-25 23:54:16 +02:00
..
.gitignore Added binary files to .gitignore 2007-12-19 09:29:20 +01:00
apt_surface.cxx MSVC 7.1 project files - Release build 2009-01-27 08:16:14 +01:00
apt_surface.hxx Adapt to the removal of Point3D from simgear. 2010-07-31 19:21:59 +02:00
build.cxx Stability checkpoint for genapt850 2012-03-25 23:54:15 +02:00
build.hxx Fixed the build system 2007-11-08 22:14:02 +01:00
CMakeLists.txt Lot's pf success on the quest to a full file parse. 2012-03-25 23:54:16 +02:00
convex_hull.cxx Made sure that any #include-instruction comes before the first "using"-declaration, so that we can spot buggy header-files more easily. 2008-08-08 12:31:02 +02:00
convex_hull.hxx Removed remaining "using"-declarations from header-files. 2008-08-08 12:48:08 +02:00
elevations.cxx Fixed the build system 2007-11-08 22:14:02 +01:00
elevations.hxx Fixed the build system 2007-11-08 22:14:02 +01:00
global.hxx Fahim Dalvi: 2010-07-02 21:02:32 +02:00
lights.cxx Remove all plib deps completely. TG is now plib-free :) 2011-10-25 16:20:31 +02:00
lights.hxx moving texparams header from genapt to poly library. Need it for new construct. 2012-03-25 23:54:15 +02:00
main.cxx Fahim Dalvi: 2010-07-31 19:23:03 +02:00
point2d.cxx Fixed the build system 2007-11-08 22:14:02 +01:00
point2d.hxx Adapt to the removal of Point3D from simgear. 2010-07-31 19:21:59 +02:00
process.pl With the latest version of the libnurbs++, the include file extension has 2003-03-11 20:17:57 +00:00
process.sh Add remaining WorldScenery processing scripts. 2010-07-17 17:30:51 +02:00
runway.cxx Fixed the build system 2007-11-08 22:14:02 +01:00
runway.hxx Adapt to the removal of Point3D from simgear. 2010-07-31 19:21:59 +02:00
rwy_common.cxx - brought in clipper (alternative to gpc) 2012-03-25 23:54:15 +02:00
rwy_common.hxx moving texparams header from genapt to poly library. Need it for new construct. 2012-03-25 23:54:15 +02:00
rwy_nonprec.cxx Adapt to changes in simgear 2011-03-27 10:05:14 +02:00
rwy_nonprec.hxx moving texparams header from genapt to poly library. Need it for new construct. 2012-03-25 23:54:15 +02:00
rwy_prec.cxx Adapt to changes in simgear 2011-03-27 10:05:14 +02:00
rwy_prec.hxx moving texparams header from genapt to poly library. Need it for new construct. 2012-03-25 23:54:15 +02:00
rwy_simple.cxx - brought in clipper (alternative to gpc) 2012-03-25 23:54:15 +02:00
rwy_simple.hxx moving texparams header from genapt to poly library. Need it for new construct. 2012-03-25 23:54:15 +02:00
rwy_visual.cxx Adapt to changes in simgear 2011-03-27 10:05:14 +02:00
rwy_visual.hxx moving texparams header from genapt to poly library. Need it for new construct. 2012-03-25 23:54:15 +02:00
taxiway.cxx - brought in clipper (alternative to gpc) 2012-03-25 23:54:15 +02:00
taxiway.hxx moving texparams header from genapt to poly library. Need it for new construct. 2012-03-25 23:54:15 +02:00