kopia lustrzana https://github.com/openmaptiles/openmaptiles
Merge 79d7ecafdd
into eae7d7e1ed
commit
786e66fa52
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
# imposm3 mapping file for https://github.com/osm2vectortiles/imposm3
|
# imposm3 mapping file for https://github.com/osm2vectortiles/imposm3
|
||||||
# Warning: this is not the official imposm3
|
# Warning: this is not the official imposm3
|
||||||
|
|
||||||
|
@ -76,6 +75,15 @@ def_poi_mapping_barrier: &poi_mapping_barrier
|
||||||
- stile
|
- stile
|
||||||
- toll_booth
|
- 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
|
# building values , see http://taginfo.openstreetmap.org/keys/building#values
|
||||||
def_poi_mapping_building: &poi_mapping_building
|
def_poi_mapping_building: &poi_mapping_building
|
||||||
- dormitory
|
- dormitory
|
||||||
|
@ -444,11 +452,15 @@ def_poi_fields: &poi_fields
|
||||||
- name: brand
|
- name: brand
|
||||||
key: brand
|
key: brand
|
||||||
type: string
|
type: string
|
||||||
|
- name: cuisine
|
||||||
|
key: cuisine
|
||||||
|
type: string
|
||||||
|
|
||||||
def_poi_mapping: &poi_mapping
|
def_poi_mapping: &poi_mapping
|
||||||
aerialway: *poi_mapping_aerialway
|
aerialway: *poi_mapping_aerialway
|
||||||
amenity: *poi_mapping_amenity
|
amenity: *poi_mapping_amenity
|
||||||
barrier: *poi_mapping_barrier
|
barrier: *poi_mapping_barrier
|
||||||
|
cuisine: *poi_mapping_cuisine
|
||||||
building: *poi_mapping_building
|
building: *poi_mapping_building
|
||||||
highway: *poi_mapping_highway
|
highway: *poi_mapping_highway
|
||||||
historic: *poi_mapping_historic
|
historic: *poi_mapping_historic
|
||||||
|
|
|
@ -32,6 +32,8 @@ SELECT osm_id_hash AS osm_id,
|
||||||
THEN NULLIF(information, '')
|
THEN NULLIF(information, '')
|
||||||
WHEN subclass = 'place_of_worship'
|
WHEN subclass = 'place_of_worship'
|
||||||
THEN NULLIF(religion, '')
|
THEN NULLIF(religion, '')
|
||||||
|
WHEN subclass IN ('fast_food', 'restaurant')
|
||||||
|
THEN NULLIF(cuisine, '')
|
||||||
WHEN subclass = 'pitch'
|
WHEN subclass = 'pitch'
|
||||||
THEN NULLIF(sport, '')
|
THEN NULLIF(sport, '')
|
||||||
ELSE subclass
|
ELSE subclass
|
||||||
|
|
|
@ -113,6 +113,7 @@ layer:
|
||||||
Original value of either the
|
Original value of either the
|
||||||
[`amenity`](http://wiki.openstreetmap.org/wiki/Key:amenity),
|
[`amenity`](http://wiki.openstreetmap.org/wiki/Key:amenity),
|
||||||
[`barrier`](http://wiki.openstreetmap.org/wiki/Key:barrier),
|
[`barrier`](http://wiki.openstreetmap.org/wiki/Key:barrier),
|
||||||
|
[`cuisine`](http://wiki.openstreetmap.org/wiki/Key:cuisine),
|
||||||
[`historic`](http://wiki.openstreetmap.org/wiki/Key:historic),
|
[`historic`](http://wiki.openstreetmap.org/wiki/Key:historic),
|
||||||
[`information`](http://wiki.openstreetmap.org/wiki/Key:information),
|
[`information`](http://wiki.openstreetmap.org/wiki/Key:information),
|
||||||
[`landuse`](http://wiki.openstreetmap.org/wiki/Key:landuse),
|
[`landuse`](http://wiki.openstreetmap.org/wiki/Key:landuse),
|
||||||
|
|
Ładowanie…
Reference in New Issue