Add GeoJSON as an output option
Project description
datasette-geojson
Add GeoJSON as an output option for datasette queries.
Installation
Install this plugin in the same environment as Datasette.
datasette install datasette-geojson
Usage
To render GeoJSON, add a .geojson
extension to any query URL.
Development
To set up this plugin locally, first checkout the code. Then create a new virtual environment:
cd datasette-geojson
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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
datasette-geojson-0.1.tar.gz
(2.6 kB
view hashes)
Built Distribution
Close
Hashes for datasette_geojson-0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6592149af34e408f75d27ba7c40737e14e5a6d5ead7bff96c96386670454533 |
|
MD5 | 263239b952e801a02912e41ce74d230b |
|
BLAKE2b-256 | 67c0f78e2848fbf842f9e4a44cc194996bf0b0af34f27fa54d8cd3a5e1a7edb0 |