A working python conversion script for Michigan DNR data to the Open Trail specification
- Aims to be lean on dependencies.
- Does not require GDAL, shapely, arcpy etc.
- Not web-based.
Order of operations
- Download lookup tables and shapefiles
- Unzip
- Read shapefile (into memory)
- Create trails_segments.geojson
- Create named_trails.csv
- Create stewards.csv
- Create areas.geojson
-
Check if you have Python 2.7+ by running
python --version
from a terminal -
Install Python 2.7+ if not already installed.
-
Run
pip install -r requirements.txt
to install dependent libraries, or you can download and install the individually:
- Clone or download the zipped repository
- Satisfy dependencies (see above)
>python MIDNRToOpenTrails.py
- Does not include areas.geojson