Ralf Gerlich
a8e451c2c2
Typo fix in terrafit, which led to bad artefacts in the fitted elevation data.
2008-01-04 11:38:31 +01:00
Ralf Gerlich
05b9e47aba
Replaced the fopen("MASTER_ON","r") in fgfs-tools-server by a simple access()-call. We only need to know whether it's there, not what's in there.
2008-01-03 10:08:34 -08:00
Ralf Gerlich
d8539d5412
calc_point_inside():
...
- Fixed one-off bug.
- Take care of the border-case where the line exactly overlaps a node.
2008-01-03 15:56:10 +01:00
Ralf Gerlich
c5410c336d
Now using a much simpler method for finding a point in a polygon (taken from GRASS GIS)
2008-01-03 13:39:44 +01:00
Ralf Gerlich
4ff56cacf3
Merge commit 'hypersphere-rgerlich/master'
2008-01-03 13:25:03 +01:00
Ralf Gerlich
8fd6c9d6fa
Revert "Minor nudging of polygons to avoid gpc failures"
...
This reverts commit ebc5d20e5a74320a6a9a4fc94f3e289279e63df7.
2008-01-03 13:21:49 +01:00
Ralf Gerlich
2bc393827c
Revert "Moved the point nudging for fgfs-construct from the generic polygon routines to the clipper."
...
This reverts commit 53159ed658bc206e96ef90e67f5bc6e3f5e439fc.
2008-01-03 13:21:22 +01:00
Ralf Gerlich
1a4b3a1d98
Fixed filedescriptor overflow in fgfs-tools-client which led the client to think that the MASTER_ON file did not exist.
2008-01-03 00:22:13 -08:00
Ralf Gerlich
0a32b5f3bc
Avoid SIGSEGV in fgfs-tools-client when the results file is not found.
2008-01-02 23:55:13 -08:00
Ralf Gerlich
cf04dd3135
Fixed select()-call in fgfs-tools-{client,server} which occasionally led to lockup.
2008-01-02 11:23:39 -08:00
Ralf Gerlich
14403c2d8d
Made ogr-decode and genapts use their own poly_counter-files in their own directories.
2008-01-01 16:27:46 +01:00
Ralf Gerlich
09c7327a80
Moved the point nudging for fgfs-construct from the generic polygon routines to the clipper.
2007-12-21 19:21:09 +01:00
Ralf Gerlich
b48ba44594
Merge branch 'master' into make_client
2007-12-20 19:08:09 +01:00
Ralf Gerlich
ac8c3d2ac8
Merge branch 'poly2ogr'
2007-12-20 19:07:37 +01:00
Ralf Gerlich
cbade0853d
Minor nudging of polygons to avoid gpc failures
2007-12-20 19:07:01 +01:00
Ralf Gerlich
21824171fd
Revert "Fixed output bug in terrafit"
...
This reverts commit b7f834290624ab7df7d3df00e81a9fea4933a7fc.
2007-12-20 18:59:37 +01:00
Ralf Gerlich
50e591df63
Implemented poly2ogr, a tool which converts polygons in working directories to layers in any format writable using the OGR library.
2007-12-20 18:59:21 +01:00
Ralf Gerlich
5eff254dc9
Enhanced fgfs-tools-client to eliminate some cases in which a tile does not
...
have to be rebuilt.
2007-12-19 14:22:25 +01:00
Ralf Gerlich
e62ee35e9b
Fixed parsing of the no-overwrite flag (would have been a no-op otherwise!)
...
Made the client more verbose, so that we see when it skips files.
2007-12-19 02:19:06 -08:00
Ralf Gerlich
226c1bebcd
Merge commit 'hypersphere-rgerlich/master'
2007-12-19 11:00:12 +01:00
Ralf Gerlich
9732d97416
Further fixes to process.sh (scrub vs. shrub, ordering of arguments)
2007-12-19 01:58:56 -08:00
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