Repository navigation
Reject spatial functions over geometries with different CRSs - #11859
Open
HarukiMoriarty wants to merge 3 commits into
Open
HarukiMoriarty wants to merge 3 commits into
HarukiMoriarty wants to merge 3 commits into
Conversation
HarukiMoriarty
force-pushed
the
nemo/spatial-crs-check
branch
from
November 23, 2026 19:26
e99a772 to
6cfd123
Compare
HarukiMoriarty
changed the base branch from
develop
to
nemo/spatial-wkb-literal-crs
November 23, 2026 19:26
Merging this PR will not alter performance2 warnings
Comparing Footnotes
|
HarukiMoriarty
force-pushed
the
nemo/spatial-crs-check
branch
2 times, most recently
from
November 23, 2026 19:56
a2483f9 to
89c8a3b
Compare
connortsui20
approved these changes
Nov 23, 2026
Signed-off-by: Nemo Yu <zyu379@wisc.edu>
Signed-off-by: Nemo Yu <zyu379@wisc.edu>
Signed-off-by: Nemo Yu <zyu379@wisc.edu>
HarukiMoriarty
force-pushed
the
nemo/spatial-crs-check
branch
from
November 24, 2026 06:17
cee4675 to
de71e84
Compare
HarukiMoriarty
enabled stacked auto-merge (squash)
November 24, 2026 06:18
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #11872, which is stacked on #11865. Until #11872 merges, this diff also shows its envelope commit; review only the second commit.
vortex.st.distance,vortex.st.intersectsandvortex.st.containsignored the CRS of their operands, so two geometries in different CRSs (for example EPSG:4326 and EPSG:32633) were computed on together and returned meaningless results without an error. Each geometry kind is its own extension type, so these functions cannot require equal operand dtypes the way most scalar functions do; they now require equal CRSs instead, checked when the expression is typed. A missing CRS matches only another missing CRS. The check isensure_eq_crs, which reads each operand's metadata through theAnyNativeGeometrymatcher from #11872. Transforming between CRSs stays the query engine's job, as proposed in #11807.Behaviour change: these functions now return an error for operands with different CRSs instead of a result, and
vortex.st.make_lineno longer accepts one operand with a CRS and one without.🤖 Generated with Claude Code