Skip to content

feat(proposals): render separated GeoArrow coordinates - #11284

Merged
ibgreen merged 1 commit into
codex/geoarrow-native-linesfrom
codex/geoarrow-columnar-dispatch
Nov 22, 2026
Merged

ibgreen merged 1 commit into
codex/geoarrow-native-linesfrom
codex/geoarrow-columnar-dispatch

Conversation

@ibgreen

@ibgreen ibgreen commented Nov 22, 2026 •

Copy link
Copy Markdown
Collaborator

Follow-up to #11279

Change List

  • Adapt separated GeoArrow coordinates through the shared converter
  • Reuse interleaved geometry and retain original rows for picking
  • Render tests for separated polygon coordinates on both backends

Verified the focused WebGL and WebGPU rendering and picking tests.


Note

Low Risk
Localized to experimental proposal layers with no impact on core rendering pipelines.

Overview
Enables GeoArrowLayer to render native GeoArrow geometries stored with separated coordinate layouts (Struct arrays).

When struct-based coordinates are detected, geometry columns are converted to interleaved coordinates via convertGeoArrowGeometry and passed to native sublayers. Picking continues to resolve against the original source table.

Reviewed by Cursor Bugbot for commit 6be762c. Bugbot is set up for automated code reviews on this repo. Configure here.

@ibgreen
ibgreen marked this pull request as ready for review November 22, 2026 15:02

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Your trial has ended. Reactivate Greptile to resume code reviews.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-22T15:03:29.483125Z 6be762c Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@ibgreen
ibgreen merged commit 6f8db9d into codex/geoarrow-native-lines Nov 22, 2026
5 of 6 checks passed
@ibgreen
ibgreen deleted the codex/geoarrow-columnar-dispatch branch November 22, 2026 15:02

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6be762c68d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +249 to +252
return convertGeoArrowGeometry(table, geometry.geometryType, {
geometryColumn: geometry.columnName,
coordinates: 'interleaved',
fallback: 'error'

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Honor the resolved encoding when converting separated coordinates

For separated-coordinate inputs using an explicit getGeometry/geometryType without extension metadata, or the legacy ARROW:extension_name key, resolveGeoArrowGeometry successfully selects the geometry but this conversion throws GeoArrowGeometryConverter could not find geometry column. The table converter independently discovers the source encoding from canonical field metadata instead of using the encoding already resolved by the layer. Pass the resolved encoding through a vector-level conversion or normalize the conversion table's metadata so these supported selection mechanisms also work with separated coordinates.

Useful? React with 👍 / 👎.

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage is 82.638% — codex/geoarrow-columnar-dispatch into codex/geoarrow-native-lines. No base build found for codex/geoarrow-native-lines.

ibgreen added a commit that referenced this pull request Nov 22, 2026
* fix(proposals): forward native GeoArrow line data

* feat(proposals): render separated GeoArrow coordinates (#11284)

* Upgrade luma.gl to 10.0.0-beta.3

@chrisgervang chrisgervang left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Reviewed 6be762c after merge; follow-ups below.

No P1s.

Labels: P1 settle before this is merged, P2 can follow, Non-blocking optional.


Generated by Claude Code

return convertGeoArrowGeometry(table, geometry.geometryType, {
geometryColumn: geometry.columnName,
coordinates: 'interleaved',
fallback: 'error'

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

P2: The Codex finding on this line still holds on master. Separated coordinates selected by an explicit geometryType, or by the legacy ARROW:extension_name key, throw "could not find geometry column".

  • loaders.gl 5.0.0-rc.2 convertGeoArrowGeometry only finds columns that carry ARROW:extension:name field metadata (convert-geoarrow-geometry.ts:324).
  • The same call is in master's prepareNativeGeometry (geoarrow-layer.ts:295).

Could we follow up by passing the resolved encoding to a vector-level conversion?


Generated by Claude Code

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.

3 participants