跳到正文
每分钟自动更新
11月16日周一
  1. Simon Willison

    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

11月14日周六
  1. Simon Willison

    datasette-cluster-map 0.19

    中文摘要

    发布:datasette-cluster-map 0.19 该插件是Datasette中最古老的插件之一,至今仍是我最喜欢的插件之一。它现在兼容Datasette 1.0a42,并依赖新的datasette-leaflet,以确保请求OpenStreetMap图块时带有引用来源(referrer)头。这是一张由加州PG&E拥有的发电厂的地图,同时也展示了Datasette最近重新设计的分面功能:标签:datasette,地理空间,openstreetmap

    英文原文

    Release: datasette-cluster-map 0.19 One of the oldest Datasette plugins, and still one of my favorites. It now works with Datasette 1.0a42, and depends on the new datasette-leaflet to ensure OpenStreetMap tiles are requested with a referrer header. Here's a map of power plants owned by California's PG&E , also demonstrating Datasette's recently redesigned facets : Tags: datasette , geospatial , openstreetmap