opengeospatial / ogc-geosparql

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

Bug in geof:area function #447

Closed wouterbeek closed 1 year ago

wouterbeek commented 1 year ago

Hi GeoSPARQL friends!,

There are two small errors in the current draft specification of geof:area in https://opengeospatial.github.io/ogc-geosparql/geosparql11/spec.html#_function_geofarea

This currently reads:

geof:area (geom: ogc:geomLiteral, units: xsd:anyURI): rdf:Resource

Notice that there are two bugs:

  1. rdf:Resource does not exists; this should be rdfs:Resource
  2. The output type should be more specific, e.g. xsd:double.