1
0
Fork 0
Commit graph

1230 commits

Author SHA1 Message Date
James.Hester
e2a6d06de1 Added cliff-decode source and make instructions. 2018-12-30 13:46:42 +11:00
James.Hester
f05c0c524c Merge branch 'cliffs' of ../../stable/terragear into next 2018-12-30 12:39:54 +11:00
James.Hester
09d61732cd Added a small tool to rectify heights using cliff contours placed in
the height array directory.
2018-12-30 10:08:59 +11:00
James.Hester
990417c000 Teach terrafit about rectified height files. 2018-12-30 10:07:26 +11:00
James.Hester
62359aede2 Adjust limits for line intersection calculation to catch points
slightly past the end of a line segment. This is to catch situations
where the cliff line has been chopped at a bucket edge and the
two candidate points are on the edge.
2018-12-30 10:05:35 +11:00
James.Hester
a7af59b61f Fixed height rectification along boundaries and proper clipping of
open contours.
2018-12-17 23:50:28 +11:00
James.Hester
34b3bd89ff Height adjustments based on cliff positions works, but is slow. 2018-10-28 23:47:23 +11:00
James.Hester
d36116d965 Cliffs now appear more or less correctly.
Added cliffs to default_priorities
Ignore cliff files when constructing terrain
Use cliff files when calculating elevations
Set up chopper to allow file extension to be specified
Specify cliff file name when chopping
Allow chopper to chop lines as well as polygons.
2018-10-21 10:07:23 +11:00
James.Hester
005fd6886a Added cliff calculation:
1. Added tg_contour includes to cmake files
2. Added calculations based on cliff contours to array.cxx
2018-10-06 18:46:04 +10:00
Scott Giese
5e84fda144 GenApts850: Bug fix
#800 Genapts outputs duplicated data
2018-09-23 00:52:51 -05:00
James.Hester
8509dc1c33 Added processing of DTED files. 2018-09-15 19:39:02 +10:00
Scott Giese
0c57e06377 Benchmarking: Measure execution time 2018-07-16 12:31:46 -05:00
Scott Giese
e9dc4b9d8c Removed Boost foreach 2018-07-16 12:26:40 -05:00
Scott Giese
815d0a8639 Modernize: Convert enums to scoped enums 2018-07-16 12:18:40 -05:00
Scott Giese
135ab745a5 Temporary: Remove obsolete ct (control tower) 2018-07-16 12:00:34 -05:00
Scott Giese
da1ade82cb tgconstruct: Windows 'copy' is intolerant of forward slashes.
replaced with native path format.
2018-06-24 09:59:27 -05:00
xDraconian
51f9c54076 hgt: Remove dependency on Boost
hgtchop: General code maintenance
2018-06-19 08:57:14 +01:00
xDraconian
acfecfbc4d GenAirport: Support apt.dat version 1100 parsing
GenAirport: Fix typos
2018-06-19 08:57:14 +01:00
Geoff McLane
d8cb65be17 Install lib Array and header in include/tg 2018-06-13 13:35:01 +02:00
Geoff McLane
72683931aa add MSVC debug version... 2018-06-13 13:31:01 +02:00
Florent Rougon
7454ed51b9 Add missing header <algorithm> in gdalchop.cxx
<algorithm> is required for std::min() and std::max(), thanks to Alan
Teeder for the report.

