Skip to content

Conversation

@CarlosCoelhoSL
Copy link
Contributor

@CarlosCoelhoSL CarlosCoelhoSL commented Oct 6, 2023

This PR adds functionality to process and load LPA geometry data into the harmonise phase, so it can be used for a custom boundary check in the normalise process. This geometry data will be download during the make init process, using changes found in this PR.

Checking whether an entity lies within its Local Planning Authority boundary only occurs for the brownfield land dataset

@codecov-commenter
Copy link

codecov-commenter commented Oct 6, 2023

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (c58fa57) 79.54% compared to head (1e1d9f6) 79.74%.
Report is 4 commits behind head on main.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #145      +/-   ##
==========================================
+ Coverage   79.54%   79.74%   +0.20%     
==========================================
  Files          67       67              
  Lines        3588     3619      +31     
==========================================
+ Hits         2854     2886      +32     
+ Misses        734      733       -1     
Files Coverage Δ
digital_land/commands.py 76.02% <100.00%> (+0.16%) ⬆️
digital_land/datatype/point.py 100.00% <100.00%> (ø)
digital_land/organisation.py 92.30% <100.00%> (+0.78%) ⬆️
digital_land/phase/harmonise.py 91.93% <95.65%> (+4.75%) ⬆️

... and 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@CarlosCoelhoSL CarlosCoelhoSL changed the title Import local authority geometry into pipeline for boundary check DRAFT: Import local authority geometry into pipeline for boundary check Oct 12, 2023
@CarlosCoelhoSL CarlosCoelhoSL changed the title DRAFT: Import local authority geometry into pipeline for boundary check Import local authority geometry into pipeline for boundary check Nov 3, 2023
@CarlosCoelhoSL CarlosCoelhoSL changed the title Import local authority geometry into pipeline for boundary check Import local planning authority geometry into pipeline for boundary check Nov 3, 2023
Comment on lines 143 to 144
lpa_geometry_path = "var/cache/local-authority.csv"
local_authority_path = "var/cache/local-authority.csv"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've hardcoded these for now, it should be pretty easy to add these as inputs to the pipeline run command, but I'm not sure where that run command is actually triggered

GeorgeGoodall
GeorgeGoodall previously approved these changes Nov 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants