/geoplotlib

python toolbox for visualizing geographical data

Primary LanguagePythonMIT LicenseMIT

geoplotlib is a python toolbox for visualizing geographical data and making maps

A first example

To produce a scatterplot:

data = read_csv('data/bus.csv')
geoplotlib.scatter(data)
geoplotlib.show()

scatter

Examples gallery

Heatmap (Kernel Density estimation) kde

Shapefiles shapefiles

Voronoi tessellation voronoi

Spatial graph graph

All examples including source code are here

Installation

geoplotlib requires:

  • numpy
  • pyglet
    • note: in order for pyglet to work with ipython on Mac, this workaround is needed. Here you can find a fork of the pyglet dev branch with the workaround applied

optional requirements:

to install, run:

python setup.py install

User Guide

A detailed user guide can be found in the wiki