osmviz icon indicating copy to clipboard operation
osmviz copied to clipboard

An OpenStreetMap Visualization Toolkit for Python

OSMViz

PyPI version Supported Python versions PyPI downloads GitHub Actions status codecov Licence Code style: Black

An OpenStreetMap Visualization Toolkit for Python

OSMViz License

OSMViz is released under the MIT license. See LICENSE in this directory.

OpenStreetMap License

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.

About

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).

Requirements

  • Python 3.8+
  • Pillow and/or Pygame

Installation

Either:

pip install osmviz

Or just add the src directory to your PYTHONPATH.

Help

See html/doc.html