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
f0895597b9
bump SG version to 3.1.0
2014-02-14 12:24:30 +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
cc751857de
Make cmake happy
2013-11-15 10:43:10 +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
4959236103
Dump Shapefiles anyway
2013-10-13 09:15:37 -07:00
Martin Spott
7ea7735162
Merge casual fixes
2013-10-02 15:04:42 -07:00
Martin Spott
357b229355
Minor corrections, improvements; cleanup.
2013-09-23 02:05:28 -07:00
Martin Spott
1c8791a765
Merge GRASS landcover processing scripts into one.
2013-09-20 12:42:00 -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
Martin Spott
d13ec65114
Test map availability
2013-08-24 07:05:59 -07:00
Martin Spott
7be5e0f906
Rename
2013-08-24 07:04:58 -07:00
Martin Spott
efc4386423
Merge VMap0 procedures into a single file
2013-08-24 07:04:14 -07:00
Martin Spott
f6dca14b0d
Don't rename *and* update files on the same commit ....
2013-08-22 08:40:13 -07:00
Martin Spott
08b628e647
Commit before re-write ....
2013-08-21 15:34:09 -07: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