OpenStreetMap image tiles in Python
Project description
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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file smopy-0.0.8.tar.gz
.
File metadata
- Download URL: smopy-0.0.8.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f9313b8bf98cd886d07d7094584a48bf0aca409d78b67e9d348e47b335b799f |
|
MD5 | 60a6717690de1247f3126a7494bd62a8 |
|
BLAKE2b-256 | 1400b0aa254254c1072c08adafe6d47dd2795e24d109a002296cb46694d57ed5 |
File details
Details for the file smopy-0.0.8-py3-none-any.whl
.
File metadata
- Download URL: smopy-0.0.8-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 463ca05b18706ea564836b7d2ada616c16b960e3ace879ac407ba2577c3188df |
|
MD5 | 78faab91f4141d3f37f5950b567bb8d6 |
|
BLAKE2b-256 | 7dc1a942fbe9ec727e073c043f6dd451a226c880428a457bce03b9fce8b75cbf |