Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Case ONTO22: Shortest Line #600

Open
ar-chad opened this issue Nov 13, 2024 · 0 comments
Open

Use Case ONTO22: Shortest Line #600

ar-chad opened this issue Nov 13, 2024 · 0 comments

Comments

@ar-chad
Copy link
Collaborator

ar-chad commented Nov 13, 2024

Use Case ONTO22

Shortest Line

As a GeoSPARQL data user I would like to retrieve the shortest line corresponding to minimum distance between two geometries - distance between their closest points.

Distance is measured in the units of the spatial reference system.

For the POINT(4 3 0) and the LINESTRING(0 0 0, 4 2 0) the value is LINESTRING (4 3 0, 4 2 0).

Function signature:

shortestLine(geometry: ogc:geomLiteral, geometry: ogc:geomLiteral): geometry: ogc:geomLiteral

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 shortest line function is discoverable.

Postconditions

A SPARQL query can be executed that includes a function to return shortest line from a given geometry to another given geometry - corresponding to the distance between their closest points. The results of the query are known to be true or false in 2D and 3D.

Steps

Actor: discovers shortest line function implemented by the system
Actor: executes a SPARQL query containing shortest line function with two geometries as arguments.
System: returns a SPARQL result with a shortest line between geometries - corresponding to distance between their closest points.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant