Commit Graph

102 Commits (5074dd1352fc75798523cff02a85f0f6a0dd286a)

Author SHA1 Message Date
Oliver Tonnhofer 5816161a40 docs: change pseudoarea to webmerc_area in test/example configurations 2017-11-24 11:36:23 +01:00
Oliver Tonnhofer c161339d89 mapping: check if geom is non null before calculating area 2017-11-21 14:43:20 +01:00
Oliver Tonnhofer 3ac986a498 code: remove unused functions/conversions 2017-11-21 14:43:20 +01:00
Oliver Tonnhofer e79386a1af writer: remove old-style-multipolygon handling 2017-11-21 14:43:11 +01: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 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 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
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 fa4a8f7b73 document load_all:true requirements for relation/relation_members #51 2017-01-04 14:44:04 +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 eea414dfbb add hstore.include option 2016-11-16 16:27:00 +01:00
Oliver Tonnhofer 2eb219be09 add tags.include option 2016-11-16 16:25:48 +01:00
Oliver Tonnhofer af77376321 improve webmerc_area accuracy; update tests 2016-11-11 17:05:36 +01:00
Oliver Tonnhofer 9c86495275 add area and webmerc_area field; deprecate pseudoarea 2016-11-11 12:21:05 +01:00
Oliver Tonnhofer 4d90e55953 allow custom ranking for wayzorder 2016-11-10 13:54:28 +01:00
Oliver Tonnhofer b6b3d262d4 improve area=yes/no handling 2016-11-10 11:00:34 +01:00
Oliver Tonnhofer 6bdc6c84dd use named fields when initializing tagMatcher 2016-11-07 11:29:17 +01:00
Oliver Tonnhofer 8213d072c1 support for __any__: [__any__] mappings 2016-06-15 13:37:20 +02:00
Oliver Tonnhofer bfb50549aa rename relation_member_ fiels types to member_ 2016-01-15 14:53:47 +01:00
Oliver Tonnhofer 7a7314bfb5 rename option to from_member 2016-01-08 09:35:54 +01:00
Oliver Tonnhofer e030ffcf45 remove debug log.print 2016-01-08 09:35:53 +01:00
Oliver Tonnhofer 423390ea71 Add new relation_members table type 2016-01-08 09:35:53 +01:00
Oliver Tonnhofer 3e5c836957 add extraTags to geometry tables 2015-11-21 18:14:26 +01:00
Oliver Tonnhofer 838123acc2 fix Benchmarks 2015-11-20 15:03:08 +01:00
Oliver Tonnhofer 68cc9d5fa8 use first matched mapping for mapping_key/_value 2015-09-25 13:40:06 +02:00
Oliver Tonnhofer 8003ea5fa4 add keys to composite literals 2015-09-25 11:46:57 +02:00
Oliver Tonnhofer b473592bc2 fix string_suffixreplace test for yaml args 2015-09-25 11:21:53 +02:00
Oliver Tonnhofer 406cf4f34a fix string_suffixreplace argument loading (closes #63)
yaml returns map[interface{}]interface{} instead of map[string]interface{}
2015-09-09 12:01:26 +02:00
Oliver Tonnhofer 5ff5311f41 update example mappings: null values and enumerate 2015-08-27 09:59:08 +02:00
Yohan Boniface 690668f5d5 Also parse YAML as mapping file 2015-08-27 09:50:59 +02:00
Oliver Tonnhofer 9e125aee02 add new enumerate type to replace zorder 2015-08-25 14:59:51 +02:00
Oliver Tonnhofer fccaec3977 support shell file name patterns in tags.exclude 2015-07-17 10:07:59 +02:00
Oliver Tonnhofer 7c438fb867 remove Geom from OSMElem
removes GEOS depenency from pbf parser
2015-04-30 09:42:49 +02:00
Oliver Tonnhofer 6394f92a7a do not import outer way of relation into same table as relation
improved inserted-ways detection by marking outer ways as inserted
if they match the same table as the relation.
2015-01-05 15:49:11 +01:00