From 0314b68450688758307681f90fdaa9de085f7dae Mon Sep 17 00:00:00 2001 From: Jessica McInchak Date: Tue, 12 Dec 2023 13:37:53 +0000 Subject: [PATCH] chore: add granular A4 GIS variables for Birmingham (#2524) --- .../modules/gis/service/digitalLand.ts | 1 + .../local_authorities/metadata/birmingham.ts | 33 +++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 api.planx.uk/modules/gis/service/local_authorities/metadata/birmingham.ts diff --git a/api.planx.uk/modules/gis/service/digitalLand.ts b/api.planx.uk/modules/gis/service/digitalLand.ts index 4aabb896d4..04387799f2 100644 --- a/api.planx.uk/modules/gis/service/digitalLand.ts +++ b/api.planx.uk/modules/gis/service/digitalLand.ts @@ -18,6 +18,7 @@ export interface LocalAuthorityMetadata { } const localAuthorityMetadata: Record = { + birmingham: require("./local_authorities/metadata/birmingham"), buckinghamshire: require("./local_authorities/metadata/buckinghamshire"), camden: require("./local_authorities/metadata/camden"), canterbury: require("./local_authorities/metadata/canterbury"), diff --git a/api.planx.uk/modules/gis/service/local_authorities/metadata/birmingham.ts b/api.planx.uk/modules/gis/service/local_authorities/metadata/birmingham.ts new file mode 100644 index 0000000000..a2a4a82632 --- /dev/null +++ b/api.planx.uk/modules/gis/service/local_authorities/metadata/birmingham.ts @@ -0,0 +1,33 @@ +/* +LAD20CD: E08000025 +LAD20NM: Birmingham +LAD20NMW: +FID: + +https://www.planning.data.gov.uk/entity/?dataset=article-4-direction-area&geometry_curie=statistical-geography%3AE08000025&entry_date_day=&entry_date_month=&entry_date_year= +https://docs.google.com/spreadsheets/d/19t4DKDvyWix1Vf5huuQPVf9L8e6jcq1W/edit#gid=207440632 +*/ + +import { LocalAuthorityMetadata } from "../../digitalLand"; + +const planningConstraints: LocalAuthorityMetadata["planningConstraints"] = { + article4: { + // Planx granular values link to Digital Land entity.reference + records: { + "article4.birmingham.austinVillage": "30", + "article4.birmingham.bournvilleVillage": "8", + "article4.birmingham.cityWideHMO": "36", + "article4.birmingham.edgbaston": "15", + "article4.birmingham.greenfieldRoad": "32", + "article4.birmingham.highStSuttonColdfield": "13", + "article4.birmingham.moorPool": "7", + "article4.birmingham.moseleyVillage": "20", + "article4.birmingham.oldYardley": "5", + "article4.birmingham.sellyPark": "34", + "article4.birmingham.sellyParkAvenues": "33", + "article4.birmingham.stAgnes": "22", + }, + }, +}; + +export { planningConstraints };