An OpenStreetMap Visualization Toolkit for Python
OSMViz is released under the MIT license. See LICENSE in this directory.
Tiles taken from the openstreetmap.org server have a usage policy as outlined here:
https://operations.osmfoundation.org/policies/tiles/
These tiles are (c) OpenStreetMap & contributors, CC-BY-SA. OpenStreetMap: https://www.openstreetmap.org CC-BY-SA: https://creativecommons.org/licenses/by-sa/2.0/
You can tell OSMViz to use any slippymap server provided tiles that you wish, which may have its own usage policy.
OSMViz is a small set of Python tools for retrieving and using Mapnik tiles from a Slippy Map server (you may know these as OpenStreetMap images).
- Python 3.8+
- Pillow and/or Pygame
Either:
pip install osmviz
Or just add the src directory to your PYTHONPATH.
See html/doc.html