Skip to content

GH-4204: Add GeoSPARQL is3D, isMeasured, and numGeometries functions - #4205

Merged
afs merged 1 commit into
apache:mainfrom
edmondchuc:feat/geosparql-geometry-metadata-functions
Sep 26, 2026
Merged

afs merged 1 commit into
apache:mainfrom
edmondchuc:feat/geosparql-geometry-metadata-functions

Conversation

@edmondchuc

@edmondchuc edmondchuc commented Sep 7, 2026 •

Copy link
Copy Markdown
Contributor

Closes #4204.

Adds three GeoSPARQL 1.1 geometry property functions:

  • geof:is3D reports whether the geometry's coordinate layout includes Z.
  • geof:isMeasured reports whether the coordinate layout includes M.
  • geof:numGeometries counts direct members of a collection; an atomic geometry counts as one, including when empty.

The functions are registered with ARQ and use reusable GeometryWrapper methods. Coordinate layout is retained for empty geometries and is not inferred by aggregating collection members.


  • Tests are included.
  • Documentation change and updates are provided for the Apache Jena website
  • Commits have been squashed to remove intermediate development commit messages.
  • Key commit messages start with the issue number (GH-xxxx)

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.

@edmondchuc
edmondchuc force-pushed the feat/geosparql-geometry-metadata-functions branch 5 times, most recently from 18bfdcd to 990c66e Compare September 14, 2026 04:42
@edmondchuc
edmondchuc force-pushed the feat/geosparql-geometry-metadata-functions branch from eefb787 to 657d89c Compare September 25, 2026 16:56
@edmondchuc edmondchuc changed the title GH-4204: Add four GeoSPARQL 1.1 geometry metadata functions GH-4204: Add three GeoSPARQL 1.1 geometry metadata functions Sep 25, 2026
@edmondchuc
edmondchuc force-pushed the feat/geosparql-geometry-metadata-functions branch from 657d89c to f953d92 Compare September 25, 2026 16:59
@edmondchuc edmondchuc changed the title GH-4204: Add three GeoSPARQL 1.1 geometry metadata functions GH-4204: Add GeoSPARQL is3D, isMeasured, and numGeometries functions Sep 25, 2026
@afs afs added the GeoSPARQL label Sep 26, 2026
@afs
afs merged commit a14883c into apache:main Sep 26, 2026
1 check passed
@edmondchuc
edmondchuc deleted the feat/geosparql-geometry-metadata-functions branch September 27, 2026 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add GeoSPARQL 1.1 geometry metadata functions

2 participants