Skip to content

python toolbox for visualizing geographical data and making maps

License

Notifications You must be signed in to change notification settings

fjkfwz/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 Map dot

Heatmap (Kernel Density estimation) kde

Shapefiles shapefiles

Choropleth and GeoJSON choropleth

Voronoi tessellation voronoi

Spatial graph graph

All examples source code is here

Installation

geoplotlib requires:

  • numpy
  • pyglet 1.2.4
    • note: in order for pyglet to work with ipython on Mac, version 1.2.4 or newer is needed

optional requirements:

to install from source run:

python setup.py install

or with pip:

pip install geoplotlib

User Guide

A detailed user guide can be found in the wiki

About

python toolbox for visualizing geographical data and making maps

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%