datasette-maplibre 0.1a0
发布:datasette-maplibre 0.1a0 有一段很长时间以来,这是第一个新的Datasette地理空间插件!这个插件将出色的MapLibre GL库与OpenFreeMap结合在一起,OpenFreeMap是由Zsolt Ero运营的免费矢量地图服务器(你应该在GitHub上赞助Zsolt。)我大部分是通过向Claude Fable 5.2输入一个提示完成的:查看datasette-cluster-map和datasette-leaflet-geojson插件,然后查看~/dev/tools/openfreemap-demo.html - 然后构建一个新的Datasette插件,该插件使用maplibreGL和openfreemap,并结合那两个插件的功能 - 但要有创意,跳出框框思考这个插件可能具有的其他有用功能。“要有创意,跳出框框”带来了一些不错的想法 - 我最喜欢的是它会显示GeoJSON形状的SVG预览,然后在它们滚动到视野中时才加载WebGL预览。我还让Claude构建了一个全面的演示,它可以在最新的Datasette Lite中运行,因此你可以访问此链接,通过Pyodide和WebAssembly在你的浏览器中加载插件和演示数据库。我喜欢这个演示页面,它在同一张地图上展示了GeoJSON形状和纬度/经度点:标签:可视化,生成式AI,datasette-lite,claude-myt
Release: datasette-maplibre 0.1a0 The first new Datasette geospatial plugin in quite a while! This one combines the excellent MapLibre GL library with OpenFreeMap , the free vector map server operated by Zsolt Ero (you should sponsor Zsolt on GitHub .) I built most of this with a single prompt to Claude Fable 5.2: Look at datasette-cluster-map and datasette-leaflet-geojson plugins, then look at ~/dev/tools/openfreemap-demo.html - then build a brand new Datasette plugin that uses maplibreGL and openfreemap and combines the features of those other two plugins - but be creative and think outside the box for other useful features the plugin might have "Be creative and think outside the box" resulted in a few neat ideas - my favorite is that it displays SVG previews of GeoJSON shapes, then loads a WebGL preview only when they scroll into view. I also had Claude build a comprehensive demo which works in the latest Datasette Lite, so you can visit this link to load the plugin and a demo database in your browser via Pyodide and WebAssembly. I like this demo page showing both GeoJSON shapes and lat/lon points on the same map: Tags: visualization , generative-ai , datasette-lite , claude-myt