GH-4204: Add GeoSPARQL is3D, isMeasured, and numGeometries functions - #4205
Merged
afs merged 1 commit intoSep 26, 2026
Merged
Conversation
edmondchuc
force-pushed
the
feat/geosparql-geometry-metadata-functions
branch
5 times, most recently
from
September 14, 2026 04:42
18bfdcd to
990c66e
Compare
edmondchuc
force-pushed
the
feat/geosparql-geometry-metadata-functions
branch
from
September 25, 2026 16:56
eefb787 to
657d89c
Compare
edmondchuc
force-pushed
the
feat/geosparql-geometry-metadata-functions
branch
from
September 25, 2026 16:59
657d89c to
f953d92
Compare
afs
approved these changes
Sep 26, 2026
4 tasks
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.
Closes #4204.
Adds three GeoSPARQL 1.1 geometry property functions:
geof:is3Dreports whether the geometry's coordinate layout includes Z.geof:isMeasuredreports whether the coordinate layout includes M.geof:numGeometriescounts direct members of a collection; an atomic geometry counts as one, including when empty.The functions are registered with ARQ and use reusable
GeometryWrappermethods. Coordinate layout is retained for empty geometries and is not inferred by aggregating collection members.By submitting this pull request, I acknowledge that I am making a contribution to the Apache Software Foundation under the terms and conditions of the Contributor's Agreement.
See the Apache Jena "Contributing" guide.