Menu

datasette-maplibre is a new geospatial plugin for Datasette
📰

datasette-maplibre is a new geospatial plugin for Datasette

Adafruit Industries – Makers, hackers, artists, designers and engineers!·Anne Barela·14 days ago
#wrSUPJRs
#adafruit#datasette#plugin#geojson#willison
Reading 0:00
15s threshold

datasette-maplibre 0.1a0

Simon Willison has released datasette-maplibre 0.1a0 on his blog, the first new geospatial plugin for Datasette in a while. It pairs the MapLibre GL library with OpenFreeMap, the free vector map server run by Zsolt Ero, and combines what the datasette-cluster-map and datasette-leaflet-geojson plugins do: clustered latitude and longitude points plus GeoJSON shapes, drawn on the same map.

Most of it came from a single prompt to Claude, which was pointed at the two older plugins and an OpenFreeMap demo page and asked to be creative. One result Willison calls his favorite: the plugin shows SVG previews of GeoJSON shapes, then loads a WebGL preview only when the shape scrolls into view.

There’s also a demo that runs in the latest Datasette Lite, so the plugin and a sample database load right in a browser through Pyodide and WebAssembly.

See more at simonwillison.net and content on GitHub.