isaacbrodsky / h3-duckdb

Bindings for H3 to DuckDB
Apache License 2.0
170 stars 8 forks source link

Add cellToBoundary binding #45

Closed isaacbrodsky closed 1 year ago

marklit commented 1 year ago

This would be very useful. Exportings cells as geom fields into GPKG files would allow single SQL statements to produce files that open in QGIS for visualisation with no intermediate steps.

isaacbrodsky commented 1 year ago

@marklit (and anyone else who wants to chime in)

What format would you expect the output of cellToBoundary to be? List of coordinates? WKB? DuckDB's geometry type (not sure if this extension can produce that without making DuckDB Spatial a dependency)?

marklit commented 1 year ago

Maybe just a WKT polygon?

marklit commented 1 year ago

Fantastic, thank you very much!