Commit Graph

74 Commits (3fae4c34caa87c32562c7e8633ebe477baa4ea21)

Author SHA1 Message Date
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
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