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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file datasette-basemap-0.2.tar.gz.
File metadata
- Download URL: datasette-basemap-0.2.tar.gz
- Upload date:
- Size: 21.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2a479d96b3caf92c30d4167bf69d9858fd09d219caa8c76d307da4d29172055f
|
|
| MD5 |
76c2774e18aa366c8c6c125ce95a5041
|
|
| BLAKE2b-256 |
9019f03e2051e3ea7302f038fa4ef29eaa3f924313c729bdb306b6c43f7df76d
|
File details
Details for the file datasette_basemap-0.2-py3-none-any.whl.
File metadata
- Download URL: datasette_basemap-0.2-py3-none-any.whl
- Upload date:
- Size: 21.6 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
981594958e8522a4c41916b92f579caf8f7692bff11885b6bddd1f8283f7a486
|
|
| MD5 |
bb506e2684f5afe895b8da732e6c1d71
|
|
| BLAKE2b-256 |
cdc6a904749fbef06914f9f27c00b31dc0dccb256768907a785356c6f55da88b
|