Skip to content

refactor(proposals): extract GeoArrow geometry column resolution - #11212

Merged
ibgreen merged 1 commit into
masterfrom
codex/geoarrow-resolver
Nov 18, 2026
Merged

ibgreen merged 1 commit into
masterfrom
codex/geoarrow-resolver

Conversation

@ibgreen

@ibgreen ibgreen commented Nov 18, 2026 •

Copy link
Copy Markdown
Collaborator

Background

Geometry column selection can be tested from the Arrow schema alone.

Change List

  • Extract GeoArrow geometry resolution from the rendering layer
  • Preserve explicit selection and extension metadata handling
  • Test empty tables, multiple batches, and unsupported encodings

Verified lint and Node tests. With loaders.gl beta.12, the three website GeoParquet files return binary WKB columns in Arrow mode. Native Polygon, MultiPolygon, and MultiLineString fixtures received GeoArrow tags but decoded into nested structs with empty coordinate lists.


Note

Low Risk
Low risk refactoring that preserves existing layer behavior and public exports while adding dedicated unit test coverage.

Overview
Extracts GeoArrow geometry column resolution from GeoArrowLayer into a standalone resolveGeoArrowGeometry utility, loosening its input requirement to accept any object containing an Arrow Schema.

Adds dedicated unit tests covering schema-only metadata resolution across empty tables, multiple record batches, and invalid or unsupported encoding error paths.

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

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 18, 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-18T21:47:02.672996Z 19d9e67 PR opened
ℹ️ 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.

@greptile-apps

greptile-apps Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] This refactor appears safe to merge.

Summary

Extracts GeoArrow geometry selection into a schema-only helper while keeping existing imports and rendering behavior unchanged.

  • GeoArrow geometry selection can be used without the rendering layer.

No actionable issues found. Tests were not run during this review.

Reviews (1) · Last reviewed commit: "refactor(proposals): extract GeoArrow ge..." · Reviewed by Greptile

@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 82.522%. remained the same — codex/geoarrow-resolver into master

@ibgreen
ibgreen merged commit 170cb8f into master Nov 18, 2026
9 checks passed
@ibgreen
ibgreen deleted the codex/geoarrow-resolver branch November 18, 2026 22:01

@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 19d9e67 after merge; recommend approval. No P1s. The extracted resolver keeps the explicit selection and both extension metadata keys.

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


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