Commit Graph

81 Commits (6dd8107d69265e54e9df3ae23525e15b4375ed5b)

Author SHA1 Message Date
Oliver Tonnhofer e79386a1af writer: remove old-style-multipolygon handling 2017-11-21 14:43:11 +01:00
Oliver Tonnhofer 79754e1f8a use columns instead of fields 2017-05-10 16:37:51 +02:00
Oliver Tonnhofer 7157b5252a add relation_type 2017-05-10 14:23:32 +02:00
Oliver Tonnhofer b82b1db8c1 remove support for old-style multipolyon relation handling
First simplification as a result of #142 and
https://github.com/osmlab/fixing-polygons-in-osm/issues/15
2017-05-09 11:34:54 +02:00
Oliver Tonnhofer 42b147c118 do not close ways with gap; check to match befor loading ways 2017-04-03 15:19:01 +02:00
Oliver Tonnhofer 9c69e264ba add doc for test package 2016-12-06 17:06:43 +01:00
Oliver Tonnhofer 909bd5fdec rename diff package to update 2016-12-06 11:00:52 +01:00
Oliver Tonnhofer 3fd7719104 expire polygon areas and linestrings 2016-11-24 13:38:02 +01:00
Oliver Tonnhofer ea973f769b add padding around expired tiles 2016-11-23 16:06:11 +01:00
Oliver Tonnhofer 3453b13af2 write expire tiles; add first tests 2016-11-23 14:43:38 +01:00
Oliver Tonnhofer eea414dfbb add hstore.include option 2016-11-16 16:27:00 +01:00
Oliver Tonnhofer 9c86495275 add area and webmerc_area field; deprecate pseudoarea 2016-11-11 12:21:05 +01:00
Oliver Tonnhofer b6b3d262d4 improve area=yes/no handling 2016-11-10 11:00:34 +01:00
Oliver Tonnhofer d495ca4bf4 refactor test names 2016-06-15 14:27:27 +02:00
Oliver Tonnhofer 07a8726169 properly cleanup after tests (drop schema, rm cache) 2016-06-15 14:26:50 +02:00
Oliver Tonnhofer 1a18adc6d0 refactor test helper functions 2016-06-15 14:09:05 +02:00
Oliver Tonnhofer 8213d072c1 support for __any__: [__any__] mappings 2016-06-15 13:37:20 +02:00
Oliver Tonnhofer 3c271279b2 do not log NotFound errors when collecting relations for relation members
(other NotFounds are already discarded)
2016-04-27 09:45:28 +02:00
Oliver Tonnhofer ada5423e7e fix running system tests without godep 2016-04-27 09:45:07 +02:00
gaspardle 16e844cf1c Safer float comparison in relation test 2016-02-07 22:40:49 -05:00
Oliver Tonnhofer 8949fe28c4 fix delete of relations with single_id_space 2016-02-04 17:07:35 +01:00
Oliver Tonnhofer bfb50549aa rename relation_member_ fiels types to member_ 2016-01-15 14:53:47 +01:00
Oliver Tonnhofer 766118b324 update relations when member node changed 2016-01-08 16:08:00 +01:00
Oliver Tonnhofer 8eae74a6da diff update relation_members 2016-01-08 09:35:54 +01:00
Oliver Tonnhofer 7a7314bfb5 rename option to from_member 2016-01-08 09:35:54 +01:00
Oliver Tonnhofer c7705bbccf remove unsused test 2016-01-08 09:35:53 +01:00
Oliver Tonnhofer 44230b50f2 convert route mapping to yaml 2016-01-08 09:35:53 +01:00
Oliver Tonnhofer 423390ea71 Add new relation_members table type 2016-01-08 09:35:53 +01:00
Oliver Tonnhofer 7bf29b60f7 remove python tests 2015-12-21 12:54:36 +01:00
Oliver Tonnhofer 6722369ab1 add cache checks to go system tests 2015-12-21 10:41:27 +01:00
Oliver Tonnhofer 3f083fb753 add single table tests 2015-11-23 09:05:19 +01:00
Oliver Tonnhofer 15111cab7a add diff tests 2015-11-22 12:25:35 +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
Luc-Edmond Gaspard b466940a19 use the right character to separate the directories in the pathname for the current os 2015-11-18 11:49:49 -05:00
Oliver Tonnhofer b3b388b11b import multipolygons if at least on ring was build 2015-10-20 13:20:48 +02:00
Oliver Tonnhofer 4195e24dee do not insert relations with unsupported types during diff import 2015-10-07 10:22:30 +02:00
Oliver Tonnhofer 1b347cde96 force sort order of pbf test files 2015-10-07 10:21:57 +02:00
Oliver Tonnhofer d3452eafda improve tests and actually fix #65 and #66
previous fix only worked by accident because way and relation ids were
the same
2015-09-30 14:30:55 +02:00
Oliver Tonnhofer fa99248c7a fix duplicate inserts of ways and relations when handling diffs
closes #65 and #66
2015-09-29 13:58:06 +02:00
Oliver Tonnhofer cc686a63c0 add missing modify tags in test .osc file 2015-09-29 09:03:17 +02:00
Oliver Tonnhofer 9e125aee02 add new enumerate type to replace zorder 2015-08-25 14:59:51 +02: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 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