1
0
Fork 0

Included cliff category as a landmass type.

This commit is contained in:
James.Hester 2019-01-03 09:45:05 +11:00
parent 5586be95f5
commit 1e3343a2f6
2 changed files with 5 additions and 4 deletions

View file

@ -1,6 +1,6 @@
Default # Default area which can be overridden by
Default # The name of the default area, which can be overridden by
# raster landcover data (e.g. USGS)
Ocean # collect slivers as ocean
Ocean # The type of sliver areas: collect slivers as ocean
# Area types in order of descending priority
Hole hole # Leave area completely empty
@ -35,6 +35,7 @@ Glacier other # Solid ice/snow
PackIce other # Water with ice packs
PolarIce other
Ocean ocean
Estuary ocean
Urban other # Densely-populated city or large town
SubUrban other # Densely-populated city or large town
Town other # Small town or village
@ -51,7 +52,6 @@ SaltMarsh other
Sand other # Sand-covered area
Saline other # Saline
Littoral other # Tidal, Sand-covered area
Estuary other
Dirt other
Rock other # Rock
Lava other # Lava-covered area

View file

@ -84,7 +84,8 @@ public:
bool is_landmass_area( unsigned int p ) const {
if (( area_defs[p].GetCategory() == "landmass" ) ||
( area_defs[p].GetCategory() == "other" )) {
( area_defs[p].GetCategory() == "other" ) ||
( area_defs[p].GetCategory() == "cliff" )) {
return true;
} else {
return false;