From afbe4fccbd895c53119dcbf1a0be9b3836361d4a Mon Sep 17 00:00:00 2001 From: curt <curt> Date: Tue, 18 Sep 2001 21:27:33 +0000 Subject: [PATCH] - added Town area type for future use - moved Town below Urban in priority list - give freeways, roads, and railroads priority over lakes of various sorts --- src/Lib/Polygon/names.cxx | 1 + src/Lib/Polygon/names.hxx | 7 ++++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/Lib/Polygon/names.cxx b/src/Lib/Polygon/names.cxx index f7f72832..1a34d7dc 100644 --- a/src/Lib/Polygon/names.cxx +++ b/src/Lib/Polygon/names.cxx @@ -79,6 +79,7 @@ inline static void init () set_area("Canal", CanalArea); set_area("Glacier", GlacierArea); set_area("Urban", UrbanArea); + set_area("Town", TownArea); set_area("BuiltUpCover", BuiltUpCover); set_area("DryCropPastureCover", DryCropPastureCover); set_area("IrrCropPastureCover", IrrCropPastureCover); diff --git a/src/Lib/Polygon/names.hxx b/src/Lib/Polygon/names.hxx index c856d645..358de402 100644 --- a/src/Lib/Polygon/names.hxx +++ b/src/Lib/Polygon/names.hxx @@ -38,20 +38,21 @@ SG_USING_STD(string); enum AreaType { SomeSortOfArea = 0, HoleArea, // Leave area completely empty + FreewayArea, + RoadArea, + RailroadArea, PondArea, LakeArea, DryLakeArea, IntLakeArea, ReservoirArea, IntReservoirArea, - FreewayArea, - RoadArea, - RailroadArea, StreamArea, CanalArea, GlacierArea, OceanArea, UrbanArea, + TownArea, // USGS Land Covers // These are low-priority, since known polygons should always win.