DuckDB is the standard now for client-side geometry operations. We should improve the story for integrating with and rendering from DuckDB.
Ideally, our DuckDB integration would work without any required changes to the user's queries. The user should be able to perform any normal query against DuckDB and have it render data automatically, ideally.
How should we parse geometry data from DuckDB?
DuckDB exports geometry data as WKB. This means we need a way to parse WKB. See discussion in geoarrow-js (geoarrow/geoarrow-js#29, geoarrow/geoarrow-js#46, geoarrow/geoarrow-js#44, geoarrow/geoarrow-js#45).
Alternatively, @am2222 suggested in #172 (comment) that we have a DuckDB extension using geoarrow-c. While this would be possible, it would require the user to change their DuckDB queries. I also wouldn't be able to build it myself because I don't know C/C++.
Document support for native geometry formats
DuckDB also has native geoarrow-like formats, like POINT_2D, etc. We should document how to render from these formats.
Create examples for rendering from DuckDB
Ideally on observable notebooks
DuckDB is the standard now for client-side geometry operations. We should improve the story for integrating with and rendering from DuckDB.
Ideally, our DuckDB integration would work without any required changes to the user's queries. The user should be able to perform any normal query against DuckDB and have it render data automatically, ideally.
How should we parse geometry data from DuckDB?
DuckDB exports geometry data as WKB. This means we need a way to parse WKB. See discussion in geoarrow-js (geoarrow/geoarrow-js#29, geoarrow/geoarrow-js#46, geoarrow/geoarrow-js#44, geoarrow/geoarrow-js#45).
Alternatively, @am2222 suggested in #172 (comment) that we have a DuckDB extension using geoarrow-c. While this would be possible, it would require the user to change their DuckDB queries. I also wouldn't be able to build it myself because I don't know C/C++.
Document support for native geometry formats
DuckDB also has native geoarrow-like formats, like
POINT_2D, etc. We should document how to render from these formats.Create examples for rendering from DuckDB
Ideally on observable notebooks