Commit Graph

26 Commits (master)

Author SHA1 Message Date
Oliver Tonnhofer 6054ef6a34 config: remove global option structs 2018-06-07 20:23:06 +02:00
Oliver Tonnhofer 32b80c2cdd mapping: refactor New function; avoid global test mapping 2018-06-05 19:08:42 +02:00
Yohan Boniface 9e131ca116 Pass replicationUrl and replicationInterval as parameters
Instead of reading them from the config, per consistency.
2018-04-07 21:21:56 +02:00
Oliver Tonnhofer 7913d4873f allow to set -diff-state-before option in config (with diff_state_before) 2017-05-22 17:02:18 +02:00
Oliver Tonnhofer 18d14fbb9a exit on errors in mapping before starting -read
closes #131
2017-05-12 14:52:20 +02:00
Oliver Tonnhofer e211940af3 separate mapping config from mapping logic
create new imposm3/mapping/config package that includes
all "dumb" config structs
2017-05-11 11:08:06 +02:00
Oliver Tonnhofer c8d99af5d6 refactor diff state write 2016-12-07 14:20:21 +01:00
Oliver Tonnhofer e3593761b5 refactor parser.pbf API 2016-12-06 14:47:34 +01:00
Oliver Tonnhofer 909bd5fdec rename diff package to update 2016-12-06 11:00:52 +01:00
Oliver Tonnhofer 423390ea71 Add new relation_members table type 2016-01-08 09:35:53 +01: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 44be47583b add -diff-state-before option to set initial diff sequence before 2014-09-15 14:07:27 +02:00
Oliver Tonnhofer 1f5763219a only write last.state.txt in -diff mode 2014-08-19 16:09:12 +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 0807c33eaa do not enable linear import for coords cache when reading with -appendcache 2014-07-08 15:30:06 +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 e4d1156ff8 make location of last.state.txt configuratble 2014-04-01 13:16:27 +02:00
Oliver Tonnhofer 3901c5d8c4 make db schema configurable from cmd-line and config.json 2013-12-02 13:10:42 +01:00
Oliver Tonnhofer e0404e7a1d add -quiet options to imposm3 diff 2013-11-11 10:39:44 +01:00
Oliver Tonnhofer 09665205ca always write last.state.txt after -read 2013-11-04 15:04:07 +01:00
Oliver Tonnhofer af6510b008 enable concurrent writing explicitly 2013-11-04 14:33:32 +01:00
Oliver Tonnhofer a406864fd7 close database handles 2013-11-04 14:32:54 +01:00
Oliver Tonnhofer 076926a417 renamed -limittodiffbuffer to -limittocachebuffer 2013-11-04 08:55:10 +01:00
Oliver Tonnhofer 2d2dad7b7e limit cache to -limitto 2013-11-04 08:51:21 +01:00
Oliver Tonnhofer 0461fd56fe move import main function to import_ package 2013-10-30 10:48:00 +01:00