Skip to content

Add design doc for CRS-aware spatial functions - #11807

Draft
HarukiMoriarty wants to merge 5 commits into
developfrom
nemo/spatial-crs-design
Draft

HarukiMoriarty wants to merge 5 commits into
developfrom
nemo/spatial-crs-design

Conversation

@HarukiMoriarty

@HarukiMoriarty HarukiMoriarty commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

vortex-spatial stores a CRS on every geometry column but no function reads it, so distances on longitude/latitude come back in degrees and functions over mixed CRSs return wrong results silently. This proposal splits the problem into computing within one CRS (three kernels, owned by Vortex) and combining CRSs (transform planning through PROJ, owned by the query engine). Phase 1 keeps storage unchanged, supports the WGS 84 family, and chooses the curved-surface kernel by function name; edges metadata comes in phase 2.

Docs only. The first Vortex step, the CRS check, is #11859.

🤖 Generated with Claude Code

Signed-off-by: Nemo Yu <zyu379@wisc.edu>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/docs A docs change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant