Remove no longer needed park class functions

pull/62/head
Lukas Martinelli 2016-11-30 18:26:22 +00:00
rodzic bcc38a0911
commit 8523c91a6b
1 zmienionych plików z 0 dodań i 7 usunięć

Wyświetl plik

@ -1,7 +0,0 @@
CREATE OR REPLACE FUNCTION park_class(landuse TEXT, leisure TEXT, boundary TEXT) RETURNS TEXT AS $$
SELECT CASE
WHEN leisure = 'nature_reserve' OR boundary='national_park' THEN 'national_park'
WHEN landuse IN ('recreation_ground', 'village_green') or leisure = 'park' THEN 'public_park'
ELSE NULL
END;
$$ LANGUAGE SQL IMMUTABLE;