add religion as subclass for place_of_worship

pull/415/head
nlehuby 2017-12-08 11:27:36 +01:00 zatwierdzone przez Jiri Kozel
rodzic 2f151a833d
commit 225a0f6fd9
2 zmienionych plików z 8 dodań i 0 usunięć

Wyświetl plik

@ -12,6 +12,8 @@ RETURNS TABLE(osm_id bigint, geometry geometry, name text, name_en text, name_de
CASE
WHEN subclass = 'information'
THEN NULLIF(information, '')
WHEN subclass = 'place_of_worship'
THEN NULLIF(religion, '')
ELSE subclass
END AS subclass,
agg_stop,

Wyświetl plik

@ -336,6 +336,9 @@ tables:
- name: uic_ref
key: uic_ref
type: string
- name: religion
key: religion
type: string
mapping:
aerialway: *poi_mapping_aerialway
amenity: *poi_mapping_amenity
@ -386,6 +389,9 @@ tables:
- name: uic_ref
key: uic_ref
type: string
- name: religion
key: religion
type: string
mapping:
aerialway: *poi_mapping_aerialway
amenity: *poi_mapping_amenity