A basemap for Datasette and datasette-leaflet
Project description
datasette-basemap
A basemap for Datasette and datasette-leaflet
Installation
Install this plugin in the same environment as Datasette.
$ datasette install datasette-basemap
Usage
This plugin will make a basemap
database available containing OpenStreetMap tiles in the mbtiles format. It is designed for use with the datasette-tiles tile server plugin.
Demo
You can preview this map at https://datasette-tiles-demo.datasette.io/-/tiles/basemap and browse the database directly at https://datasette-tiles-demo.datasette.io/basemap
License
The data bundled with this package is © OpenStreetMap contributors, licensed under the Open Data Commons Open Database License. See this page for more details.
Development
To set up this plugin locally, first checkout the code. Then create a new virtual environment:
cd datasette-basemap
python3 -mvenv venv
source venv/bin/activate
Or if you are using pipenv
:
pipenv shell
Now install the dependencies and tests:
pip install -e '.[test]'
To run the tests:
pytest
Project details
Release history Release notifications | RSS feed
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
Hashes for datasette_basemap-0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06a78cf1a656d4a28b8761175aec807890c1b82eb5e01fc23e803db7d5d64482 |
|
MD5 | 4fdbb72e09a251dae70eccfc24636cb3 |
|
BLAKE2b-256 | 4b45abfe7e9915d6e3cdec7d26b5873ccf3773a4ba1157d799b5f324922afd65 |