This gist demonstrates the combined use of the Python Spatial Analysis Library PySAL together with Folium.
Author: Serge Rey
- Creating geojson from a shapefile via a web request
- Choropleth classification schemes from PySAL
- Folium for rendering
The data for this example are for homicide rates in 90 counties surrounding Atlanta, GA. The source is the data archive at the GeoDa Center for Geospatial Computation and Analysis.
The gist also includes html files with other classification schemes (can be opened locally). All code to reproduce these files is in the IPython notebook mapping-atlanta.ipynb