Oliver Tonnhofer
3901c5d8c4
make db schema configurable from cmd-line and config.json
2013-12-02 13:10:42 +01:00
Oliver Tonnhofer
9e5e60abc4
handle diff update errors outside of Update
2013-11-13 15:26:22 +01:00
Oliver Tonnhofer
4fe7379dcd
transform nodes before checking against limito in diff import
2013-11-12 17:41:11 +01:00
Oliver Tonnhofer
9d02c24ea0
limit ways and relations as well
...
only cache ways if the first coord is cached, only cache relations
if the first member is cached.
we need to sync the read process so that we have all coords cached
before the first way gets checked for limitto.
2013-11-12 09:21:17 +01:00
Oliver Tonnhofer
ea2065b5ec
do not open OSM/DiffCache for each Update
2013-11-11 10:16:59 +01:00
Oliver Tonnhofer
390edea938
add new Expireor interface
2013-11-08 16:22:41 +01:00
Oliver Tonnhofer
8a50a6cfe4
write replicationURL of last state in new state
2013-11-08 16:01:08 +01:00
Oliver Tonnhofer
178aba56dd
removed unused code
2013-11-07 17:49:14 +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
9376230048
estimate diff sequence number of new imports
2013-11-04 15:02:28 +01:00
Oliver Tonnhofer
a406864fd7
close database handles
2013-11-04 14:32:54 +01:00
Oliver Tonnhofer
b67e7cec34
close diff file handle
2013-11-04 14:31:26 +01:00
Oliver Tonnhofer
3b3fa8f834
prevent multiple deletes of the same way/relation
2013-10-29 17:38:49 +01:00
Oliver Tonnhofer
deda8e2816
log progress during writing of added/modified elements
2013-10-29 17:06:47 +01:00
Oliver Tonnhofer
93edef2681
refactored database API
2013-10-29 16:32:16 +01:00
Oliver Tonnhofer
5e42ef6b98
record updated IDs for updating generalized tables later
2013-10-28 14:55:01 +01:00
Oliver Tonnhofer
f4d0435102
move tagmatching to database for deletes
2013-10-28 12:01:57 +01:00
Oliver Tonnhofer
ce962c785e
remove tagmatcher from Writer
2013-10-28 11:37:58 +01:00
Oliver Tonnhofer
819df78d03
disable diff download tests
2013-10-28 08:42:33 +01: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
1ae42f8345
warn for unknown xml tags on osc file
2013-08-07 13:54:28 +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
87d79a576d
refactored command parsing; update --help
2013-08-01 16:19:20 +02:00
Oliver Tonnhofer
b5d578175f
remove members of deleted relation from InsertedWaysCache
2013-08-01 14:07:06 +02:00
Oliver Tonnhofer
c38105b3d1
fixed check if coords of way are cached
2013-08-01 14:06:35 +02:00
Oliver Tonnhofer
9716a0c5cf
check for geometryLimiter before accessing it
2013-08-01 13:34:32 +02:00
Oliver Tonnhofer
7500984424
use buffered geometry limiter in diff import
2013-07-30 08:30:06 +02:00
Oliver Tonnhofer
4ec962f002
renamed geom/clipper to geom/limit
2013-07-30 08:17:47 +02:00
Oliver Tonnhofer
61b8f9478d
load -limito for diff import
2013-07-29 17:03:15 +02:00
Oliver Tonnhofer
230bec58c4
only cache added relations and ways when we have referenced ways/coords
2013-07-29 16:59:05 +02:00
Oliver Tonnhofer
e3b653de6d
fixed diff parser for relations
2013-07-29 16:55:17 +02:00
Oliver Tonnhofer
07f4009033
refactored progress statistics (display progress in percent)
2013-07-29 15:47:09 +02:00
Oliver Tonnhofer
d5219cbf6b
mv diff/cmd/process to diff/
2013-07-29 08:18:08 +02:00
Oliver Tonnhofer
04714e266c
fixed parsing of diff command options
2013-07-26 15:59:03 +02:00
Oliver Tonnhofer
4c7fefb52b
first unification of import/diff command
2013-07-25 11:28:16 +02:00
Oliver Tonnhofer
9eeac15f48
store replicationUrl in last.state.txt
2013-07-22 16:04:32 +02:00
Oliver Tonnhofer
c6bad82131
moved state.go to diff/state package
2013-07-19 09:35:21 +02:00
Oliver Tonnhofer
4a0abacbc5
save timestamp after initial diff import
2013-07-19 09:29:51 +02:00
Oliver Tonnhofer
8fa52a13e7
first diff download code
2013-07-17 09:10:43 +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
bc7b22da61
write out expired tile coordinates
2013-07-12 14:57:06 +02:00
Oliver Tonnhofer
a3bbc98f44
use srid from config
2013-07-10 09:53:33 +02:00
Oliver Tonnhofer
c85d391929
use config in diff/cmd/process
2013-07-10 09:50:50 +02:00
Oliver Tonnhofer
f75c8994c8
remove deleted elements from cache in diff mode
2013-07-05 15:14:21 +02:00
Oliver Tonnhofer
811a5ad9e8
add TODOs and comments
2013-07-02 08:49:44 +02:00