1
0
Fork 0
Commit graph

808 commits

Author SHA1 Message Date
Ralf Gerlich
53efe44bfd Implemented reading point layers to poly2ogr (was used for debugging calc_point_inside()-stuff) 2008-03-29 13:04:25 +01:00
Ralf Gerlich
f01a1daa7b Fixed criterion for removal of small degenerate polygons. 2008-02-08 22:24:53 +01:00
Ralf Gerlich
e29bdcfe59 Removed test printouts. 2008-02-08 13:52:12 +01:00
Ralf Gerlich
74d80cdcd7 Fixed calc_point_inside().
Very small sliver contours were irritating the contour tree builder, so that contours ended up as children of nodes in which they were not contained.
2008-02-08 13:52:11 +01:00
Ralf Gerlich
cd90019bbf Intermediate fix for calc_point_inside 2008-02-08 13:52:10 +01:00
Ralf Gerlich
fe7f626265 Fixed file overflow in TerraFit 2008-01-14 22:30:07 +01:00
Ralf Gerlich
2a00d8092b Got rid of the last gts-dependency-leftovers. The gts-checks have been commented out for quite some time already and ArrayFit hasn't been used for years. 2008-01-10 20:31:18 +01:00
Ralf Gerlich
f7e8317f44 Made calc_points_inside() much more robust. 2008-01-09 14:37:54 +01:00
Ralf Gerlich
2b93966193 Got rid of the unused parts of the old calc_points_inside()-code. 2008-01-09 14:15:48 +01:00
Ralf Gerlich
f4b4a7dc3c Revert "Do not load shared data of own tile."
The original commit did not solve the problem, as also neighbouring tiles were used multiple times due to an inconsistency in the tile grid calculations.
2008-01-08 03:07:31 -08:00
Ralf Gerlich
4f0ee5178f Stow the logfile away if a tile failed in fgfs-tools-client. 2008-01-08 12:03:50 +01:00
Ralf Gerlich
8c09d9a48c Avoid use of sg_bucket_span(). 2008-01-08 12:03:50 +01:00
Ralf Gerlich
bb5882e977 Added printing of the nudge value in fgfs-construct. 2008-01-08 02:46:30 -08:00
Ralf Gerlich
327d8d1139 Added --nudge option to fgfs-construct 2008-01-05 20:47:15 +01:00
Ralf Gerlich
a8f76d3efc Fixed another special case in the calc_point_inside() algorithm 2008-01-05 20:19:33 +01:00
Ralf Gerlich
56fb5065b1 Do not load shared data of own tile.
When we want to rebuild a tile we do not want it to read the output of the previous build of the same tile.
2008-01-05 19:51:02 +01:00
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