Commit Graph

778 Commits (89874b5d79c628ab39bfeed6e8587b4aa8bf674a)

Author SHA1 Message Date
Oliver Tonnhofer 89874b5d79 update docs for new filter 2017-07-17 13:43:08 +02:00
Oliver Tonnhofer cdb0da0620 rename an extend tests cases 2017-07-17 12:32:38 +02:00
Oliver Tonnhofer fc2d93c0a2 rename test file 2017-07-17 11:47:33 +02:00
Oliver Tonnhofer aa1c2cd8f7 move mapping into test case 2017-07-17 11:46:41 +02:00
ImreSamu 882198f82b refactoring 2017-06-03 13:47:22 +02:00
ImreSamu 5ed8331937 Merge branch 'master' into filter_reject_require_v1 2017-06-03 02:49:45 +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 5e69180699 add newline 2017-05-19 13:22:53 +02:00
Oliver Tonnhofer 3f00374318 bump version 2017-05-19 13:08:38 +02:00
Oliver Tonnhofer a96e0caf8a update lib/pq 2017-05-18 11:30:12 +02:00
Oliver Tonnhofer 29d1882bda support pg connection parameters as list, instead of URL to suport sockets 2017-05-18 11:26:25 +02:00
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
ImreSamu 688c586157 rewrite to new filter syntax 2017-01-22 18:50:22 +01:00
ImreSamu ddee20fd5a refactoring filter reject,require 2017-01-22 18:48:28 +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
ImreSamu 2b3794f295 Merge branch 'master' into filter_reject_require_v1 2016-12-17 00:16:45 +01:00
Oliver Tonnhofer f4ccff032e fix rebuilding of geos if version changed 2016-12-16 09:14:09 +01:00
ImreSamu 759b041606 filter - reject/require
filter:
        reject:
          key1: [ val1, val2, .. valn ]
          key2: [ val1, val2, .. valn ]
	require:
          key1: [ val1, val2, .. valn ]
          key2: [ val1, val2, .. valn ]
	reject_regexp:
          key1: 'regexp'
          key2: 'regexp'
	require_regexp:
          key1: 'regexp'
          key2: 'regexp'
2016-12-14 00:31:41 +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