[Python] Obtaining and Parsing Map Street Data in Python

Discussão em 'Python' iniciado por Stack, Setembro 30, 2024.

  1. Stack

    Stack Membro Participativo

    How would you obtain a graph describing street interconnections and estimated driving times, and parse it using Python?

    As an exercise, I'm trying to implement a basic A* planner to plot a route for navigating between two points on a map (i.e. TomTom, Garmin, Google Nav, etc). I could mock up some data, but I'd like to use real map data if possible.

    I'm aware of Open Street Map, and while they allow exporting of small slices of their map into OSM XML data, I'm having trouble finding tools to easily parse this a form I can use. I've found imposm, but not much else. Can anyone recommend any other tools?

    Continue reading...

Compartilhe esta Página