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
Christian Schmitt
75515f14ba
fix MSVC build
2012-11-15 10:32:06 +01:00
Peter Sadrozinski
9df1e2a81b
add a tgPolygon::Diff for diff againt another polygon
...
(unused for now, but was used in experiments)
2012-11-15 08:26:00 +01:00
Peter Sadrozinski
d2bc41428c
fix the other FindIntermediateNodes error. This seems to have fixed
...
the hole in the runway at LIMA as well - I think it's ok for master
2012-11-15 08:25:48 +01:00
Peter Sadrozinski
79c9b17595
- fix taxiway texturing
...
- fix tgPolygon::FindIntermediateNodes
we were messing up on east west segment nodes, so we had bad t-junctions
2012-11-14 09:21:55 +01:00
Peter Sadrozinski
f6a08f3095
handle closed poly case where clip results in no contours
...
when dumping accumylator, dump each stage in its own layer
2012-11-11 23:21:18 +01:00
Peter Sadrozinski
76ee23a294
Adding new construct style debug to genapt850.
...
format is
--debug-runways=icao:rwy#,rw#...
--debug-pavements=icao:rwy#,rw#...
--debug-features=icao:feat#,feat#...
I think it may be time to stop running each airport in its own process and run in seperate threads.
The passing of parameters is geting confusing, and the reason for it seams to have disapeared with the
removal of triangleJRS
2012-11-11 23:21:18 +01:00
Christian Schmitt
620f941609
Port apt_surface and elevation to SGGeod
2012-11-11 23:21:17 +01:00
Peter Sadrozinski
780e836e8b
Fix for helipad texturing
...
Fix for helipad base and clearing when we have borders
Remove extra debug statements
2012-11-11 23:21:17 +01:00
Christian Schmitt
fae73f38b5
apt_math: Rename the length variable to make its purpose clearer
2012-11-11 23:21:17 +01:00
Christian Schmitt
e9c3f3065c
Change runway object routine. Do elevation calculation and model write out in one loop
2012-11-11 23:21:17 +01:00
Christian Schmitt
707e939337
More cleanup on the runway and helipad side. Remove point3d occurences from helipad light code.
2012-11-11 23:21:17 +01:00
Peter Sadrozinski
608057596b
genapts port complete - time to debug
2012-11-11 23:21:17 +01:00
Christian Schmitt
820c9a6b5d
Try to fix build with CGAL under MSVC
2012-11-11 19:09:30 +01:00
Christian Schmitt
858191ead9
Remove some warnings that MSVC complained about
2012-11-11 11:38:31 +01:00
Frederic Bouvier
9db8ec74f0
MSVC 10 compile fix
2012-11-10 19:44:43 +01:00
Frederic Bouvier
83f41ae4bc
MSVC 10 compile fix
2012-11-10 19:41:58 +01:00
Frederic Bouvier
35ce3f8a49
MSVC 10 compile fix
2012-11-10 19:29:44 +01:00
Frederic Bouvier
9fa7f645d9
MSVC 10 compile fix
2012-11-10 18:41:07 +01:00
Christian Schmitt
92cb090ead
gdalchop: some cleanup of the "using" directive
2012-11-08 19:46:11 +01:00
Christian Schmitt
da8003b1e3
Get rid of a system calls to gzip in demchop and gdalchop
2012-11-08 13:30:35 +01:00
Peter Sadrozinski
619bc7f1f7
a better fix for the boundary box fix
2012-11-07 21:55:58 -05:00
Peter Sadrozinski
c6d60ecd5b
fix for the til matching issue created when converting from SGVec3d to SGGeod for bounding box
2012-11-06 19:32:17 -05:00
Christian Schmitt
bf7d86732d
Remove the newmat dependency and bring in TNT templates as a substitute
2012-11-05 12:14:15 +01:00
Christian Schmitt
e77e5d43d5
Fix a bug in the water runway calculation: The area was made twice as long as needed.
2012-11-01 11:02:24 +01:00
Christian Schmitt
a5d1035717
Runway objects: do not add empty light objects that lead to a SG warning
2012-10-28 12:59:28 +01:00
Christian Schmitt
9587d6d292
Implement RAIL approach light system
2012-10-25 14:25:40 +02:00
Christian Schmitt
8896dbcba8
Implement omnidirectional REIL
2012-10-25 14:20:31 +02:00
Christian Schmitt
3155bbff0f
Remove about 50% of the main light routine by using a loop
2012-10-25 13:42:14 +02:00
Christian Schmitt
cd436fcae9
Convert Calvert lights. This is the last part of the SGGeod/metric conversion.
...
Also remove now-unneeded includes and old functions
2012-10-24 15:40:00 +02:00
Christian Schmitt
2d9aa0bfa8
Convert gen_malsx to SGGeod
2012-10-24 15:40:00 +02:00