From e6e92036a0bb01260380661f2820030030889458 Mon Sep 17 00:00:00 2001 From: Yuri Astrakhan Date: Tue, 21 Jan 2020 09:43:21 -0500 Subject: [PATCH] Use _resolve_wikidata in layer mapping.yaml (#731) Mark all tables that should not be populated with the Wikidata international labels with a special OMT-specific flag. This should be ok to merge even before the new tools version is used because imposm seems to ignore anything it doesn't understand. The next tools version will remove it when generating imposm mapping file. --- layers/park/mapping.yaml | 1 + layers/transportation/mapping.yaml | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/layers/park/mapping.yaml b/layers/park/mapping.yaml index 42372a75..dcfe5fbd 100644 --- a/layers/park/mapping.yaml +++ b/layers/park/mapping.yaml @@ -52,6 +52,7 @@ tables: # etldoc: imposm3 -> osm_park_polygon park_polygon: type: polygon + _resolve_wikidata: false fields: - name: osm_id type: id diff --git a/layers/transportation/mapping.yaml b/layers/transportation/mapping.yaml index 29c0c256..e634c76c 100644 --- a/layers/transportation/mapping.yaml +++ b/layers/transportation/mapping.yaml @@ -158,6 +158,7 @@ tables: # etldoc: imposm3 -> osm_highway_linestring highway_linestring: type: linestring + _resolve_wikidata: false fields: - name: osm_id type: id @@ -231,6 +232,7 @@ tables: # etldoc: imposm3 -> osm_railway_linestring railway_linestring: type: linestring + _resolve_wikidata: false fields: - name: osm_id type: id @@ -273,6 +275,7 @@ tables: # etldoc: imposm3 -> osm_aerialway_linestring aerialway_linestring: type: linestring + _resolve_wikidata: false fields: - name: osm_id type: id @@ -305,6 +308,7 @@ tables: # etldoc: imposm3 -> osm_shipway_linestring shipway_linestring: type: linestring + _resolve_wikidata: false fields: - name: osm_id type: id