Skip to content

fix: copy geometry when geometry is of binary format - #3236

Merged
igorDykhta merged 2 commits into
masterfrom
igr/fix-select-binary-geometry
Nov 4, 2025
Merged

fix: copy geometry when geometry is of binary format#3236
igorDykhta merged 2 commits into
masterfrom
igr/fix-select-binary-geometry

Conversation

@igorDykhta

Copy link
Copy Markdown
Collaborator
  • Implement missing part of Copy Geometry: get feature from a binary geojson
Screenshot 2025-11-04 at 2 59 35 AM Screenshot 2025-11-04 at 2 59 42 AM

Signed-off-by: Ihor Dykhta <dikhta.igor@gmail.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds support for parsing WKB (Well-Known Binary) geometry data provided as binary formats (Uint8Array or ArrayBuffer), enabling GeoParquet and similar binary geometry formats to be processed directly in the GeoJSON layer.

  • Adds binary geometry parsing using WKBLoader for Uint8Array and ArrayBuffer inputs
  • Converts binary geometry to GeoJSON features using the existing loaders.gl pipeline
  • Follows the established error handling and normalization patterns in the function

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/layers/src/geojson-layer/geojson-utils.ts Outdated
Signed-off-by: Ihor Dykhta <dikhta.igor@gmail.com>
@igorDykhta
igorDykhta merged commit e2efa50 into master Nov 4, 2025
8 checks passed
@igorDykhta
igorDykhta deleted the igr/fix-select-binary-geometry branch November 4, 2025 23:17
ilyabo pushed a commit that referenced this pull request Nov 25, 2025
* fix: copy geometry when geometry is of binary format

Signed-off-by: Ihor Dykhta <dikhta.igor@gmail.com>

* nit

Signed-off-by: Ihor Dykhta <dikhta.igor@gmail.com>

---------

Signed-off-by: Ihor Dykhta <dikhta.igor@gmail.com>
Signed-off-by: Ilya Boyandin <ilyabo@gmail.com>
ilyabo added a commit that referenced this pull request Nov 25, 2025
* fix: copy geometry when geometry is of binary format (#3236)

* fix: copy geometry when geometry is of binary format

Signed-off-by: Ihor Dykhta <dikhta.igor@gmail.com>

* nit

Signed-off-by: Ihor Dykhta <dikhta.igor@gmail.com>

---------

Signed-off-by: Ihor Dykhta <dikhta.igor@gmail.com>
Signed-off-by: Ilya Boyandin <ilyabo@gmail.com>

* fix: Allow passing arrow tables to ArrowDataContainer

Signed-off-by: Ilya Boyandin <ilyabo@gmail.com>

* only add arrowTable prop to CREATE_TABLE_TASK when set

Signed-off-by: Ilya Boyandin <ilyabo@gmail.com>

---------

Signed-off-by: Ihor Dykhta <dikhta.igor@gmail.com>
Signed-off-by: Ilya Boyandin <ilyabo@gmail.com>
Co-authored-by: Igor Dykhta <igorDykhta@users.noreply.github.com>
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

Successfully merging this pull request may close these issues.

4 participants