Remove osm_id in vector tiles coz of huge size savings

This commit is contained in:
lukasmartinelli
2016-10-25 19:15:51 +02:00
parent b6430eace2
commit 9c50026f16
12 changed files with 13 additions and 11 deletions

View File

@@ -1,3 +1,4 @@
CREATE OR REPLACE FUNCTION landuse_class(landuse TEXT, amenity TEXT, leisure TEXT, boundary TEXT) RETURNS TEXT AS $$
SELECT CASE
WHEN leisure = 'nature_reserve' OR boundary='national_park' THEN 'park'