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.
This commit is contained in:
Yuri Astrakhan 2020-01-21 09:43:21 -05:00 committed by GitHub
parent 11f4856d48
commit e6e92036a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View File

@ -52,6 +52,7 @@ tables:
# etldoc: imposm3 -> osm_park_polygon # etldoc: imposm3 -> osm_park_polygon
park_polygon: park_polygon:
type: polygon type: polygon
_resolve_wikidata: false
fields: fields:
- name: osm_id - name: osm_id
type: id type: id

View File

@ -158,6 +158,7 @@ tables:
# etldoc: imposm3 -> osm_highway_linestring # etldoc: imposm3 -> osm_highway_linestring
highway_linestring: highway_linestring:
type: linestring type: linestring
_resolve_wikidata: false
fields: fields:
- name: osm_id - name: osm_id
type: id type: id
@ -231,6 +232,7 @@ tables:
# etldoc: imposm3 -> osm_railway_linestring # etldoc: imposm3 -> osm_railway_linestring
railway_linestring: railway_linestring:
type: linestring type: linestring
_resolve_wikidata: false
fields: fields:
- name: osm_id - name: osm_id
type: id type: id
@ -273,6 +275,7 @@ tables:
# etldoc: imposm3 -> osm_aerialway_linestring # etldoc: imposm3 -> osm_aerialway_linestring
aerialway_linestring: aerialway_linestring:
type: linestring type: linestring
_resolve_wikidata: false
fields: fields:
- name: osm_id - name: osm_id
type: id type: id
@ -305,6 +308,7 @@ tables:
# etldoc: imposm3 -> osm_shipway_linestring # etldoc: imposm3 -> osm_shipway_linestring
shipway_linestring: shipway_linestring:
type: linestring type: linestring
_resolve_wikidata: false
fields: fields:
- name: osm_id - name: osm_id
type: id type: id