Commit Graph

25 Commits (766118b324ae230d9f19dd1ff353a715e5d3e993)

Author SHA1 Message Date
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 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 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 3b73f91a0d make go gettable 2014-08-04 15:19:35 +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 088a4d89f3 refactored tag matching from database to writer
tag matching is independent of the database and can belong to the writer
package. also cleans up the database.Inserter interface.
2014-06-25 16:46:42 +02:00
Oliver Tonnhofer f2d40b047b log more sql errors during import and diff updates 2014-04-28 11:43:25 +02:00
Oliver Tonnhofer 390edea938 add new Expireor interface 2013-11-08 16:22:41 +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 e246f5c14b delete/reinsert members of deleted relations 2013-11-05 11:34:03 +01:00
Oliver Tonnhofer 3b3fa8f834 prevent multiple deletes of the same way/relation 2013-10-29 17:38:49 +01:00
Oliver Tonnhofer f4d0435102 move tagmatching to database for deletes 2013-10-28 12:01:57 +01:00
Oliver Tonnhofer 9e454714b8 name package to imposm3 2013-08-29 15:44:31 +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 b5d578175f remove members of deleted relation from InsertedWaysCache 2013-08-01 14:07:06 +02:00
Oliver Tonnhofer d5219cbf6b mv diff/cmd/process to diff/ 2013-07-29 08:18:08 +02:00
Oliver Tonnhofer c6bad82131 moved state.go to diff/state package 2013-07-19 09:35:21 +02:00
Oliver Tonnhofer c124c65f31 read/store diff state 2013-07-16 14:03:47 +02:00
Oliver Tonnhofer 5f0d7ed3dd expire tiles with removed data 2013-07-12 16:41:52 +02:00
Oliver Tonnhofer a06d2bda7c udpate diff importer 2013-06-21 15:09:57 +02:00
Oliver Tonnhofer cf984157dd first diff import 2013-06-21 11:06:05 +02:00