Commit Graph

763 Commits (073dfeb8cff043a843a636ae0618f0ae814ac66b)

Author SHA1 Message Date
Oliver Tonnhofer 073dfeb8cf only delete from matched tables 2017-05-16 16:30:00 +02:00
Oliver Tonnhofer 688d62e023 Merge pull request #147 from omniscale/mapping-errors
Exit early on errors in mapping file
2017-05-15 11:23:50 +02:00
Oliver Tonnhofer 119beee4e5 Merge pull request #146 from omniscale/remove-old-style-multipolygon-support
Remove old style multipolygon support
2017-05-15 11:21:24 +02:00
Oliver Tonnhofer 55e37a0aff require type_mapping for geometry tables
Closes #91
2017-05-12 15:04:39 +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 b3c8e350ba extend package documentation 2017-05-11 13:32:42 +02:00
Oliver Tonnhofer d439c21623 rename Table/ColumnSpec to row/valueBuilder 2017-05-11 13:32:28 +02:00
Oliver Tonnhofer 677b306d22 rename mapping/config.go to mapping/mapping.go 2017-05-11 11:09:53 +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 a30442d254 refactor code structure 2017-05-11 09:37:12 +02:00
Oliver Tonnhofer ef89d91ae8 rename files from fields* to columns* 2017-05-10 16:45:16 +02:00
Oliver Tonnhofer 67cb925eed rename *Field types, functions and vars to *Column 2017-05-10 16:38:30 +02:00
Oliver Tonnhofer 79754e1f8a use columns instead of fields 2017-05-10 16:37:51 +02:00
Oliver Tonnhofer adb50e2b3b fix relation_types filter 2017-05-10 15:54:03 +02:00
Oliver Tonnhofer 6b1766cea1 update documentation with relation_type and removed old-style multipolygon support 2017-05-10 14:24:06 +02:00
Oliver Tonnhofer 7157b5252a add relation_type 2017-05-10 14:23:32 +02:00
Oliver Tonnhofer b4cf7b91f3 update tag filtering 2017-05-09 15:55:21 +02:00
Oliver Tonnhofer 698a4fc05c no need to filter relations without support for old-style multipolygons 2017-05-09 11:49:49 +02:00
Oliver Tonnhofer 8a2d37a74e no need to prepare relations before matching 2017-05-09 11:42:25 +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 cbec2f20a3 build with go 1.8 2017-04-03 15:18:42 +02:00
Oliver Tonnhofer fb7d574d9e fix memory leak in Geom.Bounds
GEOS envelope geometry was not destroyed when calculating the boundary.
This leak was triggered with mappings with webmerc_area and imports
with -limitto. (closes #139)
2017-03-03 09:12:15 +01:00
Oliver Tonnhofer dbc9deb913 fix diff reader for missing subdirectories 2017-02-13 10:37:16 +01:00
Oliver Tonnhofer 4ec0b2c57d improve diff reader from directory
watching files does not work reliable on all platforms, watch on directory
and check filename
2017-02-10 11:23:20 +01:00
Oliver Tonnhofer 0a2184b445 fix `go install` instructions in README 2017-02-02 13:45:29 +01:00
Oliver Tonnhofer 4de5d987d7 do not expire clipped ways/relations 2017-02-01 11:59:41 +01:00
Oliver Tonnhofer 10847c43c4 do not expire tiles for nodes within limitto_cache_buffer 2017-02-01 11:19:37 +01:00
Oliver Tonnhofer 353bc5d974 make expiretiles dirs group writeable (before umask) 2017-01-19 15:28:28 +01:00
Oliver Tonnhofer 8f8bebb843 fix IMPOSM_SKIP_COORDS/IMPOSM_SKIP_NODES for benchmarking 2017-01-04 15:33:02 +01:00
Oliver Tonnhofer fa4a8f7b73 document load_all:true requirements for relation/relation_members #51 2017-01-04 14:44:04 +01:00
Oliver Tonnhofer f4ccff032e fix rebuilding of geos if version changed 2016-12-16 09:14:09 +01:00
Oliver Tonnhofer e4ad0beadb add CurrentChangeset/CurrentDiff to read latest sequence id 2016-12-13 11:15:59 +01:00
Oliver Tonnhofer 3b22b6d736 fix parsing of last_run form yaml state 2016-12-13 11:15:59 +01:00
Oliver Tonnhofer 6469b6c2ff remove unused custom time type 2016-12-13 11:15:59 +01:00
Oliver Tonnhofer ceb84124cd add sys/unix package required by fsnotify 2016-12-13 11:15:59 +01:00
Oliver Tonnhofer ccefe6bd40 add fsnotify license 2016-12-13 11:15:58 +01:00
Oliver Tonnhofer 4e1d5577f8 add diff reader from directory 2016-12-13 11:15:58 +01:00
Oliver Tonnhofer 9b181804da refactor diff downloader into replication package; add chagneset downloader 2016-12-13 11:15:58 +01:00
Oliver Tonnhofer c84d5aacb2 update docs link 2016-12-12 13:53:32 +01:00
Oliver Tonnhofer 4cd9a2a09e add github issue template 2016-12-12 13:46:44 +01:00
Oliver Tonnhofer 5f1dd7cabe update yaml lib with new license (now Apache 2) 2016-12-08 11:57:27 +01:00
Oliver Tonnhofer c8d99af5d6 refactor diff state write 2016-12-07 14:20:21 +01:00
Oliver Tonnhofer fcb03920ae fix data race in updatedIds for generalized tables 2016-12-07 13:50:20 +01:00
Oliver Tonnhofer ecf93839f8 fix data race in barrier for first way|relation callbacks 2016-12-07 13:49:58 +01:00
Oliver Tonnhofer 5494e818cc clarify vendorized deps 2016-12-07 11:23:28 +01:00
Oliver Tonnhofer 77c693643a mention imposm3 run in README 2016-12-07 11:17:56 +01:00
Oliver Tonnhofer 9c69e264ba add doc for test package 2016-12-06 17:06:43 +01:00
Oliver Tonnhofer e67cf93aac bump version 2016-12-06 16:17:40 +01:00
Oliver Tonnhofer b83af8d38c add test-coverage 2016-12-06 16:17:30 +01:00