Skip to content

Use OpenStreetMap tiles as basemaps in python / matplotlib

License

Notifications You must be signed in to change notification settings

MatthewDaws/TileMapBase

Repository files navigation

Build Status

TileMapBase

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.

Requirements

Pure python. Uses requests to make HTTP requests for tiles, and pillow for image manipulation.

Install

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

OpenStreetMap data

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/

Ordnance Survery data

Contains OS data © Crown copyright and database right (2017)

About

Use OpenStreetMap tiles as basemaps in python / matplotlib

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •