You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Actor: GeoSPARQL data user (human or software agent querying RDF dataset with GeoSPARQL)
Preconditions
Features and Geometries with 2D and 3D representations are present in a dataset to be queried. The maximum distance function is discoverable.
Postconditions
A SPARQL query can be executed that includes a function to return maximum from a given geometry to another given geometry - distance between their farthest points. The results of the query are known to be true or false in 2D and 3D.
Steps
Actor: discovers maximum distance function implemented by the system
Actor: executes a SPARQL query containing maximum distance function with two geometries as arguments.
System: returns a SPARQL result with a maximum distance between geometries - distance between their farthest points.
The text was updated successfully, but these errors were encountered:
Maybe it would also be beneficial to know where on the input geometries this distance is realized. So maybe the API could also return a line segment that connects input A to B. If you only want the length you get the length of that line segment. If you want to know more about the points on the input geometries, you inspect the points of that segment.
Use Case ONTO21
Maximum Distance
As a GeoSPARQL data user I would like to measure the maximum distance between two geometries - distance between their farthest points.
If geometries are the same, the function will return the longest distance between the two farthest points in this geometry.
Distance is measured in the units of the spatial reference system.
For the
POLYGON ((0 1 0, 1 1 0, 1 0 0, 0 0 0, 0 1 0))
and thePOLYGON ((2 3 0, 2 2 0, 3 2 0, 4 3 0, 2 3 0))
the value is 5.Function signature:
maximumDistance(geometry: ogc:geomLiteral, geometry: ogc:geomLiteral): xsd:double
Actor: GeoSPARQL data user (human or software agent querying RDF dataset with GeoSPARQL)
Preconditions
Features and Geometries with 2D and 3D representations are present in a dataset to be queried. The maximum distance function is discoverable.
Postconditions
A SPARQL query can be executed that includes a function to return maximum from a given geometry to another given geometry - distance between their farthest points. The results of the query are known to be true or false in 2D and 3D.
Steps
Actor: discovers maximum distance function implemented by the system
Actor: executes a SPARQL query containing maximum distance function with two geometries as arguments.
System: returns a SPARQL result with a maximum distance between geometries - distance between their farthest points.
The text was updated successfully, but these errors were encountered: