Closed andreynovikov closed 7 years ago
No, I'm wrong. But I still fail to import building relation members. Investigating it further...
Ok, the title is incorrect but the bug exists. Trying to import the mapping:
tables:
building_parts:
type: relation_member
columns:
- name: osm_id
type: id
- name: member
type: member_id
- name: role
type: member_role
- name: type
key: type
type: string
mapping:
type: [building]
produces empty table unless I add:
tags:
load_all: true
load_all: true
is no longer needed.
Documentation says that mapping is done on relation tags, but when I try to use
type: [building]
mapping it produces empty table. But when I change it tobuilding: [__any__]
mapping it produces table that contains all the buildings found in relations. But this is not what I want as it also contains all multipolygons.