diff --git a/example-mapping.json b/example-mapping.json index cc5d876..30d17cc 100644 --- a/example-mapping.json +++ b/example-mapping.json @@ -1,4 +1,17 @@ { + "areas": { + "area_tags": [ + "buildings", + "landuse", + "leisure", + "natural", + "aeroway" + ], + "linear_tags": [ + "highway", + "barrier" + ] + }, "generalized_tables": { "waterareas_gen1": { "source": "waterareas", @@ -725,9 +738,9 @@ ], "type": "linestring", "filters": { - "exclude_tags": [ - ["area", "yes"] - ] + "reject": { + "area": [ "yes" ] + } }, "mappings": { "railway": { diff --git a/example-mapping.yml b/example-mapping.yml index 22a79ff..e4db3c7 100644 --- a/example-mapping.yml +++ b/example-mapping.yml @@ -420,9 +420,8 @@ tables: - name: class type: mapping_key filters: - exclude_tags: - - - area - - 'yes' + reject: + area: ["yes"] mappings: railway: mapping: diff --git a/mapping/test_mapping.yml b/mapping/test_mapping.yml index 71be265..4816e80 100644 --- a/mapping/test_mapping.yml +++ b/mapping/test_mapping.yml @@ -478,8 +478,8 @@ tables: - name: class type: mapping_key filters: - exclude_tags: - - ["area", "yes"] + reject: + area: ["yes"] mappings: railway: mapping: