Commit Graph

40 Commits (master)

Author SHA1 Message Date
Oliver Tonnhofer a367850f6f writer: do not check for validity of simple polygons
Skips slow GEOS IsValid calls for polygons with only 4 corners.
They can be invalid, but its more unlikely to get simple polygons
wrong and even if, it should affect only small polygons like buildings.
2017-11-21 14:43:20 +01:00
Oliver Tonnhofer e245e01b95 geom: cache geos wkb writer 2017-11-21 14:43:20 +01:00
Oliver Tonnhofer fb7d574d9e fix memory leak in Geom.Bounds
GEOS envelope geometry was not destroyed when calculating the boundary.
This leak was triggered with mappings with webmerc_area and imports
with -limitto. (closes #139)
2017-03-03 09:12:15 +01:00
Oliver Tonnhofer b034c52261 remove -lgeos 2016-01-15 15:01:49 +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 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 122bfc4f31 do not auto destroy BoundsPolygon 2013-12-02 11:43:44 +01:00
Oliver Tonnhofer aa632e2bd6 do not add prepared geometries to index 2013-11-11 09:41:41 +01:00
Oliver Tonnhofer ac094e8dce replace OGR dependency for limitto with simple GeoJSON parser 2013-10-21 14:59:31 +02:00
Oliver Tonnhofer 52fb1dfd6e add package descriptions 2013-09-02 10:26:29 +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 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 0f10433ed5 new buffered clipper 2013-07-30 08:01:15 +02:00
Oliver Tonnhofer 6579da5526 set SRID in AddGeometryColumn; write geoms as EWKB 2013-06-19 09:19:21 +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 030c2f0fbf use larger buffer for geos error messages 2013-05-28 16:52:37 +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 9cb1cc0458 add RTree index 2013-05-24 12:28:22 +02:00
Oliver Tonnhofer 4ee257bf81 refactored Geos/Wkb/Wkt type/func names 2013-05-24 10:08:38 +02:00
Oliver Tonnhofer ba083239f8 first ogr geom reader 2013-05-24 10:03:31 +02:00
Oliver Tonnhofer f320a919ab first work on logging framework 2013-05-23 17:53:58 +02:00
Oliver Tonnhofer 0e3e917c69 normalize polygons 2013-05-22 15:24:58 +02:00
Oliver Tonnhofer 516da08599 first mulitppolygon builder 2013-05-16 12:17:21 +02:00
Oliver Tonnhofer 0e70f383d9 fixed memory leak in geos WKB/WKT calls 2013-05-15 13:49:41 +02:00
Oliver Tonnhofer c875284b8c write wkb/area to postgis 2013-05-15 09:49:38 +02:00
Oliver Tonnhofer 40a67247a4 add BenchmarkWKB 2013-05-12 12:38:09 +02:00
Oliver Tonnhofer b57829d95a add IsValid function 2013-05-12 12:37:55 +02:00
Oliver Tonnhofer 42dbbb654a fixed tests after move of packages 2013-05-07 07:56:09 +02:00
Oliver Tonnhofer b50fd9a04f add geos wrapper 2013-05-06 19:24:49 +02:00