You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pr@jena.apache.org by "edmondchuc (via GitHub)" <gi...@apache.org> on 2026/09/14 04:36:54 UTC
[PR] GH-4221: Add six GeoSPARQL 1.1 coordinate extrema functions [jena]
edmondchuc opened a new pull request, #4222:
URL: https://github.com/apache/jena/pull/4222
GitHub issue resolved #4221
Adds the following GeoSPARQL 1.1 coordinate extrema functions:
- `geof:minX`
- `geof:maxX`
- `geof:minY`
- `geof:maxY`
- `geof:minZ`
- `geof:maxZ`
They return xsd:double and are also available through GeometryWrapper.
X and Y follow the input SRS axis order. For example,
EPSG:4326 `LINESTRING(10 100, 20 120)`
gives maxX = 20 and maxY = 120.
This follows the function vocabulary’s first/second-dimension wording. I’ve opened [GeoSPARQL #700](https://github.com/opengeospatial/ogc-geosparql/issues/700) to clarify that wording across the related functions.
For Z, we use Jena’s existing dimension metadata: the wrapper must report XYZ or XYZM, and only finite Z values are considered. A collection without that metadata raises an expression error, even if a member has Z coordinates. We’re keeping that behavior until GeoSPARQL gives explicit guidance for mixed-dimension collections.
Empty geometries and inputs with no eligible ordinate also raise expression errors.
----
- [ ] Tests are included.
- [ ] Documentation change and updates are provided for the [Apache Jena website](https://github.com/apache/jena-site/)
- [ ] 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](https://www.apache.org/licenses/contributor-agreements.html).
----
See the [Apache Jena "Contributing" guide](https://github.com/apache/jena/blob/main/CONTRIBUTING.md).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: pr-unsubscribe@jena.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@jena.apache.org
For additional commands, e-mail: pr-help@jena.apache.org
Re: [PR] GH-4221: Add six GeoSPARQL 1.1 coordinate extrema functions [jena]
Posted by "afs (via GitHub)" <gi...@apache.org>.
afs commented on PR #4222:
URL: https://github.com/apache/jena/pull/4222#issuecomment-5759165997
Other PRs depend on this one so it would be good to get this to aid the checking of those other PRs.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: pr-unsubscribe@jena.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@jena.apache.org
For additional commands, e-mail: pr-help@jena.apache.org
Re: [PR] GH-4221: Add six GeoSPARQL 1.1 coordinate extrema functions [jena]
Posted by "afs (via GitHub)" <gi...@apache.org>.
afs merged PR #4222:
URL: https://github.com/apache/jena/pull/4222
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: pr-unsubscribe@jena.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@jena.apache.org
For additional commands, e-mail: pr-help@jena.apache.org