

Querying OpenStreetMaps via API & Lazy Evaluation in Python
4 snips May 10, 2024
Python enthusiast Christopher Trudeau discusses querying OpenStreetMap using Overpass API and lazy evaluation in Python. They cover data structures, query formats, advantages of generator expressions, preventing data leakage in pandas and scikit-learn, Django developer survey results, and tools for retrying in Python.
AI Snips
Chapters
Transcript
Episode notes
Early Coding Experiences
- Christopher Bailey coded from magazine text adventures on an Apple II.
- He later got an Adam computer, also Apple II compatible, and used BASIC.
Asynchronous Signal Handling
- Control-C sends a SIGINT signal, which programs can trap for graceful shutdowns.
- Asynchronous operations complicate signal handling, requiring careful management.
Exploring OpenStreetMap Data
- Explore OpenStreetMap's API by right-clicking elements to see their tags and relations.
- Use Overpass API and its Python wrapper to query and consume OpenStreetMap data.