feat(vortex-spatial): add area scalar function - #9203
Open
HarukiMoriarty wants to merge 5 commits into
Open
Conversation
Merging this PR will improve performance by 84.01%
Performance Changes
Tip Curious why this is faster? Comment Comparing Footnotes
|
HarukiMoriarty
force-pushed
the
nemo/geo-area
branch
from
August 5, 2026 19:13
9ba67c9 to
ecd0e75
Compare
HarukiMoriarty
force-pushed
the
nemo/geo-area
branch
from
August 5, 2026 19:17
ecd0e75 to
13646f3
Compare
HarukiMoriarty
force-pushed
the
nemo/geo-area
branch
from
August 5, 2026 19:33
13646f3 to
0ab5a9b
Compare
HarukiMoriarty
force-pushed
the
nemo/geo-area
branch
from
August 5, 2026 20:11
0ab5a9b to
7040417
Compare
HarukiMoriarty
force-pushed
the
nemo/geo-area
branch
from
August 6, 2026 14:41
7040417 to
c6fd58a
Compare
HarukiMoriarty
force-pushed
the
nemo/geo-area
branch
2 times, most recently
from
August 6, 2026 20:13
40f4666 to
90ee99b
Compare
HarukiMoriarty
force-pushed
the
nemo/geo-area
branch
from
August 7, 2026 13:52
90ee99b to
ae32ab5
Compare
HarukiMoriarty
force-pushed
the
nemo/geo-area
branch
from
August 7, 2026 14:44
ae32ab5 to
1d9bf5e
Compare
HarukiMoriarty
force-pushed
the
nemo/geo-area
branch
from
August 7, 2026 18:04
1d9bf5e to
a7e9fe3
Compare
HarukiMoriarty
force-pushed
the
nemo/geo-area
branch
from
August 7, 2026 19:30
a7e9fe3 to
6a77d49
Compare
HarukiMoriarty
force-pushed
the
nemo/geo-area
branch
from
August 7, 2026 19:56
6a77d49 to
d9149fe
Compare
Signed-off-by: Nemo Yu <zyu379@wisc.edu>
Signed-off-by: Nemo Yu <zyu379@wisc.edu>
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/geo-area
branch
from
August 7, 2026 20:21
d9149fe to
2980eb4
Compare
connortsui20
approved these changes
Aug 7, 2026
connortsui20
left a comment
Member
There was a problem hiding this comment.
I really need to get my rowfn stuff in
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.
Summary
GeoAreascalar function backed bygeo::Area::unsigned_arearstestfor clearer per-dtype failures and broader operand-order coverageSemantics
This follows DuckDB
ST_Areasemantics over the native Vortex geometry types: point and line families return zero, polygon holes are subtracted, multipolygon component areas are summed, rectangles use width times height, and higher coordinate dimensions are ignored. WKB remains excluded because it is a storage representation rather than a native decoded geometry.