Merge pull request #663 from frodrigo/more_grass

Map fell, heath, scrub and tundra like grassland, as 'grass'
This commit is contained in:
Eva Jelinkova 2019-11-05 10:00:35 +01:00 committed by GitHub
commit 3f65811cda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 1 deletions

View File

@ -15,7 +15,7 @@ CREATE OR REPLACE FUNCTION landcover_class(landuse VARCHAR, "natural" VARCHAR, l
WHEN "natural" IN ('glacier', 'ice_shelf') THEN 'ice' WHEN "natural" IN ('glacier', 'ice_shelf') THEN 'ice'
WHEN "natural"='wood' OR landuse IN ('forest') THEN 'wood' WHEN "natural"='wood' OR landuse IN ('forest') THEN 'wood'
WHEN "natural" IN ('bare_rock', 'scree') THEN 'rock' WHEN "natural" IN ('bare_rock', 'scree') THEN 'rock'
WHEN "natural"='grassland' WHEN "natural" IN ('fell', 'grassland', 'heath', 'scrub', 'tundra')
OR landuse IN ('grass', 'meadow', 'allotments', 'grassland', OR landuse IN ('grass', 'meadow', 'allotments', 'grassland',
'park', 'village_green', 'recreation_ground') 'park', 'village_green', 'recreation_ground')
OR leisure IN ('park', 'garden') OR leisure IN ('park', 'garden')

View File

@ -30,13 +30,16 @@ layer:
- beach - beach
- bog - bog
- dune - dune
- scrub
- farm - farm
- farmland - farmland
- fell
- forest - forest
- garden - garden
- glacier - glacier
- grass - grass
- grassland - grassland
- heath
- mangrove - mangrove
- marsh - marsh
- meadow - meadow
@ -51,6 +54,7 @@ layer:
- scree - scree
- swamp - swamp
- tidalflat - tidalflat
- tundra
- village_green - village_green
- vineyard - vineyard
- wet_meadow - wet_meadow

View File

@ -86,7 +86,11 @@ tables:
natural: natural:
- wood - wood
- wetland - wetland
- fell
- grassland - grassland
- heath
- scrub
- tundra
- glacier - glacier
- bare_rock - bare_rock
- scree - scree