kopia lustrzana https://github.com/openmaptiles/openmaptiles
Add type of sport as subclass of pitch (#532)
rodzic
9d07350ac4
commit
bb00b4e53f
|
@ -58,7 +58,7 @@ RETURNS TEXT AS $$
|
||||||
WHEN subclass IN ('attraction','viewpoint') THEN 'attraction'
|
WHEN subclass IN ('attraction','viewpoint') THEN 'attraction'
|
||||||
WHEN subclass IN ('biergarten','pub') THEN 'beer'
|
WHEN subclass IN ('biergarten','pub') THEN 'beer'
|
||||||
WHEN subclass IN ('music','musical_instrument') THEN 'music'
|
WHEN subclass IN ('music','musical_instrument') THEN 'music'
|
||||||
WHEN subclass IN ('american_football','stadium','soccer','pitch') THEN 'stadium'
|
WHEN subclass IN ('american_football','stadium','soccer') THEN 'stadium'
|
||||||
WHEN subclass IN ('art','artwork','gallery','arts_centre') THEN 'art_gallery'
|
WHEN subclass IN ('art','artwork','gallery','arts_centre') THEN 'art_gallery'
|
||||||
WHEN subclass IN ('bag','clothes') THEN 'clothing_store'
|
WHEN subclass IN ('bag','clothes') THEN 'clothing_store'
|
||||||
WHEN subclass IN ('swimming_area','swimming') THEN 'swimming'
|
WHEN subclass IN ('swimming_area','swimming') THEN 'swimming'
|
||||||
|
|
|
@ -14,6 +14,8 @@ RETURNS TABLE(osm_id bigint, geometry geometry, name text, name_en text, name_de
|
||||||
THEN NULLIF(information, '')
|
THEN NULLIF(information, '')
|
||||||
WHEN subclass = 'place_of_worship'
|
WHEN subclass = 'place_of_worship'
|
||||||
THEN NULLIF(religion, '')
|
THEN NULLIF(religion, '')
|
||||||
|
WHEN subclass = 'pitch'
|
||||||
|
THEN NULLIF(sport, '')
|
||||||
ELSE subclass
|
ELSE subclass
|
||||||
END AS subclass,
|
END AS subclass,
|
||||||
agg_stop,
|
agg_stop,
|
||||||
|
|
|
@ -354,6 +354,9 @@ tables:
|
||||||
- name: layer
|
- name: layer
|
||||||
key: layer
|
key: layer
|
||||||
type: integer
|
type: integer
|
||||||
|
- name: sport
|
||||||
|
key: sport
|
||||||
|
type: string
|
||||||
mapping:
|
mapping:
|
||||||
aerialway: *poi_mapping_aerialway
|
aerialway: *poi_mapping_aerialway
|
||||||
amenity: *poi_mapping_amenity
|
amenity: *poi_mapping_amenity
|
||||||
|
@ -416,6 +419,9 @@ tables:
|
||||||
- name: layer
|
- name: layer
|
||||||
key: layer
|
key: layer
|
||||||
type: integer
|
type: integer
|
||||||
|
- name: sport
|
||||||
|
key: sport
|
||||||
|
type: string
|
||||||
mapping:
|
mapping:
|
||||||
aerialway: *poi_mapping_aerialway
|
aerialway: *poi_mapping_aerialway
|
||||||
amenity: *poi_mapping_amenity
|
amenity: *poi_mapping_amenity
|
||||||
|
|
Ładowanie…
Reference in New Issue