Closed psychemedia closed 4 years ago
Does the plugin need enabling somewhere in order to use it?
I'm trying to render a shapefile column in a SpatiaLite table using a query of the form:
SELECT name, AsGeoJSON(wgs84) FROM adminboundaries LIMIT 3
but all I get is the text output?
I tried a local install:
pip install --upgrade datasette pip install --upgrade datasette-leaflet-geojson datasette -p 8003 adminboundaries.db --load-extension=/usr/local/lib/mod_spatialite.dylib
and a Docker install:
docker run datasetteproject/datasette pip install datasette-leaflet-geojson docker commit $(docker ps -lq) psychemedia/geodatasette docker run -d -p 8002:8001 -v `pwd`:/mnt psychemedia/geodatasette \ datasette -p 8001 -h 0.0.0.0 /mnt/adminboundaries.db --load-extension=/usr/local/lib/mod_spatialite.so
and got the same result in each case (OS/X, Chrome)?
I'm closing this as the codebase has changed quite a bit since this was filed.
Does the plugin need enabling somewhere in order to use it?
I'm trying to render a shapefile column in a SpatiaLite table using a query of the form:
but all I get is the text output?
I tried a local install:
and a Docker install:
and got the same result in each case (OS/X, Chrome)?