Commit Graph

89 Commits (master)

Author SHA1 Message Date
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 1e4a6063f2 cache test db connection 2014-09-04 16:24:32 +02:00
Oliver Tonnhofer 3f3c12ece1 add use_single_id_space mapping option
Mangle way and relation IDs so that they don't colide with
node IDs for imports into a single table.
Way IDs are negated, relation IDs are negated and shifted by -1e17.
2014-08-11 10:18:08 +02:00
Oliver Tonnhofer aaa9181134 fix diff updates of nodes with dropped tags 2014-08-08 12:24:28 +02:00
Oliver Tonnhofer 2bd6c1c4cf fix assert message 2014-08-08 11:20:59 +02:00
Oliver Tonnhofer 42c545a4a5 fix creation of tmp test cachedir 2014-08-08 11:11:53 +02:00
Oliver Tonnhofer 8ad4c8f1d2 add test for inserts with multiple mappings 2014-08-04 15:19:20 +02:00
Oliver Tonnhofer a9ccec143c add support for single table imports
- support type=geometry
- allow to load all tags
2014-06-25 16:46:42 +02:00
Oliver Tonnhofer 96b5f1c394 fix updating nodes in DeltaCoordsCache
Updating an existing node in the DeltaCoordsCache resulted in duplicate
nodes instead of a single updated node. GetCoord returned the first node,
depending on the sort order.
2014-04-25 11:18:20 +02:00
Oliver Tonnhofer 251e5c9941 fix for mappings where key and name of field differ 2014-03-28 11:14:02 +01:00
Oliver Tonnhofer d1b2c2796b quote column names when creating generalized tables 2014-03-28 10:36:03 +01:00
Oliver Tonnhofer ff6207d200 add failing test-case for #18
multipolygons that are not closed (topological) can be handled by
using GEOS LineMerge function. It's expected to be slower than the
node ID based merger. Maybe it's feasible to use LineMerge as a
fallback.
2014-02-05 10:04:00 +01:00
Oliver Tonnhofer 48486e7280 do not validate all generalized geometries by default
validation with st_buffer fails for linestrings
add new validated_geometry column type that validates geometries
(st_buffer) on generalization
2014-01-30 10:31:34 +01:00
Oliver Tonnhofer fed6c026cd validate simplified geometries 2014-01-29 10:06:07 +01: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 e449183225 only skip import of polygons if way was inserted as multipolygon 2014-01-13 08:52:15 +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 3901c5d8c4 make db schema configurable from cmd-line and config.json 2013-12-02 13:10:42 +01:00
Oliver Tonnhofer d4dd4731d9 add VERBOSE option to test Makefile 2013-11-13 13:30:41 +01:00
Oliver Tonnhofer 62234d49b1 import with -optimize in test-system 2013-11-13 13:30:19 +01:00
Oliver Tonnhofer 6ad5a535a1 insert rels with negative IDs to be able to distinguish rels from ways during delete 2013-11-07 16:09:08 +01:00
Oliver Tonnhofer 9ac14cc3da support insertedWays in -diff; handle delete of relations 2013-11-05 15:03:32 +01:00
Oliver Tonnhofer 311bd01c81 update tests 2013-10-29 14:07:40 +01:00
Oliver Tonnhofer c5bf11c32b add test for updated generalizations 2013-10-29 10:58:03 +01: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 c49bf4c5b9 add test for inserted way marking 2013-09-09 13:25:28 +02:00
Oliver Tonnhofer 015bd6a1f5 fix make test target 2013-09-02 12:07:15 +02:00
Oliver Tonnhofer 938284266c touch .lasttestrun after test succeeded 2013-09-02 11:41:33 +02:00
Oliver Tonnhofer 16114e4328 automate testing 2013-08-30 17:20:07 +02:00
Oliver Tonnhofer 1813730f62 remove explicit database/user/password from test.py 2013-08-30 16:30:27 +02:00
Oliver Tonnhofer 7c65f49b7c use imposm3 command in test 2013-08-29 16:55:28 +02:00
Oliver Tonnhofer 7390b78aa6 import tests with clipping 2013-08-29 15:31:12 +02:00
Oliver Tonnhofer c4a945750d delete rel-way references; improved tests 2013-08-07 13:09:34 +02:00
Oliver Tonnhofer 639c206b16 remove way references from diff cache 2013-08-05 12:05:15 +02:00
Oliver Tonnhofer d048f33a61 test for changes in diffcache 2013-08-02 13:22:43 +02:00
Oliver Tonnhofer 6857c1f011 add integration tests 2013-08-02 10:58:15 +02:00