1
0
Fork 0
Commit graph

971 commits

Author SHA1 Message Date
Ralf Gerlich
e78a1aef88 Fixed output bug in terrafit 2007-12-19 09:35:51 +01:00
Ralf Gerlich
b6db722ead Fixed output bug in terrafit 2007-12-19 09:34:24 +01:00
Ralf Gerlich
bb608ad0ef Now using SG_LOG properly for outputs 2007-12-19 09:29:54 +01:00
Ralf Gerlich
f99c623a98 Added binary files to .gitignore 2007-12-19 09:29:20 +01:00
Ralf Gerlich
19bc5f179e Fixed the short-option parsing in terrafit.cc 2007-12-18 18:20:19 +01:00
Ralf Gerlich
37b49da152 Added a flag to fgfs-tools-client that allows enforcing only generation of missing buckets. 2007-12-18 18:19:47 +01:00
Ralf Gerlich
dbd3348762 Added benchmark information to terrafit 2007-12-16 12:02:55 +01:00
Ralf Gerlich
26e01ebe90 Added commandline parser to terrafit.cc 2007-12-16 10:12:14 +01:00
Ralf Gerlich
61a8fece72 Added C++ implementation of terrafit, which is about 6x faster!!!
Had to move parts of Terra into a library and into its own namespace, due to conflicts with SimGear definitions.
2007-12-15 13:38:44 +01:00
Ralf Gerlich
98c218e22a Fixed the process.sh for ogr-decode (note to self: never commit before testing! ;-) ) 2007-12-13 13:47:49 +01:00
Ralf Gerlich
0fc0b38242 Added a process.sh file using ogr-decode 2007-12-12 21:54:06 +01:00
Ralf Gerlich
217c111155 Workaround for a buggy apt.dat-file: 00-records start showing up which seem to represent Center-frequencies. 2007-12-12 12:33:33 -08:00
Ralf Gerlich
5a4428edd1 Added an error message on the conflict of --enable-ogrdecode and a missing OGR. 2007-11-22 17:45:17 +01:00
Ralf Gerlich
6933f75b11 Cleaned up the autoconf GDAL/OGR detection. 2007-11-22 17:45:17 +01:00
Ralf Gerlich
01f5b80457 Added ogrdecode, which decodes all OGR-supported vector input formats to TerraGear polygons. Might replace shape-decode one day. 2007-11-22 17:45:17 +01:00
Ralf Gerlich
2a4560f312 Added detection of GDAL and OGR using autoconf 2007-11-22 17:45:17 +01:00
Ralf Gerlich
54e72714c4 Remove the previous static list of material identifiers and replaced them by material names. Only the clipper still has a static list for identifying priorities. 2007-11-22 17:44:29 +01:00
Ralf Gerlich
ba50776472 added possibility to specify the end record in shape-decode 2007-11-22 17:44:29 +01:00
Ralf Gerlich
d7d3f53442 Optimised access to point lists for triangle segments and triangle nodes. 2007-11-22 17:44:29 +01:00
Ralf Gerlich
46b662bf83 Cleaned up leftovers from nurbs++ patches.
Integrated am2dsp.pl for convenience.
2007-11-22 17:44:12 +01:00
Ralf Gerlich
1ed948c409 Made terrafit.py installable as a script, properly referring to the bindir of the main configuration. 2007-11-08 22:29:04 +01:00
Ralf Gerlich
27dd0a41d8 Fixed the genapts apt.dat parser:
- The VASI GS angle is properly parsed
- Don't assume given column numbers but properly split the lines at whitespaces
- actually make use of the order of taxiways as specified in the apt.dat
- make the min/max lat/lon work (patch provided by Torsten Dreyer on terragear-devel [1])

