opengeospatial / ogc-geosparql

Public Repository for the OGC GeoSPARQL Standards Working Group
77 stars 20 forks source link

clarify geof:length vs geof:perimeter #484

Open VladimirAlexiev opened 9 months ago

VladimirAlexiev commented 9 months ago

I find the descriptions of length and perimeter, and the difference between them, unclear:

https://opengeospatial.github.io/ogc-geosparql/geosparql13/document.html#13-9-33-%C2%A0-function-geof-perimeter

geof:perimeter returns the perimeter of geom in the unit specified by the unit parameter for areal geometries. For non-areal geometries the result is equivalent to geof:hasLength.

https://opengeospatial.github.io/ogc-geosparql/geosparql13/document.html#13-9-24-%C2%A0-function-geof-metriclength

The function geof:metricLength returns the length of geom in meters. The longest length from any one dimension is returned. This is for example the length of a line from its beginning point to its endpoint or the length of the boundary of a polygon. This function is similar to geof:length but does not need a specification of measurement unit.

https://opengeospatial.github.io/ogc-geosparql/geosparql13/document.html#13-9-25-%C2%A0-function-geof-length

The function geof:length returns the length of geom. The longest length from any one dimension is returned. This function is similar to geof:metricLength, which does not need a specification of measurement unit.