I have some GPS location records that I want to draw on a map (e.g. OpenStreetMap) and save this as an image file.
I am using python. I found osm-gps-map as a candidate library for visualization, but the API lacks some functions to satisfy all my needs. I need a library that does:
- draw material on a map (for example, an OSM-based map), that is, a list of GPS positions.
- automatically adjust the view (scale / position) to fit in all elongated positions.
- save this view to image file
I really want you to not be forced to manually take a screenshot from a widget or browser window. And if possible, I also want to avoid implementing the necessary projection functionality (as in here ). Does anyone know a library / toolchain that provides the desired functions (if possible for using Python)?
source share