Skip to content

Parse WKB as geoarrow using geoarrow-js #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
smohiudd opened this issue Jan 20, 2025 · 1 comment
Closed

Parse WKB as geoarrow using geoarrow-js #6

smohiudd opened this issue Jan 20, 2025 · 1 comment

Comments

@smohiudd
Copy link
Member

smohiudd commented Jan 20, 2025

Description

The Duckdb spatial extension is only able to work with WKB geometries so the returned queries need to be converted to geoarrow before they can passed to @geoarrow/deck.gl-layers. The application should support the conversion of WKB (Well-Known Binary) geometries to GeoArrow format using the geoarrow-js library. This will allow for more efficient data handling and compatibility with tools that utilize the GeoArrow format.

geoarrow-js has a PR that supports parsing WKB as geoarrow: geoarrow/geoarrow-js#29.

Acceptance Criteria

  • The application can successfully convert WKB geometries into GeoArrow format using the geoarrow-js library.
  • The conversion handles polygon WKB geometry types
@smohiudd smohiudd changed the title Parse WKB as geoarrow Parse WKB as geoarrow using geoarrow-js Jan 20, 2025
@smohiudd
Copy link
Member Author

I added a PR for tests to the geoarrow WKB parsing work: geoarrow/geoarrow-js#37.

@kylebarron do you think the tests are a requisite to get the WKB parsing feature merged into geoarrow-js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant