pycon logo

PyCon 2011 Atlanta

March 9th–17th

Log in or Sign Up

Building your own tile server using OpenStreetMap

log in to bookmark this presentaton

Novice / Tutorial
March 9th 9 a.m. – 12:20 p.m.
This tutorial covers subjects of how the vector data becomes a set of raster tiles you actually see when using web map providers (such as Google Maps, Bing Maps, Mapquest and others), what is map projection and how it changes the look of the map, why WMS is hard and why one should probably not try to implement it. In general, this tutorial will try to explain how the map is created.


  • Explain what OpenStreetMap is and how to use data produced by OSM
  • Explain basics of map rendering -- layers, basic map projections, data organization, data type, etc
  • Import OpenStreetMap data using Python
  • Prepare data for GIS usage
  • Create basic Mapnik style with Python
  • Render map with Mapnik
  • Explain why most web map services organize raster data in tiles
  • Short reference to WMS and why is it not widely used in most popular web map providers (Google, Bing, Mapquest)
  • Render tiled map
  • Create basic web service with simple tile access scheme
  • Create staticmaps service based on tiles service