From 602449cf58f9e9630a6cb17f7dd6e8927b05b88f Mon Sep 17 00:00:00 2001 From: Mike Simpson Date: Thu, 3 Aug 2023 16:42:12 +0100 Subject: [PATCH] Add Original Land Use (Order) to Key Copied code from Current Land Use (Land Use Category) to automatically calculate the Land Use Order for Original Land Use and then visualise it on the map. #1219 --- app/map_styles/polygon.xml | 77 +++++++++++++++++++ app/src/api/config/dataFields.ts | 8 ++ .../domainLogic/processBuildingUpdate.ts | 36 ++++++++- app/src/frontend/building/data-container.tsx | 11 ++- .../building/data-containers/land-use.tsx | 1 + .../building/data-containers/typology.tsx | 34 ++++++++ .../frontend/config/category-maps-config.ts | 23 ++++++ app/src/frontend/config/data-fields-config.ts | 11 +++ app/src/frontend/config/tileserver-config.ts | 1 + app/src/tiles/dataDefinition.ts | 9 +++ migrations/045.typology_changes.down.sql | 2 + migrations/045.typology_changes.up.sql | 9 +++ 12 files changed, 220 insertions(+), 2 deletions(-) create mode 100644 migrations/045.typology_changes.down.sql create mode 100644 migrations/045.typology_changes.up.sql diff --git a/app/map_styles/polygon.xml b/app/map_styles/polygon.xml index 40fb04db..5023f6aa 100644 --- a/app/map_styles/polygon.xml +++ b/app/map_styles/polygon.xml @@ -913,6 +913,83 @@ +