digital-land / technical-documentation

Technical Documentation for the planning data service.
https://digital-land.github.io/technical-documentation/index.html
0 stars 0 forks source link

Local Plans Platform Update: Search Page Optimisation #155

Open Ben-Hodgkiss opened 1 week ago

Ben-Hodgkiss commented 1 week ago

Overview For the various local plan datasets (I.e. local-plan, local-plan-document, local-plan-timetable, local-plan-event), we cannot use the entity search function to filter by the organisation.

For example, in this query for the various local plan entities, we know there are many related to South Cambridgeshire. However, if we filter by the statistical geography for South Cambridgeshire, we return zero results.

This is because the only local plan entity that contains a geometry is the local-plan-boundary. We need to be able to filter the various local plan entities by organisation by introducing a filter by the Organisation field found in the local-plan, local-plan-timetable and local-plan-document entities.

Further details on this can be found here.

Tech Approach

Acceptance Criteria

feba-rajan commented 3 days ago

local plan boundary has geometry and which is links to local plan by the field local-plan-boundary: E09000007. then LP document and LP timetable has same local plan name E.g local-plan: camden-local-plan-2026. when we get geometry_curie=['statistical-geography:E07000012'] which is lp boudary reference. i'm confused how all related to organisation, because Organisation:Ministry of Housing, Communities & Local Government