Skip to content

mapbox/nyc-sandy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NYC GIS Sandy Map Mirror

Updating center information

Evacuation centers and shelter are stored in js/centers.js. The js/centers.js file was converted with ogr2ogr from a point shapefile.

  1. Convert shapefile to GeoJSON:

    ogr2ogr -f "GeoJSON" -s_srs EPSG:900913 -t_srs EPSG:4326 centers.json src.shp

  2. Open GeoJSON and copy content into js/centers.js, wrapped into the centers variable:

    var centers = ;