ONSdigital / SDG_11.2.1

Analysis for the UN Sustainable Development Goal 11.2.1
https://onsdigital.github.io/SDG_11.2.1/
Apache License 2.0
5 stars 7 forks source link

QA SDG_main outputs #352

Open nkshaw23 opened 1 year ago

nkshaw23 commented 1 year ago

Collect outputs from SDG_main for a handful of LA's, and then recreate the method using QGIS to see if matching served / unserved populations are seen.

nkshaw23 commented 1 year ago

First check on Fermangh and Omagh - QGIS gives served population as 72,300 whereas script gives 72,964 so pretty much there.

Reason is because there is one extra stop in QGIS checks, which occurs due to a slight mismatch in the coordinates (green = QGIS, orange=script) which pushes one into the local authority (yellow polygon)

These are only 2.5m apart. Investigating as to why this might be

image

paigeh-fsa commented 1 year ago

Had discussion with @Antonio-John and @jwestw. We have agreed that due to minor misalignment, this should currently be deprioritised. We should state this in the documentation that we are aware of this misalignment issue.

nkshaw23 commented 1 year ago

Second check for hastings - close again. Same reason as above with one stop falling just outside a buffer in QGIS, and in the buffer in the script.

image

image

nkshaw23 commented 1 year ago

Tested for Scotland, and results very similar again.

image

image

nkshaw23 commented 1 year ago

NOTE: Above checks only check total population - undertake similar checks to ensure demographics are correctly calculated aswell.