1
0
Fork 0
Commit graph

726 commits

Author SHA1 Message Date
James Turner
4914cb0645 Fix skipping of files when scanning polygons, to match previous behaviour. 2011-10-27 17:53:18 +01:00
Christian Schmitt
a7054d72b3 Better do not try to use btg.gz files as polygon source 2011-10-27 10:15:27 +02:00
Christian Schmitt
1c47d095b7 remove unused variables and functions 2011-10-27 09:04:08 +02:00
Frederic Bouvier
1a1e984577 Build fgfs-master and tgvpf under Windows 2011-10-26 22:48:14 +02:00
Frederic Bouvier
9a8635a4a3 Build poly2ogr under Windows 2011-10-26 22:22:23 +02:00
Frederic Bouvier
e8e4d885c5 Build under Windows 2011-10-26 22:19:01 +02:00
James Turner
afe4be595f Modernise the terrafit file handling code. 2011-10-26 20:29:59 +01:00
Christian Schmitt
17dbaffadd Remove all plib deps completely. TG is now plib-free :) 2011-10-25 16:20:31 +02:00
James Turner
881d83d245 Further de-PLIB-ification. 2011-10-25 12:03:04 +01:00
Christian Schmitt
d8d3be6fb1 Change SG linking order and add more tools to the cmake build system
that compile now. Also change .gitignore files to include some new
binary names
2011-10-25 01:11:31 +02:00
Christian Schmitt
89ca2ae1e4 Add cmake install targets 2011-10-24 18:07:35 +02:00
James Turner
17b15a1824 Use detected GDAL include path. 2011-10-24 13:46:15 +02:00
James Turner
e59d2d3e47 Use new SimGear helpers to simplify some code. 2011-10-24 13:46:15 +02:00
James Turner
99562cfde6 CMake support for GDAL / building OGR decode. 2011-10-24 13:46:15 +02:00
James Turner
4e39bff58a Linux fixes for Cmake support. 2011-10-24 13:46:15 +02:00
James Turner
83e6225460 CMake support for TerraGear, and PLIB/OSG/OpenGL removal. 2011-10-24 13:46:15 +02:00
Christian Schmitt
81244fb0fe clean up .gitignore files. Entries are applied recursively 2011-10-24 12:57:53 +02:00
Christian Schmitt
2186e2b89e remove all .cvsignore files 2011-10-24 12:57:53 +02:00
Maxime Guillaud
f20966c21c Increase RLIMIT_CPU to 12h (from 5mn) in fgfs-construct. I have never witnessed the infinite loop that this limit is supposed to catch - however complex tiles frequently require more than 5 minutes CPU. 2011-10-24 11:26:41 +02:00
Ralf Gerlich
f0a5c9ad45 Added gdalchop tool for chopping DEM data available in GDAL-supported raster files. 2011-10-14 22:27:11 +01:00
James Turner
5c5db25930 Build-fixes for Mac 2011-10-12 23:00:35 +01:00
Christian Schmitt
7c842403fe fix compilation against plain simgear 2011-10-12 19:01:22 +02:00
Christian Schmitt
6bb0c32ca1 Clean up old files 2011-10-07 17:31:48 +02:00
Christian Schmitt
b8750c2f55 fix some compiler warnings 2011-09-28 14:47:50 +02:00
Christian Schmitt
1707ec7fbf fix parallel build 2011-09-28 14:45:16 +02:00
Martin Spott
952e3c3489 Hans Janssen: Build fixes for GCC 4.6.1 on Fedora 2011-09-25 15:48:36 -07:00
Martin Spott
55e68f9eda Merge branch 'master' of mapserver.flightgear.org:git/terragear-cs 2011-09-25 13:36:12 -07:00
Martin Spott
92a4c3ae72 Merge branch 'master' of /home/martin/local_fixes 2011-09-25 13:24:40 -07:00
Martin Spott
f8084b5fdf No CVS in here any more .... 2011-09-25 11:45:07 -07:00
Martin Spott
e3f798ac74 Further land cover names cleanup. 2011-09-08 05:45:20 -07:00
Martin Spott
d3068322d2 Add asphalt type 2011-09-02 03:19:02 -07:00
Martin Spott
cebf1bfbdc Reflect changes in land cover name simplification as well as
diversification.
2011-09-02 11:37:41 +02:00
Durk Talsma
d3faa6dfe5 Merge branch 'master' of git://mapserver.flightgear.org/terragear-cs 2011-08-29 21:51:48 +02:00
Durk Talsma
72e6ce3c4a Just a tiny change to test the git mapserver url. 2011-08-28 21:25:39 +02:00
Durk Talsma
bed187faa5 Fix memory leaks in terrafit. 2011-08-24 19:47:18 +02:00
Ralf Gerlich
0fdbcaff63 Adapt to changes in simgear 2011-03-27 10:05:14 +02:00
Frederic Bouvier
68dc3066d4 Comment out a useless empty loop 2010-10-04 08:21:47 +02:00
Frederic Bouvier
bbae3a98a6 Better fix by Geoff McLane 2010-10-02 10:25:36 +02:00
Frederic Bouvier
b408b351d0 Fix index trashing 2010-10-02 10:06:34 +02:00
Ralf Gerlich
c09aeb328e Fahim Dalvi:
add SRTM-1 and SRTM-3 to the list of elevation directories
2010-07-31 19:23:03 +02:00
Ralf Gerlich
4e9a529b1f Adapt to the removal of Point3D from simgear. 2010-07-31 19:21:59 +02:00
Ralf Gerlich
f68f25e0c5 Add remaining WorldScenery processing scripts. 2010-07-17 17:30:51 +02:00
Ralf Gerlich
dc039f503c Update the ogr-decode process.sh script to include polar ice in landmass. 2010-07-17 17:17:15 +02:00
Ralf Gerlich
4f815e8703 Fahim Dalvi:
Allow setting the maximum runway slope on the command line.
2010-07-02 21:02:32 +02:00
Ralf Gerlich
868fa76d23 Jeff Taylor:
Fix "unable to open" messages on priorities/usgs files

