Skip to content

Use Case ONTO19: Flip XY Coordinates #576

Open
@ar-chad

Description

Use Case ONTO19

Flip Coordinates

As a GeoSPARQL data user I would like to retrieve a given geometry with X and Y axis flipped.

For the 'POLYGON ((0 1 5, 2 3 5, 3 2 5, 2 1 5, 0 1 5))' the flipped geometry is POLYGON ((1 0 5, 3 2 5, 2 3 5, 1 2 5, 1 0 5))

Function signature:

flipXY(geometry: ogc:geomLiteral): 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 flip XY function is discoverable.

Postconditions

A SPARQL query can be executed that includes a function to return geometry with X and Y axis flipped. The results of the query are known to be true or false in 2D and 3D.

Steps

Actor: discovers flip XY function implemented by the system
Actor: executes a SPARQL query with flip XY function and a geometry argument.
System: returns a SPARQL result with a value that is a geometry with X and Y axis flipped.

Activity

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

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions