# Notes On Data Source
This release bundled into the docker image a GeoJSON file from the official UK Office for National Statistics (ONS) open data release for Local Authority Districts boundaries (generalised to 20m resolution, clipped to the UK coastline) as of December 2023. The "BGC" in the name refers to this specific boundary type (Boundary Generalised Clipped).

### Direct Download URL
You can obtain the exact same dataset again via this direct link from the data.gov.uk CKAN portal (the backend for ONS geography data):  
**https://ckan.publishing.service.gov.uk/dataset/local-authority-districts-december-2023-boundaries-uk-bgc/resource/887791b0-1a1e-452d-bde1-185f6f924c88/download/Local_Authority_Districts_December_2023_Boundaries_UK_BGC.geojson**

- Right-click the link (or use your download manager) and save it as a .geojson file.
- If the portal prompts for a download page first, use this resource view: https://ckan.publishing.service.gov.uk/dataset/local-authority-districts-december-2023-boundaries-uk-bgc/resource/887791b0-1a1e-452d-bde1-185f6f924c88 and click the "Download" button for GeoJSON.

### Alternative: ArcGIS Query for Raw GeoJSON
If you prefer a programmatic or direct API pull (no portal UI), use this ArcGIS FeatureServer query URL, which exports the full dataset as GeoJSON in one go:  
**https://services1.arcgis.com/ESMARspQHYMw9BZ9/arcgis/rest/services/Local_Authority_Districts_December_2023_Boundaries_UK_BGC/FeatureServer/0/query?where=1%3D1&outFields=*&returnGeometry=true&f=geojson**

- Paste it into your browser; it'll render the raw GeoJSON, which you can save (e.g., via "Save As" in a text editor).
- This matches the BGC generalised boundaries exactly.