Repository navigation
v0.10.1
Spatial + DuckDB: plot shapefiles from the shell.
Highlights
-
CLI ↔ DuckDB spatial:
--spatialloads DuckDB'sspatialextension, soST_Read(...)(shapefiles, GeoJSON, GeoPackage, FlatGeobuf — GDAL-backed) andST_AsText(geom)feed--geom sfdirectly.--projection mercator+ an automatic equal-aspectcoord_sfincluded.ggplot-rs --spatial \ --sql "SELECT ST_AsText(geom) AS geometry, name, pop_est FROM ST_Read('countries.shp')" \ --geom sf --fill pop_est --projection mercator -o world.png -
Gallery gains a
geom_sfchoropleth;examples/spatial.rsnow shows a choropleth + a Web Mercator grid and documents the DuckDB workflow.
No breaking changes. Builds on v0.10.0's spatial layer (geom_sf / coord_sf / GeoJSON).
🤖 Generated with Claude Code