kopia lustrzana https://github.com/openmaptiles/openmaptiles
Add a few missing POIs (#391)
* Add a few missing POIs * hackerspace * escape room * subway and station entrance * frozen food (shop)pull/415/head
rodzic
761d8eb889
commit
5c740f8570
|
@ -32,7 +32,7 @@ $$ LANGUAGE SQL IMMUTABLE;
|
|||
CREATE OR REPLACE FUNCTION poi_class(subclass TEXT, mapping_key TEXT)
|
||||
RETURNS TEXT AS $$
|
||||
SELECT CASE
|
||||
WHEN subclass IN ('accessories','antiques','art','beauty','bed','boutique','camera','carpet','charity','chemist','chocolate','coffee','computer','confectionery','convenience','copyshop','cosmetics','garden_centre','doityourself','erotic','electronics','fabric','florist','furniture','video_games','video','general','gift','hardware','hearing_aids','hifi','ice_cream','interior_decoration','jewelry','kiosk','lamps','mall','massage','motorcycle','mobile_phone','newsagent','optician','outdoor','perfumery','perfume','pet','photo','second_hand','shoes','sports','stationery','tailor','tattoo','ticket','tobacco','toys','travel_agency','watches','weapons','wholesale') THEN 'shop'
|
||||
WHEN subclass IN ('accessories','antiques','art','beauty','bed','boutique','camera','carpet','charity','chemist','chocolate','coffee','computer','confectionery','convenience','copyshop','cosmetics','garden_centre','doityourself','erotic','electronics','fabric','florist','frozen_food','furniture','video_games','video','general','gift','hardware','hearing_aids','hifi','ice_cream','interior_decoration','jewelry','kiosk','lamps','mall','massage','motorcycle','mobile_phone','newsagent','optician','outdoor','perfumery','perfume','pet','photo','second_hand','shoes','sports','stationery','tailor','tattoo','ticket','tobacco','toys','travel_agency','watches','weapons','wholesale') THEN 'shop'
|
||||
WHEN subclass IN ('townhall','public_building','courthouse','community_centre') THEN 'town_hall'
|
||||
WHEN subclass IN ('golf','golf_course','miniature_golf') THEN 'golf'
|
||||
WHEN subclass IN ('fast_food','food_court') THEN 'fast_food'
|
||||
|
@ -40,6 +40,7 @@ RETURNS TEXT AS $$
|
|||
WHEN subclass IN ('bus_stop','bus_station') THEN 'bus'
|
||||
WHEN (subclass='station' AND mapping_key = 'railway') OR subclass IN ('halt', 'tram_stop', 'subway') THEN 'railway'
|
||||
WHEN (subclass='station' AND mapping_key = 'aerialway') THEN 'aerialway'
|
||||
WHEN subclass IN ('subway_entrance','train_station_entrance') THEN 'entrance'
|
||||
WHEN subclass IN ('camp_site','caravan_site') THEN 'campsite'
|
||||
WHEN subclass IN ('laundry','dry_cleaning') THEN 'laundry'
|
||||
WHEN subclass IN ('supermarket','deli','delicatessen','department_store','greengrocer','marketplace') THEN 'grocery'
|
||||
|
|
|
@ -90,9 +90,11 @@ def_poi_mapping_landuse: &poi_mapping_landuse
|
|||
# leisure values , see http://taginfo.openstreetmap.org/keys/leisure#values
|
||||
def_poi_mapping_leisure: &poi_mapping_leisure
|
||||
- dog_park
|
||||
- escape_game
|
||||
- garden
|
||||
- golf_course
|
||||
- ice_rink
|
||||
- hackerspace
|
||||
- marina
|
||||
- miniature_golf
|
||||
- park
|
||||
|
@ -106,8 +108,10 @@ def_poi_mapping_leisure: &poi_mapping_leisure
|
|||
|
||||
# railway values , see http://taginfo.openstreetmap.org/keys/railway#values
|
||||
def_poi_mapping_railway: &poi_mapping_railway
|
||||
- station
|
||||
- halt
|
||||
- station
|
||||
- subway_entrance
|
||||
- train_station_entrance
|
||||
- tram_stop
|
||||
|
||||
# shop values , see http://taginfo.openstreetmap.org/keys/shop#values
|
||||
|
@ -148,6 +152,7 @@ def_poi_mapping_shop: &poi_mapping_shop
|
|||
- erotic
|
||||
- fabric
|
||||
- florist
|
||||
- frozen_food
|
||||
- furniture
|
||||
- garden_centre
|
||||
- general
|
||||
|
|
Ładowanie…
Reference in New Issue