Skip to content

geof:projectTo description #321

Open
@FransKnibbe

Description

The function geof:projectTo assumes that GeoSPARQL supports 3D geometry, but that is not the case:

geof:projectTo (geom1:  ogc:geomLiteral,
                dimVec: xsd:integer): ogc:geomLiteral

Projects the elements of geometry geom1 to the dimensions specified by the dimVec "dimensional vector".

dimVec is a binary number indicating which dimensions to project to (retain) from the geom, for example, using dimensions x, y & z:

  • "010" projects to the y dimension, only
  • "110" projects to the x and y dimensions

A projection may only occur from a geometry to a geometry of equal or fewer dimensions and, so far, GeoSPARQL only allos 1-, 2- & 3-dimensional objects, thus projectTo can only be specified from 3 to 2, 2 to 1 or 1 to 0 dimensions.

Activity

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

Metadata

Assignees

Labels

documentationImprovements or additions to documentation

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions