Skip to content

Commit

Permalink
fix: lambeth can query environment.data.gov.uk layer for scheduled mo…
Browse files Browse the repository at this point in the history
…numents (#746)
  • Loading branch information
jessicamcinchak authored Dec 8, 2021
1 parent 352058d commit 7d80145
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion api.planx.uk/gis/local_authorities/metadata/lambeth.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,17 @@ const planningConstraints = {
description: data.name,
}),
},
"designated.monument": { value: false },
"designated.monument": {
key: "designated.monument",
source: environmentDomain,
id: "HE/ScheduledMonuments",
fields: ["objectid", "name", "scheddate", "amenddate"],
neg: "is not the site of a Scheduled Monument",
pos: (data) => ({
text: "is the site of a Scheduled Monument",
description: data.name,
}),
},
tpo: {
key: "tpo",
source: lambethDomain,
Expand Down

0 comments on commit 7d80145

Please sign in to comment.