Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
|Build Status|
Uses OpenStreetMap tiles, or other tile servers, to produce “basemaps” for use with matplotlib. Uses a SQLite database to cache the tiles, so you can experiment with map production without re-downloading the same tiles. Supports Open Data tiles from the UK Ordnance Survey.
Pure python. Uses
requests <http://docs.python-requests.org/en/master/>
__ to make HTTP
requests for tiles, and pillow <https://python-pillow.org/>
__ for
image manipulation.
::
pip install tilemapbase
or build from source:
::
python setup.py install
or directly from GitHub:
::
pip install https://github.com/MatthewDaws/TileMapBase/zipball/master
Example <https://github.com/MatthewDaws/TileMapBase/blob/master/notebooks/Example.ipynb>
__
Ordnance Survey <https://github.com/MatthewDaws/TileMapBase/blob/master/notebooks/Ordnance%20Survey.ipynb>
__
Notebooks <https://github.com/MatthewDaws/TileMapBase/blob/master/notebooks/>
__
OpenStreetMap Data is “© OpenStreetMap contributors”, see http://www.openstreetmap.org/copyright
Please remember that tile set usage is subject to constraints: https://operations.osmfoundation.org/policies/tiles/
OSM requires a user agent for all requests <https://operations.osmfoundation.org/policies/tiles/>
__,
with a warning “Faking another app’s User-Agent WILL get you
blocked.” We hence default to using “TileMapBase” as a user agent.Contains OS data © Crown copyright and database right (2017) <http://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/>
__
.. |Build Status| image:: https://travis-ci.org/MatthewDaws/TileMapBase.svg?branch=master :target: https://travis-ci.org/MatthewDaws/TileMapBase
FAQs
Use OpenStreetMap tiles as basemaps in python / matplotlib
We found that tilemapbase demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.