Skip to content
/ osmviz Public

An OpenStreetMap Visualization Toolkit for Python

License

Notifications You must be signed in to change notification settings

hugovk/osmviz

Repository files navigation

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