- Python 2.7
- Python bindings for GDAL (available on the apt package index) as well as on PyPi)
These OS-level requirements can be bootstrapped off of Azavea's GDAL docker image (code, Quay repo).
The sample_data
directory provides two sample data files for testing purposes:
black_spots.json
: sample black spotsinterventions_sample_pts.json
: sample interventions
Retrieve your auth token by inspecting network traffic, and then load these files using the scripts in this directory:
python load_black_spots.py --authz 'Token YOUR_AUTH_TOKEN' sample_data/black_spots.json
python load_interventions.py --authz 'Token YOUR_AUTH_TOKEN' sample_data/interventions_sample_pts.geojson