Repository navigation
feat(proposals): render separated GeoArrow coordinates - #11284
Conversation
There was a problem hiding this comment.
Your trial has ended. Reactivate Greptile to resume code reviews.
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 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".
| return convertGeoArrowGeometry(table, geometry.geometryType, { | ||
| geometryColumn: geometry.columnName, | ||
| coordinates: 'interleaved', | ||
| fallback: 'error' |
There was a problem hiding this comment.
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 👍 / 👎.
* fix(proposals): forward native GeoArrow line data * feat(proposals): render separated GeoArrow coordinates (#11284) * Upgrade luma.gl to 10.0.0-beta.3
chrisgervang
left a comment
There was a problem hiding this comment.
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' |
There was a problem hiding this comment.
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
convertGeoArrowGeometryonly finds columns that carryARROW:extension:namefield 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
Follow-up to #11279
Change List
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
GeoArrowLayerto 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
convertGeoArrowGeometryand 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.