Skip to content

Generic GeoArrowLayer that handles any GeoArrow input type, including WKB, geoarrow.geometry #170

@kylebarron

Description

@kylebarron

It would be great handle arbitrary GeoArrow input in deck.gl-layers, including serialized GeoArrow geometry types (geoarrow.wkb and, less important, geoarrow.wkt) and the GeoArrow union type geoarrow.geometry.

If we add support in https://github.com/geoarrow/geoarrow-js for parsing these generic types and converting them to single-geometry-type types where possible, then we can simplify our work here. All the logic for doing so has already been implemented in https://github.com/geoarrow/geoarrow-rs; we "just" need to convert the logic from Rust to TypeScript.

Then we can have a GeoArrowLayer in deck.gl-layers here that acts similarly to the upstream GeoJsonLayer, which defers to underlying layer types based on the input. At least to start, we wouldn't support multiple layer types in a single table, because it's hard to slice and rebuild Arrow tables in JS.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions