From 1e3343a2f6f869ae295dc579aac84f75f026914d Mon Sep 17 00:00:00 2001 From: "James.Hester" Date: Thu, 3 Jan 2019 09:45:05 +1100 Subject: [PATCH] Included cliff category as a landmass type. --- src/BuildTiles/Main/default_priorities.txt | 6 +++--- src/BuildTiles/Main/priorities.hxx | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/BuildTiles/Main/default_priorities.txt b/src/BuildTiles/Main/default_priorities.txt index 779098c6..adca655f 100644 --- a/src/BuildTiles/Main/default_priorities.txt +++ b/src/BuildTiles/Main/default_priorities.txt @@ -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 diff --git a/src/BuildTiles/Main/priorities.hxx b/src/BuildTiles/Main/priorities.hxx index f1247efa..fb6d10dd 100644 --- a/src/BuildTiles/Main/priorities.hxx +++ b/src/BuildTiles/Main/priorities.hxx @@ -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;