16 Commits

Author SHA1 Message Date
Yuri Astrakhan
1614a4656c Manage field mapping in SQL declaratively
Simplify some of the OSM->OMT field value mappings using declarative syntax.

This approach is not for all cases, but in many it removes
the need of storing the same field in both the .yaml and .sql files.

TODO: support more complex AND/OR cases
2019-12-19 11:25:29 -05:00
Frédéric Rodrigo
dedc1fd91f Remove duplicate POI class match on chocolate and confectionery 2019-08-12 22:30:44 +02:00
Dalibor Janák
0ecfe3bd63
Merge branch 'master' into patch-3 2019-05-20 13:17:43 +02:00
zstadler
d2f78cc346
Remove second occurance of camp_site subclass
The `camp_site` subclass is assigned to the `campsite` class by an earlier statement"
```sql
WHEN subclass IN ('camp_site','caravan_site') THEN 'campsite'
```
2019-05-18 08:26:15 +03:00
Eva J
664bc7da28 adding dormitories 2019-05-17 17:28:20 +02:00
Jiri Kozel
bb00b4e53f
Add type of sport as subclass of pitch (#532) 2018-11-12 14:37:00 +01:00
nlehuby
f93c175e47 Remove duplicates on shop and art POI class 2018-03-29 16:15:27 +02:00
Jiri Kozel
8ac85dced6
Remove park and cemetery duplicates from POI rank
Based on f3e2d7f163 (commitcomment-28180665)
2018-03-26 14:34:37 +02:00
Jiri Kozel
d48b623eda
POI: remove doctors from hospital class
Related comment: https://github.com/openmaptiles/openmaptiles/issues/387#issuecomment-358273945
2018-01-29 18:38:49 +01:00
Noémie
5c740f8570 Add a few missing POIs (#391)
* Add a few missing POIs

* hackerspace
* escape room
* subway and station entrance
* frozen food (shop)
2018-01-12 15:56:06 +01:00
jirik
d300dbca48 Distinguish aerial way stations from other stations (POI) 2017-11-09 11:46:32 +01:00
jirik
b633626335 Add castles and ruins to POI 2017-11-09 11:46:32 +01:00
nlehuby
183f730814 Fix class for amenity = doctors
and add amenity =clinic
2017-10-30 16:13:16 +01:00
Jiri Kozel
9584f69035 Rail stations 2 (#255)
* rail stations

* Create 'railway' POI class with 'station' and 'halt' subclasses

* Introduce subway stops as POI

* Revert unwanted changes in .env and openmaptiles.yaml

* Remove halt key from documentation

* Distinguish aeroway and railway station, add tram_stop
2017-05-23 17:06:23 +02:00
lukasmartinelli
f3e2d7f163 Add gridrank attribute 2016-10-28 18:01:31 +02:00
lukasmartinelli
dbec752ed1 Basic poi layer 2016-10-28 17:46:10 +02:00