From 0752e9e737748fea41f8636aa70fa0ed4492d00b Mon Sep 17 00:00:00 2001 From: Robert Marianski Date: Fri, 18 Mar 2016 15:29:35 -0400 Subject: [PATCH 1/2] Promote pois to zoom 13 * aerialway=station * railway=halt|tram_stop --- spreadsheets/kind/pois.csv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spreadsheets/kind/pois.csv b/spreadsheets/kind/pois.csv index 2dfc17ff9..2f791e9b5 100644 --- a/spreadsheets/kind/pois.csv +++ b/spreadsheets/kind/pois.csv @@ -62,8 +62,8 @@ disused,aerialway,aeroway,amenity,barrier,craft,emergency,highway,historic,leisu *,*,*,*,*,*,*,*,*,*,*,*,cave_entrance,*,*,*,*,*,*,*,*,*,*,${15},cave_entrance *,*,*,*,*,*,*,*,*,*,*,*,*,*,generator,*,*,*,*,*,*,*,*,${15},generator *,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,lock,${15},lock -*,station,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,${15},station -*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,halt;tram_stop,*,*,*,*,*,*,*,${15},${railway} +*,station,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,${13},station +*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,halt;tram_stop,*,*,*,*,*,*,*,${13},${railway} *,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,alpine_hut,*,${15},alpine_hut *,*,helipad;gate,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,${16},${aeroway} *,*,*,bus_station;car_sharing;picnic_site;recycling;shelter,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,${16},${amenity} From 00ae20d41564b5a4cee600a37ef7da1d4abb6532 Mon Sep 17 00:00:00 2001 From: Robert Marianski Date: Fri, 18 Mar 2016 15:36:47 -0400 Subject: [PATCH 2/2] Add migration for pois promotion --- data/migrations/v0.9.0-points.sql | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/data/migrations/v0.9.0-points.sql b/data/migrations/v0.9.0-points.sql index d77b713c2..ae61c0a23 100644 --- a/data/migrations/v0.9.0-points.sql +++ b/data/migrations/v0.9.0-points.sql @@ -1,5 +1,6 @@ UPDATE planet_osm_point SET mz_poi_min_zoom = mz_calculate_min_zoom_pois(planet_osm_point.*) WHERE - "disused" <> 'no' OR - "railway" = 'station'; + "disused" <> 'no' + OR "railway" IN ('station', 'halt', 'tram_stop') + OR "aerialway" = 'station';