/nhc-geojson

Creates GeoJSON from the National Hurricane Center Shapefiles

Primary LanguagePython

#NHC Shapefile to GeoJSON Converts the National Hurricane Center shapefiles for current storms to GeoJSON files.

Usage

The program is broken into two parts. The first will look at the NHC GIS RSS feed and create a summary json file with storm metadata and a list of shapefiles:

$ python get_summaries.py

The second part reads the summary json and fetches the shapefiles, turning them into GeoJSON files:

$ python get_shapefiles.py

Requirements

You must have the command-line tool ogr2ogr installed. It's part of the GDAL library.

The Python modules are in requirements.txt. Install them with pip:

$ pip install -r requirements.txt