Commit Graph

94 Commits (3fae4c34caa87c32562c7e8633ebe477baa4ea21)

Author SHA1 Message Date
Oliver Tonnhofer b034c52261 remove -lgeos 2016-01-15 15:01:49 +01:00
Oliver Tonnhofer c419d9b2c2 fix test for extended elemen.Member 2016-01-08 09:35:53 +01:00
Oliver Tonnhofer 23ff4867e8 add first go system test 2015-11-22 11:09:15 +01:00
Oliver Tonnhofer 7f1a5cb999 validate polygons from ways 2015-11-21 18:10:20 +01:00
Oliver Tonnhofer 838123acc2 fix Benchmarks 2015-11-20 15:03:08 +01:00
Oliver Tonnhofer b3b388b11b import multipolygons if at least on ring was build 2015-10-20 13:20:48 +02:00
Oliver Tonnhofer 29a4d4e10f add missing test files 2015-08-07 14:17:55 +02:00
Oliver Tonnhofer 171e1c24fa refactor geom api: make ring private 2015-04-30 10:05:22 +02:00
Oliver Tonnhofer 7c438fb867 remove Geom from OSMElem
removes GEOS depenency from pbf parser
2015-04-30 09:42:49 +02:00
Oliver Tonnhofer 2aa45895e1 log non-4326 point when loading geojson 2015-03-10 15:57:17 +01:00
Oliver Tonnhofer 112d889639 support -limitto with -srid 4326
- refactored geojson/limit package
- geojson files are now required to be in EPSG:4326
2015-03-02 09:22:08 +01:00
Oliver Tonnhofer 6394f92a7a do not import outer way of relation into same table as relation
improved inserted-ways detection by marking outer ways as inserted
if they match the same table as the relation.
2015-01-05 15:49:11 +01:00
Oliver Tonnhofer 0a311d62d7 close open ways when end-nodes are close to each other but not identical 2014-10-22 13:36:06 +02:00
Oliver Tonnhofer e440ca7489 close open rings when end-nodes are close to each other but not identical 2014-10-21 17:21:48 +02:00
Oliver Tonnhofer 5c376496c4 update comments in mergeRings 2014-10-21 16:12:21 +02:00
Oliver Tonnhofer 3b73f91a0d make go gettable 2014-08-04 15:19:35 +02:00
Oliver Tonnhofer f30e4f35f8 add -lgeos to LDFLAGS 2014-06-23 13:27:24 +02:00
Oliver Tonnhofer 593811a231 read properties of geojson features 2014-05-21 09:15:32 +02:00
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