Skip to content

v0.10.1

Choose a tag to compare

@sipemu sipemu released this 06 Jul 13:32
· 635 commits to main since this release

Spatial + DuckDB: plot shapefiles from the shell.

Highlights

  • CLI ↔ DuckDB spatial: --spatial loads DuckDB's spatial extension, so ST_Read(...) (shapefiles, GeoJSON, GeoPackage, FlatGeobuf — GDAL-backed) and ST_AsText(geom) feed --geom sf directly. --projection mercator + an automatic equal-aspect coord_sf included.

    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_sf choropleth; examples/spatial.rs now 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