~/talk

Making use of OpenStreetMap data with Python

Talkat EuroPython 2011 · 2011-06-20..06-26· [data-visualization]
slides:none on file

Practical, concrete steps for using OpenStreetMap with Python including parsing quirks, storage and search choices. Covers node/way/relation geometry, streaming parsing to avoid memory blowups for a 240 GB unzipped planet.osm, reprojection with Shapely + proj4 to build Points and LineStrings, and simple dict-backed import strategies versus Osmosis/Imposm. Search uses trigrams, Soundex/double metaphone and edit distance with Solr/SQLite/PostGIS tradeoffs. Routing notes compare NetworkX prototypes, memory hits, and contraction hierarchies reimport ~2 days vs a 20 GB in‑house index.

AI-written summary · about

  1. 0:00Introduction
  2. 1:06What is OpenStreetMap
  3. 2:53Why use OpenStreetMap
  4. 3:59OSM data formats
  5. 5:24Nodes ways relations
  6. 9:25Importing OSM data
  7. 11:14Projecting OSM data
  8. 13:02Parsing nodes
  9. 13:43Parsing ways
  10. 14:48Parsing relations
  11. 15:52OSM parsing tools
  12. 17:20Map rendering
  13. 19:26Maps with Mapnik
  14. 20:30Styling maps with XML and symbolizers
  15. 23:01Geocoding OSM data
  16. 26:40Fixing geocoding input
  17. 30:23Geocoding algorithms
  18. 34:22Grouping routing OSM
  19. 38:42Routing algorithms
  20. 41:15Advanced routing
  21. 42:16Q&A session part one
  22. 43:01Q&A session part two
  23. 45:19Q&A session part three
  24. 46:24Q&A session part four
  25. 47:54Q&A session part five
  26. 49:20Closing
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.