Commit Graph

76 Commits (dab06de51cd906476bbd2d9fec4b6faf563bf142)

Author SHA1 Message Date
Oliver Tonnhofer de4ec76ed8 handle ways without refs/nodes in ring builder
fixes 'index out of range' panics
2014-01-14 12:06:43 +01:00
Oliver Tonnhofer 07c11bf4da tweak limitto grid parameters 2013-12-18 13:29:32 +01:00
Oliver Tonnhofer eb216b4392 refactored filtering of inserted_ways 2013-12-16 16:54:42 +01:00
Oliver Tonnhofer 3affe43808 improve inserted_ways handling
compare destination tables for each way instead of only comparing
if the tags are similar
2013-12-16 09:57:47 +01:00
Oliver Tonnhofer fdb34b7b4c remove duplicate geojson reader code 2013-12-02 14:13:53 +01:00
Oliver Tonnhofer e8f4098e18 automatically transform GeoJSON in WGS84 to webmercator 2013-12-02 14:13:31 +01:00
Oliver Tonnhofer 122bfc4f31 do not auto destroy BoundsPolygon 2013-12-02 11:43:44 +01:00
Oliver Tonnhofer 34cf674fa0 read geojson with z-values 2013-11-26 09:47:00 +01:00
Oliver Tonnhofer 2d1c98022f remove go vet warnings 2013-11-13 15:41:34 +01:00
Oliver Tonnhofer 63cf97eb01 make sure clipped geometries are DestroyedLayer 2013-11-12 12:06:46 +01:00
Oliver Tonnhofer aa632e2bd6 do not add prepared geometries to index 2013-11-11 09:41:41 +01:00
Oliver Tonnhofer 2cebe56d8f prevent SIGSEGV when building buffered limitto geometry 2013-11-04 16:00:19 +01:00
Oliver Tonnhofer 7903a3293b close geojson file handle 2013-11-04 14:31:05 +01:00
Oliver Tonnhofer 5203225bcd improve limiter
- check complete contains first
- intersect with original geometry if it intersects to many parts
2013-10-31 18:21:21 +01:00
Oliver Tonnhofer 26d58fc461 refactored geojson API; add tests 2013-10-21 15:34:00 +02:00
Oliver Tonnhofer cb91bda39f use new GeoJSON reader for limitto tests 2013-10-21 15:31:07 +02:00
Oliver Tonnhofer ac094e8dce replace OGR dependency for limitto with simple GeoJSON parser 2013-10-21 14:59:31 +02:00
Oliver Tonnhofer a48cd0317d remove duplicate nodes
prevents inserts of broken ways with only two identical nodes
2013-09-11 11:35:11 +02:00
Oliver Tonnhofer 8a3585dbba ignore name tag when checking if way of multipolygon was inserted 2013-09-09 12:31:07 +02:00
Oliver Tonnhofer 52fb1dfd6e add package descriptions 2013-09-02 10:26:29 +02:00
Oliver Tonnhofer 7f4c807cce remove unused file 2013-09-02 10:25:03 +02:00
Oliver Tonnhofer 9e454714b8 name package to imposm3 2013-08-29 15:44:31 +02:00
Oliver Tonnhofer d26c58d416 collect the right geometries for IndexQuery result 2013-08-09 16:11:57 +02:00
Oliver Tonnhofer 49a13a6f3b automatically calculate split params for large limitto coverages 2013-08-09 14:34:00 +02:00
Oliver Tonnhofer e7d5abd44a use mutex for IndexQuery 2013-08-09 14:29:33 +02:00
Oliver Tonnhofer df5ad4c6ff bug hunting in indexquery 2013-08-09 14:26:21 +02:00
Oliver Tonnhofer d6e46f78c9 make geos.QueryIndex less hacky 2013-08-09 10:08:30 +02:00
Oliver Tonnhofer 9600eafa9c add mutex for concurrent access to Limiter.IntersectsBuffer 2013-07-30 08:39:07 +02:00
Oliver Tonnhofer 4ec962f002 renamed geom/clipper to geom/limit 2013-07-30 08:17:47 +02:00
Oliver Tonnhofer 0f10433ed5 new buffered clipper 2013-07-30 08:01:15 +02:00
Oliver Tonnhofer 198f2d925f filter by relation tags before finishing the multipolygon 2013-07-15 11:39:43 +02:00
Oliver Tonnhofer c18802a64e add optimize option 2013-07-04 11:26:53 +02:00
Oliver Tonnhofer 1962abec78 fixed tests 2013-06-20 08:11:54 +02:00
Oliver Tonnhofer 6579da5526 set SRID in AddGeometryColumn; write geoms as EWKB 2013-06-19 09:19:21 +02:00
Oliver Tonnhofer d6c9e1ee14 destroy geoms immediately after errors 2013-06-07 15:38:29 +02:00
Oliver Tonnhofer 469b585217 do not show geos notice messages 2013-06-05 12:21:55 +02:00
Oliver Tonnhofer eb72ab9c0f destroy prepared geometry in multipolygon builder 2013-06-05 11:57:38 +02:00
Oliver Tonnhofer 6f191a49e2 validate mulitpolygons 2013-06-05 11:53:01 +02:00
Oliver Tonnhofer 384e3060af use prepared geometries during mulipolygon build 2013-06-04 09:41:59 +02:00
Oliver Tonnhofer 030c2f0fbf use larger buffer for geos error messages 2013-05-28 16:52:37 +02:00
Oliver Tonnhofer b5408e9376 handle empty intersection results 2013-05-28 16:16:24 +02:00
Oliver Tonnhofer 767fe37eb1 fix -limitto from multipolygons 2013-05-28 16:06:52 +02:00
Oliver Tonnhofer 2a699a09c8 refactored geos package 2013-05-28 11:10:19 +02:00
Oliver Tonnhofer 5eed0502ea improve memory handling of geos geometries 2013-05-28 09:33:59 +02:00
Oliver Tonnhofer 4739fcc484 add -limitto option 2013-05-28 08:59:59 +02:00
Oliver Tonnhofer fba92982fb use prepared geometries for contain/intersects in geometry clipper 2013-05-27 16:24:47 +02:00
Oliver Tonnhofer 35933e85ce add first geometry clipper 2013-05-27 15:26:42 +02:00
Oliver Tonnhofer 5b2334a9cb update mapping/filter and multipolygon tests 2013-05-27 08:19:22 +02:00
Oliver Tonnhofer 9ac2ac6064 Merge branch 'master' of ssh://bitbucket.org/Omniscale/imposm3
Conflicts:
	geom/multipolygon_test.go
2013-05-24 15:19:36 +02:00
Marcel Radischat 90b303afee added missing tests from python/imposm 2013-05-24 13:24:02 +02:00