Brian Sperlongano 2024-04-04 14:47:18 +02:00 zatwierdzone przez GitHub
commit 786e66fa52
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
3 zmienionych plików z 16 dodań i 1 usunięć

Wyświetl plik

@ -1,4 +1,3 @@
# imposm3 mapping file for https://github.com/osm2vectortiles/imposm3
# Warning: this is not the official imposm3
@ -76,6 +75,15 @@ def_poi_mapping_barrier: &poi_mapping_barrier
- stile
- toll_booth
# cuisine values , see http://taginfo.openstreetmap.org/keys/cuisine#values
def_poi_mapping_cuisine: &poi_mapping_cuisine
- burger
- coffee_shop
- donut;coffee_shop
- ice_cream
- pizza
- pizza;italian
# building values , see http://taginfo.openstreetmap.org/keys/building#values
def_poi_mapping_building: &poi_mapping_building
- dormitory
@ -444,11 +452,15 @@ def_poi_fields: &poi_fields
- name: brand
key: brand
type: string
- name: cuisine
key: cuisine
type: string
def_poi_mapping: &poi_mapping
aerialway: *poi_mapping_aerialway
amenity: *poi_mapping_amenity
barrier: *poi_mapping_barrier
cuisine: *poi_mapping_cuisine
building: *poi_mapping_building
highway: *poi_mapping_highway
historic: *poi_mapping_historic

Wyświetl plik

@ -32,6 +32,8 @@ SELECT osm_id_hash AS osm_id,
THEN NULLIF(information, '')
WHEN subclass = 'place_of_worship'
THEN NULLIF(religion, '')
WHEN subclass IN ('fast_food', 'restaurant')
THEN NULLIF(cuisine, '')
WHEN subclass = 'pitch'
THEN NULLIF(sport, '')
ELSE subclass

Wyświetl plik

@ -113,6 +113,7 @@ layer:
Original value of either the
[`amenity`](http://wiki.openstreetmap.org/wiki/Key:amenity),
[`barrier`](http://wiki.openstreetmap.org/wiki/Key:barrier),
[`cuisine`](http://wiki.openstreetmap.org/wiki/Key:cuisine),
[`historic`](http://wiki.openstreetmap.org/wiki/Key:historic),
[`information`](http://wiki.openstreetmap.org/wiki/Key:information),
[`landuse`](http://wiki.openstreetmap.org/wiki/Key:landuse),