Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 864 Bytes

README.md

File metadata and controls

22 lines (14 loc) · 864 Bytes

mspray-osm

Instructions and scripts to download and process OSM files for mSpray.

Inputs:

  1. Shapefile with one or more polygon features. Shapefile should include a attribute field for naming output files (i.e ID field).
  2. OSM PBF file. Easily downloaded from HOT Export Tool. Example public export of Eastern Province in Zambia.

Requirements:

Run:

  1. Create an export job on the HOT Export Tool. Select and download the .pbf file format.
  2. Mark AOI and OUTPUT IDs within your shapefile.
  3. Run the script:

./scripts/processOSM.sh /path/to/shapefile /path/to/osm.pbf AOI_ID OUTPUT_ID