Merge pull request #662 from frodrigo/dune

Support natural=dune aside of beach and sand
This commit is contained in:
Eva Jelinkova 2019-10-29 15:00:20 +01:00 committed by GitHub
commit e7aa43d91b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 1 deletions

View File

@ -21,7 +21,7 @@ CREATE OR REPLACE FUNCTION landcover_class(landuse VARCHAR, "natural" VARCHAR, l
OR leisure IN ('park', 'garden') OR leisure IN ('park', 'garden')
THEN 'grass' THEN 'grass'
WHEN "natural"='wetland' OR wetland IN ('bog', 'swamp', 'wet_meadow', 'marsh', 'reedbed', 'saltern', 'tidalflat', 'saltmarsh', 'mangrove') THEN 'wetland' WHEN "natural"='wetland' OR wetland IN ('bog', 'swamp', 'wet_meadow', 'marsh', 'reedbed', 'saltern', 'tidalflat', 'saltmarsh', 'mangrove') THEN 'wetland'
WHEN "natural"IN ('beach', 'sand') THEN 'sand' WHEN "natural"IN ('beach', 'sand', 'dune') THEN 'sand'
ELSE NULL ELSE NULL
END; END;
$$ LANGUAGE SQL IMMUTABLE; $$ LANGUAGE SQL IMMUTABLE;

View File

@ -29,6 +29,7 @@ layer:
- bare_rock - bare_rock
- beach - beach
- bog - bog
- dune
- farm - farm
- farmland - farmland
- forest - forest

View File

@ -92,6 +92,7 @@ tables:
- scree - scree
- beach - beach
- sand - sand
- dune
leisure: leisure:
- park - park
- garden - garden