(cherry picked from commit 6434a5ad2d3b0d88b1337d9126acad8b40365b0e)
2018-03-18 22:05:51 +01:00
Torsten Dreyer
dac1324c94 try to get some useful progress output from tg_chopper 2018-02-13 11:19:16 +01:00
Torsten Dreyer
c5dafbc409 allow setting of debug-level in genapts 2018-02-12 22:49:17 +01:00
Torsten Dreyer
e6f652ab91 Sync clipper library with latest code from SF
Picked from here:
https://sourceforge.net/p/polyclipping/code/HEAD/tree/trunk/cpp/
2018-02-12 22:32:52 +01:00
Torsten Dreyer
9d25a4c4b1 allow setting of debug-level for ogr-decode 2018-02-12 22:27:47 +01:00
Torsten Dreyer
4c857e252f Get rid of a nasty/useless warning 2018-02-12 22:22:00 +01:00
Torsten Dreyer
807f26dfdf Fix some tiny memory leaks 2018-02-08 16:12:29 +01:00
Torsten Dreyer
95a34ae32a Compile again with latest SimGear
this patch implements the move of sgstream.hxx to simgear/io/iostreams
introduced with simgear commit 79f869a7f32910197be72b21f6489fbbba02c836
2017-06-25 10:47:32 +02:00
Alessandro Menti
cf5fcfc6c0 Replace native paths with UTF-8 paths in tg-construct 2016-12-04 16:22:31 +01:00
Torsten Dreyer
1e32e9bccb Fix missing std:: namespace, bug #1891
see https://sourceforge.net/p/flightgear/codetickets/1891/
Thanks to James Hester for the patch
2016-12-03 09:45:56 +01:00
Alessandro Menti
4c8455c0ee CMake: explicitly link Boost libraries
Explicitly link Boost libraries for programs that need it to prevent
"undefined reference to `boost::system::get_system_category()'" error
messages from appearing.
2016-12-03 09:44:24 +01:00
Christian Schmitt
15c9d83a46 Fix ogr-decode file opening error 2015-10-23 13:32:29 +02:00
Martin Spott
8f48b13f09 Update to what we're actually using. 2015-10-07 11:31:59 -07:00
Martin Spott
ac460f9225 Make more comprehensible (hopefully). 2015-10-05 06:58:35 -07:00
Martin Spott
0bb5df8d4d Simple rename. 2015-10-05 06:42:03 -07:00
Christian Schmitt
227cdeab42 Bump minimum GDAL version to 2.0.0. Adapt code to API changes for now.
Porting of OGR to GDAL classes can happen later.
2015-08-08 21:09:36 +02:00
Peter Sadrozinski
082ee9b82f workaround for some missing polygons in ogrdecode
- we clip by row first, then tile.  when a polygon is clipped for a row,
  I can see all resulting polys, but subsequent tile intersection, the
  poly disappears.  I am assuming that the colinear horizontal line causes
  clipper some difficulty.
- workaround is to clip the row slightly larger, so when clipping each
  bucket, there won't be such perfect colinear lines.

