1
0
Fork 0
Commit graph

1327 commits

Author SHA1 Message Date
Scott Giese
1716820c16 genapt: Resolve memory leaks.
Reclaimed 1,419,778 bytes in 6,419 blocks.
genapt memory stability : Good.
2019-01-20 18:02:41 -06:00
Scott Giese
3ec0a1eabb Expand initial Heap size to 16K to reduce occurrences of resizing 2019-01-20 17:57:31 -06:00
Scott Giese
40e554e1cf TerraGear now requires the C++14 Standard 2019-01-20 17:55:08 -06:00
Scott Giese
de43172716 Minor clean up 2019-01-20 17:52:56 -06:00
Scott Giese
e84b69efae Clean up some compile warnings 2019-01-16 19:27:58 -06:00
xDraconian
810a88b754 Merge /u/jreh/flightgear/ branch cliff-updates into next
https://sourceforge.net/p/flightgear/terragear/merge-requests/15/
2019-01-14 05:09:55 +00:00
Scott Giese
1a3d4e386e hgt: runtime optimization 2019-01-13 01:30:40 -06:00
James.Hester
fe958f4eb3 Merge branch 'cliff-updates' into next 2019-01-13 10:33:47 +11:00
James.Hester
3421ce2018 Numerous small fixes following code review:
(1) Whitespace use matched better to surrounding code
(2) While(1) in TGArray::rectify_heights replaced with do/while loop
(3) Incorrect interpolation for 2 points fixed in altitude_from_grid
(4) exit(1) replaced with return EXIT_FAILURE in cliff-decode.cxx
2019-01-13 09:59:00 +11:00
James.Hester
dfe81ce9fa Changed exit(1) to EXIT_FAILURE; use delegation in constructors;
check for endianness only once per invocation.
2019-01-12 09:29:39 +11:00
James.Hester
958750f1ab Fixed incorrect height calculation when interpolating between two non-diagnonal points. 2019-01-11 09:06:09 +11:00
Torsten Dreyer
661f840843 Fix some memory leaks
detangle some /interesting/ use of pointer/reference usage
2019-01-09 14:23:26 +01:00
Torsten Dreyer
79ea7c6819 Fix probably typo, don't cast col/row_step to int 2019-01-09 09:27:13 +01:00
James.Hester
eb4f8ac710 Merge branch 'gdal-fixes' into next 2019-01-04 20:10:13 +11:00
James.Hester
d62bbb2a74 Converted tg_shapefile to GDAL 2.0 API. 2019-01-04 00:07:17 +11:00
James.Hester
1e3343a2f6 Included cliff category as a landmass type. 2019-01-03 09:45:05 +11:00
James.Hester
5586be95f5 Add description of cliff generation; remove debugging printout. 2018-12-31 11:16:16 +11:00
James.Hester
e8b87fcf74 Fix includes for full terragear tool suite, allow arr.gz again for
terrafit.
2018-12-31 10:12:49 +11:00
James.Hester
3192c91da6 Fixed missing return causing crash in Release mode, changed debug
messages to use standard flightgear tools, improved comments.
2018-12-31 00:11:55 +11:00
James.Hester
3f9c296bf4 Brought cliff-decode more closely in line with current ogr-decode.
Fixed bug introduced during merging.
2018-12-30 16:25:56 +11:00
James.Hester
44bfe79007 Merge branch 'cliffs' of ../../stable/terragear into next 2018-12-30 13:47:46 +11:00
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
d4d9b9ef0d Merge branch 'next' of ssh://git.code.sf.net/u/scttgs0/terragear into next 2018-08-01 12:58:19 -05: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
76de889c47 Ignore Visual Studio Code files 2018-07-16 12:19:28 -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
67d8596e8e Ignore Visual Studio Code files 2018-07-01 12:26:28 -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
xDraconian
c9dee9e9b5 MSVC_3RDPARTY_ROOT: Proper detection when not used
CGAL: Bug fix for CGAL forcing Boost_LIBRARIES to null

CMake: Upgrade to CMake 3.0 minimum
Policy CMP0054: Ensure quoted strings are compared properly
Policy CMP0042: Enable MACOSX_RPATH by default
Policy CMP0071: Allow AUTOMOC to process generated files

CMAKE_BUILD_TYPE: Remove illegal 'None' option
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
Geoff McLane
9b7bd61af3 Add 'Shlwapi.lib' to CORE depends... 2018-06-13 13:26:12 +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