Systems without write access to priorities or USGS files could not run
fgfs-construct.
This patch fixes that, so that write access to config files is no
longer required.
2010-06-25 11:04:26 +02:00
Frederic Bouvier
32b564ffaf Use Windows data types to make possible a Win64 build 2010-02-07 22:27:45 +01:00
Frederic Bouvier
4b6c9dbc85 Add a return type to Terra main 2010-02-06 19:07:45 +01:00
Ralf Gerlich
95f595d730 Do not generate region points for hole areas in triangulation. 2010-01-24 00:02:41 -08:00
Ralf Gerlich
1ad2b2e0e9 Write the last_apt file into the workdir instead of the directory where genapts is started from (closes #12) 2010-01-24 09:01:36 +01:00
Ralf Gerlich
450f22f2d7 Yves Sablonier: Terra/greedy.cc needs <cstdio> for EOF constant. 2010-01-24 08:36:12 +01:00
Ralf Gerlich
7af2208824 Teach poly2ogr to convert .btg and .btg.gz files, converting strips and fans to proper triangles. 2010-01-23 09:51:37 +01:00
Ralf Gerlich
84cb4efe79 Add an option to fgfs-construct to disable landmass processing (closes #9). 2010-01-19 20:00:34 +01:00
Ralf Gerlich
3a83772a09 The island mask should actually contain islands, not water. 2010-01-19 19:39:28 +01:00
Ralf Gerlich
69eb4be737 Ron Jensen: Fix stopway length and order and create proper stopway texture.
Thanks, Ron.
2010-01-11 20:25:52 +01:00
Ralf Gerlich
61ac48f3e5 Read the priorities for materials from a data file (closes #5) 2009-12-20 12:41:25 +01:00
Ralf Gerlich
824d734eb4 Load USGS-to-TerraGear translation from external file (closes #10) 2009-12-20 12:11:08 +01:00
Ralf Gerlich
3bee1edab4 Added --clear-dem-path and --dem-path= options to genapts cmdline to allow custom paths for the DEM data (closes #4) 2009-12-18 21:33:02 +01:00
Ralf Gerlich
1daeb0f99e Added stopways to runways (closes #2) 2009-12-18 20:56:17 +01:00
Ralf Gerlich
02ec141e6c Fix compilation errors due to simgear header reorganisation 2009-12-18 19:22:27 +01:00
Ralf Gerlich
f16756b9fe Merge branch 'cvs.terragear' 2009-12-15 21:24:04 +01:00
Ralf Gerlich
7b08557191 John Holden:
Fix runway markings for center runways.

http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg24634.html
2009-11-10 10:11:31 +01:00
Ralf Gerlich
255a094091 Maxime Guillaud:
Fix uncaught near-parallel lines in getIntersection()
2009-09-24 09:46:27 +02:00
Ralf Gerlich
b0a47dfa0e Ron Jensen:
Dirt and grass runways are generated by GenAirports/rwy_simple.cxx.
The runways are divided into two halves, "A" and "B" each consisting of
two triangles.
Runway half "A" is good.
Runway half "B"'s first triangle UV coordinates are a very short line,
and its second triangle's UV coordinates are a point.

[...]

[T]his patch does the Right Thing.  It simply changes the reference
point so the UV coords for the B runway are positive.  They were coming
out negative and getting clipped in build.cxx.
2009-09-24 09:46:27 +02:00
Frederic Bouvier
72cbcac816 Fix warnings under MSVC 2009-06-14 23:36:54 +02:00
Ralf Gerlich
1e8375a7e6 Adapt fgfs_tools_server to new relative paths on fgfs-construct commandline. 2009-06-07 20:40:57 +02:00
Ralf Gerlich
4ef15f03da Added flag to fg-construct to use the shared data of the constructed tile in addition to its neighbours'. Useful for rebuilding part of the scenery to fit the neighbours. 2009-06-05 21:49:59 +02:00
Ralf Gerlich
d72116c6ab Added a flag to protect Shared directory. Useful for rebuilding part of the scenery to fit with the rest. 2009-06-05 21:36:25 +02:00
Ralf Gerlich
2f87423796 Adapt to changes in SimGear 2009-06-05 18:27:10 +02:00
geoff mclane
4f9e7294c2 Install testarray tool
Now that the UI is considerably enhanced,
make this tool installable...
2009-05-02 10:19:30 +02:00
Frederic Bouvier
c366f25021 Geoff McLane: Enhance testarray UI 2009-04-18 17:53:58 +02:00
Geoff McLane
5768581c10 Allow non-integer steps\n\nFor ASCII DEM with say 0.75 step 2009-04-17 20:21:43 +02:00
Frederic Bouvier
af505d2f0f Geoff McLane: allow limits, max/min lat/lon to be added to raw2ascii
Frederic Bouvier: _set_output_format is only available in VS2005 and later
2009-03-28 14:42:41 +01:00
Frederic Bouvier
2c2bc8b551 Remove unneeded code 2009-03-22 16:08:25 +01:00
Frederic Bouvier
4d59fad336 Honour --work-dir option and use portable code to iterate through directories 2009-03-21 11:28:15 +01:00
Frederic Bouvier
fa542403b9 Compile shputils.c 2009-03-14 21:36:25 +01:00
Frederic Bouvier
379f629611 Don't crash when area type is unknown 2009-03-14 21:36:24 +01:00
Frederic Bouvier
d5da7c56f6 Upgrade shapelib to 1.2.10 2009-03-14 21:36:24 +01:00
Ralf Gerlich
ba5a9b363e Fred Bouvier:
Fix genapts crash in remove_dups due to duplicate points being reduced to an empty polygon.
2009-03-14 11:55:01 +01:00
Frederic Bouvier
beadd0123a Compile srtmchop under Linux 2009-03-05 12:35:23 +01:00
Frederic Bouvier
814007e06c Implement a portable way to use ZIP files 2009-03-05 12:35:23 +01:00
Frederic Bouvier
00b8658b99 Add a tool to chop CGIAR (http://srtm.csi.cgiar.org/) srtm improved files 2009-03-05 12:35:23 +01:00
Frederic Bouvier
1bca4c11e2 More portable way to deal with ZIP files 2009-03-05 12:35:23 +01:00
Frederic Bouvier
0166015c4d Line endings changes 2009-03-05 12:35:23 +01:00
Frederic Bouvier
1cd0506c3c Add poly2ogr to the MSVC 7.1 solution 2009-02-15 15:35:50 +01:00
Frederic Bouvier
29a9fbdad2 Add ogr-decode to the MSVC 7.1 solution 2009-02-15 15:35:49 +01:00
Ralf Gerlich
642c711289 Ensure that TerraGear builds under Linux with Fred's changes. 2009-02-02 10:10:32 +01:00
Frederic Bouvier
6256ee184e TerraFit compiled with MSVC 7.1 2009-02-02 10:01:35 +01:00
Frederic
0038e2153f Fix Linux generation after change made to compile with MSVC 7.1 2009-01-27 08:16:14 +01:00
Frederic Bouvier
50b1465421 MSVC 7.1 project files - Tile client 2009-01-27 08:16:14 +01:00
Frederic Bouvier
91e1f82e54 MSVC 7.1 project files - Tile server 2009-01-27 08:16:14 +01:00
Frederic Bouvier
7676da87a7 MSVC 7.1 project files - Build Tiles 2009-01-27 08:16:14 +01:00
Frederic Bouvier
26a787d847 MSVC 7.1 project files - Release build 2009-01-27 08:16:14 +01:00
Frederic Bouvier
8050d209b4 MSVC 7.1 project files and use simgear to create directories 2009-01-27 08:16:13 +01:00
Frederic Bouvier
781c8eda1b MSVC 7.1 project files and use simgear to create directories 2009-01-27 08:16:13 +01:00
unknown
f1da2794f5 MSVC 7.1 project files and use simgear to create directories 2009-01-27 08:16:13 +01:00
curt
a99cf1d758 Updates to disk layout scripts. 2008-12-02 14:53:08 +00:00
Ralf Gerlich
3e38283da3 Fixed "missing tile" issue in tgChopNormalPolygon and tgChopBigSimplePolygon 2008-10-21 16:45:44 +02:00
Ralf Gerlich
deb55d36cb Revert "Workaround for point-in-polygon-calculation: Make "sure" that the point is sufficiently far away from the polygon border so that JRSTriangle can actually detect it is inside of the respective triangle."
This reverts commit 6ef69feb81995139b386046c9ec5d8972a5880c5.
2008-09-11 12:31:15 +02:00
Ralf Gerlich
c9cd0b1758 Revert "Sign bug in calc_point_inside()"
This reverts commit 4797373664b97ca48caa5f0eeaa448225545aa1c.
2008-09-11 12:31:15 +02:00
Ralf Gerlich
aa03c7c2f5 Revert "Minor style fixup of calc_points_inside()."
This reverts commit 28c2bb1971894be175a51232e0502882683fc3e8.
2008-09-11 12:31:15 +02:00