Skip to content

h0pbeat/geoplotlib

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

A first example

To produce a dot density map:

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

This will launch the geoplotlib window and plot the points on OpenStreetMap tiles, also allowing zooming and panning. geoplotlib automatically handles the data loading, the map projection, downloading the map tiles and the graphics rendering with OpenGL.

demo

Examples gallery

Dot Density dot

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

About

python toolbox for visualizing geographical data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%