From charlesreid1

Revision as of 09:54, 28 July 2016 by Admin (talk | contribs) (Created page with "=Shapefiles= ==Getting Shapefile Data== To download elevation data in shapefile format: Zoom into the area you want Check "US Topo" and click Find Products Next to each i...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Shapefiles

Getting Shapefile Data

To download elevation data in shapefile format:

Zoom into the area you want

Check "US Topo" and click Find Products

Next to each item, there are four links - the third one is "Download"

Download the shapefile data and unzip it

What To Do With Shapefiles

We'll convert these shapefiles to something better for the web: GeoJSON

See http://ben.balter.com/2013/06/26/how-to-convert-shapefiles-to-geojson-for-use-on-github/

Install homebrew, then:

brew install gdal

This will install a utility called ogr2ogr, which we'll use to convert shapefiles to GeoJSON files.