[1] http://mail.flightgear.org/pipermail/terragear-devel/2007-January/001389.html
2007-11-08 22:27:02 +01:00
Ralf Gerlich
fcb9e6c8ba Fixed the build system 2007-11-08 22:14:02 +01:00
curt
10a0bdc073 Add some debugging infrastructure that is mostly disabled by default. 2007-11-05 21:58:59 +00:00
curt
ffa70e41f7 Expose the calc_angle() function as tgPolygonCalcAngle() 2007-11-05 14:02:21 +00:00
curt
cc5e739297 Wrap with #ifdef's so it can be included from more than one source. 2007-11-05 14:01:37 +00:00
curt
fbdbcb076b Support creation of polygon lines with non-integer widths. For instance,
road line markings in the USA typically are 4 inches wide (about 10cm).
2007-11-05 14:00:23 +00:00
curt
594c1ffa64 Add white and yellow line types. 2007-10-31 15:05:13 +00:00
curt
0cae653c46 Use a local definition of the point2d class since this was removed from SimGear. 2007-08-15 14:36:52 +00:00
curt
d39de0b665 simple 2d point class definition was removed from SimGear so use a TerraGear
local version.
2007-08-15 14:35:36 +00:00
curt
40e74181e2 Add a simple class definition here that was removed from SimGear. 2007-08-15 14:34:29 +00:00
curt
20105f0e6c Updates. 2007-04-04 16:06:54 +00:00
curt
51a49e5ed1 Remove extra qualifier. 2007-04-04 15:44:06 +00:00
curt
01ba584d2e OVERVIEW:
For the time being of VMap0-data in FlightGear Scenery, there have been
two cases of simplification, where different types of landcover usage
have been stuffed into the same TerraGear work directories:

1.) VMap0 "Glacier" and VMap0 "Polar Ice" have been accumulated in the
    'LandCover/Glacier' directory,
2.) VMap0 "Wet Sand" and VMap0 "Marsh" have been mapped together in
    'VPF-LandCover/Marsh'.

These have been defined in the 'TGVPF/process.sh' for a long time and
we simply ported the identical mapping over to 'ShapeFile/process.sh',
in order to provide an exact image of what had been done previously
with the TGVPF reader, when we did all those funny ShapeFile thingies.

When I started storing all the landcover data in a PostGIS DB, one goal
I had in mind was to understand and clean up the structure of all those
different layers.

Now, after many hours of reading VMap specs and dealing with this data,
I have come to the point where we could merge VMap1 data into the VMap0
stuff where VMap1 is available and I'd like to have those duplicates
cleaned up before we're getting into an even bigger mess.

This means, and this is what the patch implements, that we're going to
handle "Polar Ice" landcover data separately from "Glacier" as well as
"Wet Sand" (which apparently means "Littoral" in our case) separately
from "Marsh" - in TerraGear. In order to let FlightGear behave the same
as previously, the two mentione mappings are now implemented by
respective additional "name" entries in the 'materials.xml' file. I
already committed these entries.

I'd like to progress with the task of adding improvements to our
landcover data set because I consider it as one of the vital goals of
further development to add more and more diversity to The Scenery. So
I'm eager to see these really small but significant issues resolved.
2006-11-29 22:19:33 +00:00
curt
3911a656b5 Version 0.2 of airspace program. Note the CHANGES file. 2006-04-14 16:09:10 +00:00
cvs
81656fd423 Remove handle ( and memory ) leak 2006-03-25 14:16:56 +00:00
curt
0ffcbd97aa Initial revision. 2006-01-27 20:28:55 +00:00
curt
a94577bd35 Updates to demo/example processing script. 2006-01-24 19:40:26 +00:00
curt
33df5799d8 Updates to the paths I use. 2006-01-24 19:39:48 +00:00
curt
cf1b289fa2 Updates to suggested/example paths. 2006-01-24 19:39:16 +00:00
curt
964a4c18ef Yikes! How about commenting out the debugging output, not the actual line
of code!  (See, once in a while I can spot my own stupidity.) :-)
2005-12-31 19:29:26 +00:00
curt
7d4a36db97 Fix a bug recently introduced where the code got overly aggressive with
"bad node" removal and could remove desired nodes.
2005-12-31 19:02:00 +00:00
fredb
4ee00f1084 Removed unneeded files from the terra build 2005-12-22 16:46:58 +00:00
curt
3f35a1486b Fred Bouvier:
I replaced the test of the presence of PUI by a test of the presence of SG, and
I moved the C++ instruction to include PLIB lib check ( on UL ). PUI is not
used by TerraGear and it uses OpenGL that I don't want under cygwin because I
would have to install X11 and it is a mess, just for text tools.
2005-12-22 15:36:39 +00:00
curt
35c35d479e Don't build xterra by default. 2005-12-22 15:35:54 +00:00
curt
10558113e8 Cygwin patches from Frederic Bouvier. 2005-12-19 16:51:25 +00:00
curt
7d20efc7b1 A couple small updates. 2005-12-19 16:06:45 +00:00
curt
9167f05974 Initial revision of my personal todo list. 2005-12-19 16:05:07 +00:00
curt
f8a6310993 Set default LogLevel = SG_INFO. 2005-12-19 15:56:11 +00:00
curt
c1bec7b6c2 Activate some additional debugging output for LogLevel = SG_DEBUG. 2005-12-19 15:55:47 +00:00