Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 1.15 KB

README.md

File metadata and controls

37 lines (25 loc) · 1.15 KB

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