No description, website, or topics provided.
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
conflate
data
.gitignore
LICENSE
README.md
index-quake-data.js
package.json

README.md

nepal-damage-analysis

Use Turf, TileReduce, and seisomological data from the USGS to calculate approximate impact levels for each building and road in OpenStreetMap.

To run analysis:

git clone https://github.com/morganherlocker/nepal-damage-analysis
cd nepal-damage-analysis
npm install
node conflate/index.js

This will create roads.geojson and buildings.geojson files in ./data. These large geojson files can be sent through tippecanoe for creating vector tile datasets.

cd data
cat buildings.geojson | tippecanoe -o buildings.mbtiles
cat roads.geojson | tippecanoe -o roads.mbtiles

Processing the entire impact area will take several hours on a typical laptop, so a large multicore ec2 is recommended.