An open API service indexing awesome lists of open source software.

https://github.com/rossant/smopy

OpenStreetMap image tiles in Python
https://github.com/rossant/smopy

Last synced: 9 months ago
JSON representation

OpenStreetMap image tiles in Python

Awesome Lists containing this project

README

          

Smopy
=====

Give a box in geographical coordinates (latitude/longitude) and a zoom level,
Smopy returns an OpenStreetMap tile image!

Installation
------------

Smopy currently requires:

* Pillow
* NumPy
* matplotlib
* IPython (optional)

To install Smopy run ``pip install smopy``.

For IPython support run ``pip install smopy[ipython]``.

To install Smopy directly from the repository clone the project and put the folder in your PYTHONPATH.

Terms of use
------------

This module fetches image maps from `OpenStreetMap `_'s servers.
See the `Tile usage policy `_.
In particular, **be careful not to retrieve large maps** as this can overload the servers.