mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-25 00:33:58 -04:00
Add instructions for converting Shapefiles
This commit is contained in:
17
app/broadcast_areas/source_files/README.md
Normal file
17
app/broadcast_areas/source_files/README.md
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
# Adding or updating source files
|
||||||
|
|
||||||
|
If the files are in GeoJSON format you can drop them straight in.
|
||||||
|
|
||||||
|
If you have a Shapefile, for example from the [ONS Open Geography Portal](https://geoportal.statistics.gov.uk/), you need to convert it:
|
||||||
|
- download the .zip from the portal
|
||||||
|
- extract it, giving you a folder with a few files in
|
||||||
|
- go to https://mapshaper.org
|
||||||
|
- drag all the files in the folder into mapshaper
|
||||||
|
- click ‘import’
|
||||||
|
- you should see a rendering of the shapes
|
||||||
|
- click ‘console’ (top right)
|
||||||
|
- run this command: `mapshaper -proj wgs84`
|
||||||
|
- click ‘export’ (top right)
|
||||||
|
- choose ‘GeoJSON’
|
||||||
|
- click the button
|
||||||
|
- done
|
||||||
Reference in New Issue
Block a user