mirror of
https://github.com/openmaptiles/openmaptiles.git
synced 2025-12-08 18:02:18 +00:00
Remove no longer needed park class functions
This commit is contained in:
parent
bcc38a0911
commit
8523c91a6b
@ -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;
|
||||
Loading…
x
Reference in New Issue
Block a user