Skip to content

Files

Latest commit

bd30415 · May 20, 2019

History

History

scripts

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Sep 24, 2018
Jun 13, 2018
Sep 17, 2018
Mar 25, 2019
Feb 5, 2018
May 20, 2019
Jun 28, 2016
Mar 9, 2016
Mar 28, 2016
Sep 24, 2018
Mar 9, 2016
Aug 4, 2015
Mar 28, 2016
Mar 28, 2016

README.md

Loading data for development

Requirements

OS-level requirements

These OS-level requirements can be bootstrapped off of Azavea's GDAL docker image (code, Quay repo).

Python requirements

Loading sample data

The sample_data directory provides two sample data files for testing purposes:

  • black_spots.json: sample black spots
  • interventions_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