{"id":15332304,"url":"https://github.com/slachiewicz/nepal-damage-analysis","last_synced_at":"2025-10-10T03:31:29.969Z","repository":{"id":85555557,"uuid":"65585428","full_name":"slachiewicz/nepal-damage-analysis","owner":"slachiewicz","description":null,"archived":false,"fork":true,"pushed_at":"2015-04-29T15:48:33.000Z","size":32084,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-02T09:58:37.938Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"morganherlocker/nepal-damage-analysis","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/slachiewicz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-08-12T21:48:50.000Z","updated_at":"2016-08-12T21:48:51.000Z","dependencies_parsed_at":"2023-03-03T15:15:29.369Z","dependency_job_id":null,"html_url":"https://github.com/slachiewicz/nepal-damage-analysis","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slachiewicz%2Fnepal-damage-analysis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slachiewicz%2Fnepal-damage-analysis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slachiewicz%2Fnepal-damage-analysis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slachiewicz%2Fnepal-damage-analysis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/slachiewicz","download_url":"https://codeload.github.com/slachiewicz/nepal-damage-analysis/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235908200,"owners_count":19064336,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-01T09:58:37.199Z","updated_at":"2025-10-10T03:31:22.499Z","avatar_url":"https://github.com/slachiewicz.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nepal-damage-analysis\n\nUse [Turf](http://turfjs.org/), [TileReduce](https://github.com/mapbox/tile-reduce), and [seisomological data from the USGS](http://earthquake.usgs.gov/earthquakes/shakemap/global/shake/20002926/) to calculate approximate impact levels for each building and road in OpenStreetMap.\n\nTo run analysis:\n\n```sh\ngit clone https://github.com/morganherlocker/nepal-damage-analysis\ncd nepal-damage-analysis\nnpm install\nnode conflate/index.js\n```\n\nThis will create roads.geojson and buildings.geojson files in ./data. These large geojson files can be sent through [tippecanoe](https://github.com/mapbox/tippecanoe) for creating vector tile datasets. \n\n```sh\ncd data\ncat buildings.geojson | tippecanoe -o buildings.mbtiles\ncat roads.geojson | tippecanoe -o roads.mbtiles\n```\n\nProcessing the entire impact area will take several hours on a typical laptop, so a large multicore ec2 is recommended.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslachiewicz%2Fnepal-damage-analysis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fslachiewicz%2Fnepal-damage-analysis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslachiewicz%2Fnepal-damage-analysis/lists"}