diff options
Diffstat (limited to 'gui/scripts/README.md')
| -rw-r--r-- | gui/scripts/README.md | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/gui/scripts/README.md b/gui/scripts/README.md index cd9b723045..7fd98fb217 100644 --- a/gui/scripts/README.md +++ b/gui/scripts/README.md @@ -1,7 +1,9 @@ This is a folder with the supporting scripts written in Python 3, node, bash. -## Dependency installation notes +## Maps and location translations + +### Dependency installation notes 1. Install GDAL/OGR dependencies, which are required by Fiona python package. @@ -20,7 +22,7 @@ This is a folder with the supporting scripts written in Python 3, node, bash. https://www.gnu.org/software/gettext/ -## Geo data installation notes +### Geo data installation notes Go to http://www.naturalearthdata.com/downloads/50m-cultural-vectors/ and download ZIP files with the following shapes: @@ -52,7 +54,7 @@ unzip ne_50m_admin_1_states_provinces_lines.zip -d ne_50m_admin_1_states_provinc unzip ne_10m_populated_places.zip -d ne_10m_populated_places/ ``` -## Geo data extraction notes +### Geo data extraction notes Run the following script to produce a TopoJSON data used by the app: @@ -68,7 +70,7 @@ npm exec ts-node prepare-rtree.ts At this point all of the data should be saved in `gui/scripts/out` folder. -## App integration notes +### App integration notes Once you've extracted all the geo data, run the integration script that will copy all files ignoring intermediate ones into the `gui/assets/geo` folder: @@ -77,7 +79,7 @@ copy all files ignoring intermediate ones into the `gui/assets/geo` folder: python3 integrate-into-app.py ``` -## Locking Python dependencies +### Locking Python dependencies 1. Freeze dependencies: |