I ran a test rectangle around lowi (3x3 degrees, and saw no issue.
2015-07-31 07:44:44 -04:00
Peter Sadrozinski
4f59886aaa genapts fixes
- remove splinter remaval / merging
- remove snap after adding colinear nodes
- added zfighting detector - intersects all generated triangles against one another
- this fixes ELLX, and to a large extent all 'large' airport self z-fighting.
- very small z-fighting still exists at 72 airports.  This is down from over 100 before the fix.
2015-07-24 08:57:24 -04:00
Peter Sadrozinski
968089d322 fixes for Martin's tiles that don't clip correctly
- ogrdecode can create degenerate polys.  clean them before clipping
- when tesselating with extra points, add constrain pointes and segments
  before non contrained points.
2015-06-10 07:11:09 -04:00
Peter Sadrozinski
87fe67d5fc temporary workaround for accumulator diff failure.
- will log the failures to a file in current directory.
2015-05-27 09:53:45 -04:00
Peter Sadrozinski
c5faeae357 some fixes for interpolating added points to the airport holes. fixes most gaps when allowing roads on airport landclass
add zero area triangle check when triangulating without extra points.
2015-04-05 16:52:19 -04:00
Peter Sadrozinski
314671886e genapt fix for transparent pavement - don't substitute with Grass - just ignore the poly 2015-02-07 07:57:04 -05:00
Christian Schmitt
803c618b21 Make sure we can still use CGAL<4.5 as well 2015-01-25 12:20:23 +01:00
Christian Schmitt
95830a9a98 genapts850: Add support for bidirectional lights that were created as omnis until now 2015-01-25 10:57:20 +01:00
Peter Sadrozinski
28edfb0fb8 update tg_nodes for usage with CGAL 4.5 2015-01-24 15:10:44 -05:00
Christian Schmitt
d8d6f1ace1 Genapts: move all elevation-related functions into tg_surface, where they belong. 2014-11-16 21:18:52 +01:00
wlbragg
8aabdbf2ad fix gray triangle effect with urban shader on high 2014-08-29 11:35:17 -05:00
Peter Sadrozinski
47db776404 tgconstruct edge matching with existing terrain 2014-04-18 22:21:07 -04:00
Peter Sadrozinski
c7c8c0be82 align tgconstruct and genapt to new sgbinobj api 2014-04-12 19:02:50 +02:00
j.mas
25294ee911 Incorrect double centerline in taxiways 2014-04-07 17:46:20 +02:00
Martin Spott
c9d7fbbfcd Allow roads on top of airport skirts. 2014-04-02 22:24:22 +02:00
Christian Schmitt
edb37c01a3 Disable client/server build. This stuff is essentially unsupported.
Will probably be removed in the future.
2014-02-21 18:06:47 +01:00
Christian Schmitt
143ea6efe6 Move to new SGBucket API 2014-02-21 18:05:55 +01:00
Christian Schmitt
65462f1269 fix numerous compile errors caused by SG changes 2014-02-14 12:00:06 +01:00
Martin Spott
505a2ea982 Update to latest decode-script as used for World Scenery 2.0 2014-02-02 08:09:48 -08:00
Peter Sadrozinski
9bf7357297 warning cleanup and final checks - TNCM, EKNB, and LIMJ all look good 2014-01-23 18:17:43 -05:00
Peter Sadrozinski
c5d6c20998 additional fix for TNCM - handle western longitude and souther latitude rounding 2014-01-20 15:53:05 -05:00
Peter Sadrozinski
733f9347ab adding mutex around directory and file creation in tgconstruct.
fixes corruption of stage 2 data files, which would crash stage 3
lower print verbosity at INFO level.
2014-01-02 19:33:25 -05:00
Peter Sadrozinski
2aff051ea7 - detect and ignore triangles with duplicate nodes after converting
CGAL arbitrary precision numbers to double
2014-01-02 19:32:15 -05:00
Peter Sadrozinski
c9074ab45c Utilize SGBucket::get_corner when building clip rectangles in
ogr-decode, genapts, and tg-construct.
2013-12-31 13:40:31 -05:00
Peter Sadrozinski
5d45916b23 fix tile bounding box errors leading to z-fightine near tile borders
- round to coorect snap point when converting double to clipper uint64
- add tgPolygon::ToClipperfile to aid debugging clipper related issues
2013-12-31 09:21:10 -05:00
Peter Sadrozinski
36e75560e6 clipper 6.0x and supporting modifications
some debug fixes
2013-12-30 22:04:35 -05:00
Christian Schmitt
ac334ecca4 genapts850: allow lower-case ICAO codes for the --airport option 2013-11-15 23:57:19 +01:00
Christian Schmitt
3191c6464d genapts: correctly calculate bucket center and radius for the airport btg files.
We already fixed this for construct in 2012 in commit eaec9905f7
2013-11-14 20:54:54 +01:00
Peter Sadrozinski
c55eaeeb1d Potential fix for airports that could generate FPE on simgear load 2013-10-18 12:38:43 -07:00
Martin Spott
7cca6919ab Ease separation of the different stages 2013-10-14 07:30:05 -07:00
Martin Spott
f6a9b54bf9 Fix stage3 comment 2013-09-12 14:32:57 -07:00
Peter Sadrozinski
ecb1653eee fix memory leak in tgconstruct 2013-09-08 14:04:40 -04:00
Christian Schmitt
7d13ac32b0 Fix underlinking (newer binutils exhibits it) 2013-08-17 19:43:30 +02:00
Peter Sadrozinski
d71aacde76 finally fixed the crazy valleys / ridges
- issue is caused by very long edges.  osm_coastline has lots of them.
- split_long_edges info was getting lost in many cases, as clipper
  'optimizes' the output.  To work around this, I would gather the
  nodes before a clip, then add them back after.  Unfortunately, I was
  only getting one of the polygons nodes
  ( sometimes, just a bucket - 4 nodes )
2013-08-17 10:52:31 -04:00
Peter Sadrozinski
9d4f65f766 hookup --debug to shapefile generation in ogrdecode 2013-07-23 20:54:53 -04:00
Peter Sadrozinski
4e16bb7bb6 fixed the crazy texturing issue.
I think we're ready for another world scenery test.
2013-07-13 11:15:46 -04:00
Peter Sadrozinski
dc6e420abf conditional compile the new edits from last known good terragear for
debugging the messed up texture coordinates
2013-07-06 14:44:56 -04:00
Peter Sadrozinski
a6098f3c4a - fix ogr-decode missing landclass
sometimes, sgBucketSpan returned an extra row ( a sliver )
  chop would pick this and save it as the landclass output - instead of the full bucket poly.
  construct wouldn't have any poly for the area, and mark it as ocean
2013-04-15 19:41:21 -04:00
Christian Schmitt
d42b7269cf Genapts850: Add a version 810 check. This version is unsupported. 2013-04-02 03:00:02 +02:00
Peter Sadrozinski
4f29c32c18 - fixes to get full world vmap0 working
- use exact construction when triangulating in CGAL
2013-03-26 19:20:53 -04:00
Christian Schmitt
5132fa61d1 genapts: proper fix for LFPG segfault 2013-03-20 18:41:34 +01:00
Christian Schmitt
73f07b7506 Reset state machine to "simple" after closing a bezier curve.
Fixes a segfault at LFPG.
2013-03-20 12:57:33 +01:00
Christian Schmitt
b1dd1d9e36 Genapts: fix memory leaks 2013-03-20 12:57:25 +01:00
Christian Schmitt
a61df8aec0 Fix memory access beyond vector bounds. Reported by valgrind 2013-03-20 00:42:55 +01:00
Peter Sadrozinski
a74edcd91b fix ogr-decode double save issue
- added some experimental (and unused) iterative tests
2013-03-11 09:12:42 -04:00
Peter Sadrozinski
08f5c17221 Fixes from full world parsing tests
- Use new SimGear API in construct to gather all tiles within a bounding box
- Bring in new clipper lib, which seems to fix more orientation issues
- Various debug cleanup
- Fix Find/Merge slivers - but leave it turned off
- New OffsetPoints for small speedup in GenApts - currently disabled
2013-03-10 09:42:07 -04:00
Christian Schmitt
0d0d1d36c9 Adapt logging function to SG logstream changes and enable multithreaded output again 2013-02-08 11:31:45 +01:00
Christian Schmitt
5c44d450d4 Bump minimum SG version. Make TG compile again. Own multithread logging is disabled for now. 2013-02-07 20:30:17 +01:00
Christian Schmitt
d469bc04a9 minor ogr-decode fixes 2013-02-03 17:22:36 +01:00
Christian Schmitt
5c83e4e5b5 tg_chopper.cxx: do not exit the process completely if we encounter the same amount of nodes after clipping as before.
Instead, only return and keep processing.
2013-01-10 16:19:04 +01:00
Christian Schmitt
e0cceae841 ogr-decode: be more verbose about the currently processed shapefile 2013-01-08 13:54:00 +01:00
Christian Schmitt
70ae2ecdfe tg_chopper.cxx: Fix typo that only became apparent on sphere (older boost version...) 2013-01-08 00:43:51 +01:00
Frederic Bouvier
d6e753014d Suppress warnings under Windows. The level of code duplication is remarkable. Maybe a template could fit 2013-01-06 00:22:11 +01:00
Frederic Bouvier
29e10a7314 Fix a namespace collision under Windows 2013-01-06 00:20:00 +01:00
Christian Schmitt
75519f886a tg-construct: fix windows build 2013-01-02 17:09:12 +01:00
Christian Schmitt
18bd2aa4e0 gdalchop: Remove automatic void removal. This is better done in an extra step before invoking the chop process 2013-01-02 15:37:33 +01:00
Peter Sadrozinski
5b9375f102 - fixed multithreaded construct memory leak in TGArray usage ( need to clear corner and fitted lists ).
- reworked priorities.hxx/.cxx to make valgrind happy.  It also allows us to add more features per area (like smoothing).
- remove TG_MAX_AREA_TYPES - we had a merge request for this, but this does essentially the same thing with the refactoring.
- fixed some edge matching introduced in multithreaded construct.
- tgconstruct objects now live for an entire stage.  1 for each thread - this introduced the memory leaks, and some issues.
  interesting side effect is that we do less alloc / free, since we use std::vectors which when cleared, don't actually free
  memory, so by the end, we've allocated enough entries for the largest tile.
- fixed linear feature issue in genapts850 - the refactor caused some of the old clean functions to remove too many polys!
  with cgal, we need far less cleaning - just do what construct does, and we can still parse all airports, and lines are back.
2012-12-29 21:05:39 -05:00
Peter Sadrozinski
b007979a38 - multithreaded tgconstruct 2012-12-22 09:16:51 -05:00
Christian Schmitt
6d72319a68 gdalchop: improve speed, especially when using a high number of datasets.
We only pass images to gdal now, if they intersect in any way with the current bucket.
2012-12-21 17:31:46 +01:00
Christian Schmitt
5b6329e5ad The previous commit brought up some issues with certain source formats.
We now create a copy of the original dataset and use that for processing,
as GDAL needs to write some changes.
2012-12-20 20:21:44 +01:00
Christian Schmitt
6d50ec366c gdalchop: interpolate nodata pixels before processing.
This yields much nicer scenery tiles as terrafit does not have to work
with these missing data fields. Tested at LOWI.
2012-12-20 13:37:20 +01:00
Christian Schmitt
20751dd50b gdalchop: support automatic detection of arcsecs in source elevation files 2012-12-20 11:28:57 +01:00
Peter Sadrozinski
cb6ef16f5a fix resource leak - close gzfile after polygons read 2012-12-19 19:36:43 -05:00
Peter Sadrozinski
9f34a0c036 - fix airport area texturing
- fix ocean texturing for tiles with a coastline
2012-12-16 12:54:44 -05:00
Peter Sadrozinski
10db5bfbff - renamed Polygon library to terragear
- split the new implementation into respective class files
  (tg_misc is a catch all...)
2012-12-16 10:46:25 -05:00
Peter Sadrozinski
b1012cd5e9 - Point3D removed
- Moved AptSurface to the Polygon library - and made it more generic for
  possible future use in construct
2012-12-15 21:14:39 -05:00
Peter Sadrozinski
91b28879d4 no more TGPolygon or TGTriNodes 2012-12-15 11:20:46 -05:00
Christian Schmitt
1e62b55664 Another compile fix (missing include) 2012-12-15 13:27:35 +01:00
Christian Schmitt
d10991cbb0 TNT header files were missing. They are templates and don't have to be in the makefile 2012-12-15 11:25:32 +01:00
Peter Sadrozinski
ce1f89f832 library reorg step 1
- no more Geometry
- delete unused files
2012-12-14 22:47:35 -05:00
Peter Sadrozinski
4b97381559 multi-threaded ogrdecode
- use --all-threads to use all available CPUs
- use --threads x to use x threads
2012-12-14 20:44:26 -05:00
Peter Sadrozinski
cd3a1d647e - Use the tgPolygon SaveToGzFile / LoadFromGzFile functions to store the
results of OGRDecode, instead of ascii, completely different format
- move Utility functions to generate polys from line data into tgPolygon
  ( use this for both GenApts850 linear features, and OGRDecode )
- kill off old superpoly, and texparams
- add tgChopper which queues chopped polygons per bucket.
  When saved, result is less files (each tile has 1 file per shapefile decoded)
  Both genapt and ogrdecode now use tgChopper instead of Geometry/Util.cxx functions
- tgChooper acquires a global file name lock, so we can safely run genapts in
  paralell with ogrdecode.
  (this was dangerous before, as both could try to open the index file as write,
   the loser would segfault, later )
2012-12-14 10:23:13 -05:00
Christian Schmitt
720353d920 Make GDAL work again. Create same output as hgtchop does, convert to binary array format 2012-12-14 16:14:28 +01:00
Christian Schmitt
902d4d83bc Set needed boost components and link tg-construct against them 2012-12-11 14:12:58 +01:00
Peter Sadrozinski
257339abcb - remove extra debug 2012-12-09 18:18:21 -05:00
Peter Sadrozinski
6edeadd86e removed tgshape - each area is now just a list of polys
fixed linear data texturing
fixed water area
spacial query adjustment - works just like linear query, now
2012-12-09 18:17:45 -05:00
Peter Sadrozinski
89e69a863f refactor from TGPolygon and TGSuperPoly to tgPolygon
fix for missing texture coordinates.  Need to kill, or shrink TGShape / clip ,asks, etc.
2012-12-09 18:13:48 -05:00
Peter Sadrozinski
c0555a1270 convert tg_nodes to SGGeod and SGVecd/f 2012-12-09 18:13:47 -05:00
Christian Schmitt
f157a33d76 Use capitals for new airport surface materials 2012-12-10 00:11:50 +01:00
Christian Schmitt
930a2c0512 Add missing surface definitions for airport areas 2012-12-09 22:33:52 +01:00
Christian Schmitt
965d639446 Add versioning to tg-construct, hgtchop and ogr-decode 2012-12-09 18:36:03 +01:00
Christian Schmitt
802b074d49 TGArray: convert to binary arr files, clean up memory leaks in terrafit
Binary array patch by James Turner
2012-12-06 10:16:25 +01:00
Christian Schmitt
08b5b77864 Genapts: add version number and tweak console output a little bit 2012-12-05 00:50:07 +01:00
Christian Schmitt
c9ab625a03 terrafit: another go at versioning 2012-12-05 00:07:01 +01:00
Christian Schmitt
0f2b36bb16 terrafix: disable versioning for now... :( 2012-12-04 22:58:47 +01:00
Christian Schmitt
ccec928116 Change the way versioning is done. I hope this will work under windows 2012-12-04 19:45:31 +01:00
Christian Schmitt
b61cfa500b Terrafit: make use of the versioning, clean up and fix options 2012-12-04 12:43:07 +01:00
Christian Schmitt
755dc6465f Remove Output lib and put the functionality into genapts, the only place where it is needed 2012-11-29 18:34:52 +01:00
Christian Schmitt
577f80482d Output lib: remove unused functions, use SG_LOG and clean up 2012-11-29 10:40:04 +01:00
Christian Schmitt
ad9b2f70b5 Fix MSVC compilation, clean up a bit 2012-11-29 09:51:11 +01:00
Peter Sadrozinski
1929799b4b multithreaded genapt850 2012-11-28 19:10:42 -05:00
Christian Schmitt
3dfe15559e TGArray: memset allocates ~1,5 GB (!) of memory for empty elevation arrays.
Change this back to the old behaviour (3x3 columns instead of 20000x20000)
2012-11-27 00:43:08 +01:00
Christian Schmitt
00a0234686 Add a versioning infrastructure, remove old build files 2012-11-26 13:46:25 +01:00
Christian Schmitt
4708d72c0e terrafit: MSVC compile fix for sleep(), remove unsigned warnings
SG's timestamp functions might be a (better) alternative, but they are much
bigger than a single line of code
2012-11-26 08:34:43 +01:00
Christian Schmitt
097abcb9a6 genapts elevation: remove unused function 2012-11-26 08:29:16 +01:00
James Turner
4504d4764c Threaded terrafit.
Optional -j option specified number of threads to use for fitting. Defaults to 1, for the moment.
2012-11-25 22:37:28 +00:00
James Turner
d2b059c789 Use TerraGear getopt_long on Mac.
BSD getopt_long seems to differ in some key ways, and crashes (probably due to ambiguous externs). Use the TG local code on Mac to resolve this.
2012-11-25 21:39:37 +00:00
Christian Schmitt
be0ff2258c tg_unique_*: make MSVC happy with the rounding 2012-11-24 23:05:00 +01:00
Peter Sadrozinski
05f46adacb fix runway shoulder base and clearing calculation.
- instead of expanding for each poly - account for shoulders when expanding base and clearing when building the runway.
- instead of doing a union for each base / clearing poly - add them to a list to do just one clip operation at the end.  This results in anoth 2-3% performance increase, and allows another 10 airports to build. just 4 don't build in addition to NZSP.
2012-11-24 08:46:04 -05:00
Peter Sadrozinski
b971c2b344 some more helipad cleanup - I'm not seeing the holes anymore 2012-11-24 08:44:50 -05:00
Peter Sadrozinski
31397acb85 fix some more of the texturing issues with non square helipads
- I can still get holes on helipads, but I think it's not a texturing
  issue, as I can build the helipad, side extensions, or borders seperatly.
  together, I can get holes.
2012-11-24 08:41:57 -05:00
Christian Schmitt
f7bb81c370 TGArray: remove old code 2012-11-23 18:35:31 +01:00
James Turner
1b53799d51 TGArray: Speed up the construction and destruction 2012-11-23 18:30:37 +01:00
Christian Schmitt
7ed3965933 Remove unneeded includes and "using" declarations from header files 2012-11-23 12:47:25 +01:00
Christian Schmitt
d5659f4ac8 tg_unique_geod: second try: compile under MSVC 2012-11-22 17:50:34 +01:00
Christian Schmitt
1f6e6f6f68 tg_unique_geod: compile under MSVC 2012-11-22 17:47:37 +01:00
Christian Schmitt
bc63d72de5 Support for runway guard lights (wig-wag) from apt.dat spec 2012-11-22 16:45:09 +01:00
Peter Sadrozinski
41e65fe6fa fix segmentation fault in gdalchop
- it still isn't working - it produces output files, but after fir / construct - terrain isn't right
2012-11-21 20:55:20 -05:00
Peter Sadrozinski
0fa30fdcab - fix airport hole contour gaps when crossing tile boundary
- disable FindSlivers (in genapt) - it creates more errors than it fixes
2012-11-20 21:33:17 -05:00
Peter Sadrozinski
3f072c42f8 genapt850 optomizations - use hashes for SGGeod, SGVec3f and SGVec2f lists 2012-11-18 12:59:03 -05:00
Christian Schmitt
c9f79718fa genapts linearfeatures: Remove more Point3D occurences 2012-11-18 17:11:56 +01:00
Christian Schmitt
05091265a5 Add edge lights to old 810-type taxiways 2012-11-18 14:24:05 +01:00
Peter Sadrozinski
b013ad6b7b Fix some gaps in and around airports
- these gaps were caused by a late clipper stage that optomizes the
  resulting polygon after clipping - including removal of nodes
  whose edges have the same slope.  I was unable to disable this
  optomization without breaking clipper - it would just hang.
  So all clipper operations now save the subject nodes before, and
  reinsert after the op.
- cleaned up some debug - genapts is so fast now, that we can just
  print out the summaries.
2012-11-17 11:26:13 -05:00
Christian Schmitt
1c38c3e455 Use SGMisc rounding function everywhere 2012-11-15 10:47:22 +01:00