GeoSPARQL Next Functions
Metadata
- IRI
-
http://www.opengis.net/def/function/geosparql - Definition
-
All the GeoSPARQL Functions defined within the GeoSPARQL Next specification
- Publisher
-
https://defs.opengis.net/org/ogc
- Creator
-
https://defs.opengis.net/org/geosparql-swg
- Created
-
2021-06-16
- Modified
-
2026-08-06
- Copyright Notice
-
(c) 2026 Open Geospatial Consortium
- History Note
-
2026-08: GeoSPARQL Next version built from 1.1 version 2025-11: Made OntPub valid 2022: This vocabulary was generated for GeoSPARQL 1.1 using some content that was already specified for GeoSPARQL 1.0
- Source
-
http://www.opengis.net/doc/geosparql/nxt
Concept Hierarchy
- area
- asDGGS
- asGeoJSON
- asGML
- asKML
- asWKT
- boundary
- bounding circle
- buffer
- centroid
- concave hull
- convex hull
- difference
- dimension
- distance
- envelope
- geometryN
- getSRID
- intersection
- isEmpty
- isSimple
- length
- maxX
- maxY
- maxZ
- metric area
- metric buffer
- metric distance
- metric length
- metric perimeter
- minX
- minY
- minZ
- numGeometries
- perimeter
- relate
- symmetric difference
- transform
- union
Concept Definitions
area
| IRI |
http://www.opengis.net/def/function/geosparql/area
|
| Definition | Returns the area of a geometry in square meters. |
| Is Defined By | This vocabulary |
| Source | http://www.opengis.net/doc/geosparql/1.1 |
asDGGS
| IRI |
http://www.opengis.net/def/function/geosparql/asDGGS
|
| Definition | Converts a given geometry to an equivalent DGGS representation, formulated according to the specific DGGS literal indicated using the specificDggsDatatype parameter. |
| Is Defined By | This vocabulary |
| Source | http://www.opengis.net/doc/geosparql/1.1 |
asGML
| IRI |
http://www.opengis.net/def/function/geosparql/asGML
|
| Definition | Converts a given geometry to an equivalent GML representation defined by a gmlProfile version string preserving the coordinate reference system. |
| Is Defined By | This vocabulary |
| Source | http://www.opengis.net/doc/geosparql/1.1 |
asGeoJSON
| IRI |
http://www.opengis.net/def/function/geosparql/asGeoJSON
|
| Definition | Converts a given geometry to an equivalent GeoJSON representation. Coordinates are converted to the CRS84 coordinate system, the only valid coordinate system to be used in a GeoJSON literal. |
| Is Defined By | This vocabulary |
| Source | http://www.opengis.net/doc/geosparql/1.1 |
asKML
| IRI |
http://www.opengis.net/def/function/geosparql/asKML
|
| Definition | Converts a given geometry to an equivalent KML representation. Coordinates are converted to the CRS84 coordinate system, the only valid coordinate system to be used in a KML literal. |
| Is Defined By | This vocabulary |
| Source | http://www.opengis.net/doc/geosparql/1.1 |
asWKT
| IRI |
http://www.opengis.net/def/function/geosparql/asWKT
|
| Definition | Converts a given geometry to an equivalent WKT representation preserving the coordinate reference system and geometry type, if possible. |
| Is Defined By | This vocabulary |
| Source | http://www.opengis.net/doc/geosparql/1.1 |
boundary
| IRI |
http://www.opengis.net/def/function/geosparql/boundary
|
| Definition | A query function that returns the boundary of the input geometry. |
| Is Defined By | This vocabulary |
| Source | http://www.opengis.net/doc/geosparql/1.1 |
bounding circle
| IRI |
http://www.opengis.net/def/function/geosparql/boundingCircle
|
| Definition | A query function that calculates the minimum bounding circle of set of geometries. |
| Is Defined By | This vocabulary |
| Source | http://www.opengis.net/doc/geosparql/1.1 |
buffer
| IRI |
http://www.opengis.net/def/function/geosparql/buffer
|
| Definition | A query function that returns a buffer around the input geometry. |
| Is Defined By | This vocabulary |
| Source | http://www.opengis.net/doc/geosparql/1.1 |
centroid
| IRI |
http://www.opengis.net/def/function/geosparql/centroid
|
| Definition | A spatial aggregate function that calculates a centroid of a set of geometries. |
| Is Defined By | This vocabulary |
| Source | http://www.opengis.net/doc/geosparql/1.1 |
concave hull
| IRI |
http://www.opengis.net/def/function/geosparql/concaveHull
|
| Definition | A query function that calculates the concave hull of a set of geometries. |
| Is Defined By | This vocabulary |
| Source | http://www.opengis.net/doc/geosparql/1.1 |
convex hull
| IRI |
http://www.opengis.net/def/function/geosparql/convexHull
|
| Definition | A query function that returns the convex hull of the input geometry. |
| Is Defined By | This vocabulary |
| Source | http://www.opengis.net/doc/geosparql/1.1 |
difference
| IRI |
http://www.opengis.net/def/function/geosparql/difference
|
| Definition | A query function that returns a geometry consisting of all points that are part of the first geometry but not the second geometry. |
| Is Defined By | This vocabulary |
| Source | http://www.opengis.net/doc/geosparql/1.1 |
dimension
| IRI |
http://www.opengis.net/def/function/geosparql/dimension
|
| Definition | Returns the dimension of a geometry. |
| Is Defined By | This vocabulary |
| Source | http://www.opengis.net/doc/geosparql/1.1 |
distance
| IRI |
http://www.opengis.net/def/function/geosparql/distance
|
| Definition | A query function that returns the distance between the two closest points of the input geometries. |
| Is Defined By | This vocabulary |
| Example | http://www.opengis.net/spec/geosparql/1.1/specification.html#B.2.2.4 |
| Source | http://www.opengis.net/doc/geosparql/1.1 |
envelope
| IRI |
http://www.opengis.net/def/function/geosparql/envelope
|
| Definition | A query function that returns the minimum bounding rectangle of the input geometry. |
| Is Defined By | This vocabulary |
| Source | http://www.opengis.net/doc/geosparql/1.1 |
geometryN
| IRI |
http://www.opengis.net/def/function/geosparql/geometryN
|
| Definition | A query function that returns the the nth geometry if the given geometry literal contains a GeometryCollection. |
| Is Defined By | This vocabulary |
| Source | http://www.opengis.net/doc/geosparql/1.1 |
getSRID
| IRI |
http://www.opengis.net/def/function/geosparql/getSRID
|
| Definition | A query function that returns the spatial reference system URI of the input geometry. |
| Is Defined By | This vocabulary |
| Source | http://www.opengis.net/doc/geosparql/1.1 |
intersection
| IRI |
http://www.opengis.net/def/function/geosparql/intersection
|
| Definition | A query function that returns a geometry consisting of all points that are part of both input geometries. |
| Is Defined By | This vocabulary |
| Source | http://www.opengis.net/doc/geosparql/1.1 |
isEmpty
| IRI |
http://www.opengis.net/def/function/geosparql/isEmpty
|
| Definition | A query function that returns true if the input geometry is empty. |
| Is Defined By | This vocabulary |
| Source | http://www.opengis.net/doc/geosparql/1.1 |
isSimple
| IRI |
http://www.opengis.net/def/function/geosparql/isSimple
|
| Definition | A query function that returns true if the input geometry is a simple geometry. |
| Is Defined By | This vocabulary |
| Source | http://www.opengis.net/doc/geosparql/1.1 |
length
| IRI |
http://www.opengis.net/def/function/geosparql/length
|
| Definition | Returns the length of a geometry in meters. |
| Is Defined By | This vocabulary |
| Source | http://www.opengis.net/doc/geosparql/1.1 |
maxX
| IRI |
http://www.opengis.net/def/function/geosparql/maxX
|
| Definition | A query function that returns the maximum x coordinate of the input geometry. |
| Is Defined By | This vocabulary |
| Scope Note | X indicates the first dimension as indicated by the spatial reference system |
| Source | http://www.opengis.net/doc/geosparql/1.1 |
maxY
| IRI |
http://www.opengis.net/def/function/geosparql/maxY
|
| Definition | A query function that returns the maximum y coordinate of the input geometry. |
| Is Defined By | This vocabulary |
| Scope Note | Y indicates the second dimension as indicated by the spatial reference system |
| Source | http://www.opengis.net/doc/geosparql/1.1 |
maxZ
| IRI |
http://www.opengis.net/def/function/geosparql/maxZ
|
| Definition | A query function that returns the maximum z coordinate of the input geometry. |
| Is Defined By | This vocabulary |
| Scope Note | Z indicates the third dimension as indicated by the spatial reference system |
| Source | http://www.opengis.net/doc/geosparql/1.1 |
metric area
| IRI |
http://www.opengis.net/def/function/geosparql/metricArea
|
| Definition | Returns the area of a geometry in squaremeters. |
| Is Defined By | This vocabulary |
| Source | http://www.opengis.net/doc/geosparql/1.1 |
metric buffer
| IRI |
http://www.opengis.net/def/function/geosparql/metricBuffer
|
| Definition | A query function that returns a buffer around the input geometry, using a distance in meters. |
| Is Defined By | This vocabulary |
| Source | http://www.opengis.net/doc/geosparql/1.1 |
metric distance
| IRI |
http://www.opengis.net/def/function/geosparql/metricDistance
|
| Definition | A query function that returns the distance in meters between the two closest points of the input geometries. |
| Is Defined By | This vocabulary |
| Source | http://www.opengis.net/doc/geosparql/1.1 |
metric length
| IRI |
http://www.opengis.net/def/function/geosparql/metricLength
|
| Definition | Returns the length of a geometry in meters. |
| Is Defined By | This vocabulary |
| Source | http://www.opengis.net/doc/geosparql/1.1 |
metric perimeter
| IRI |
http://www.opengis.net/def/function/geosparql/metricPerimeter
|
| Definition | Returns the perimeter of a geometry in meters. |
| Is Defined By | This vocabulary |
| Source | http://www.opengis.net/doc/geosparql/1.1 |
minX
| IRI |
http://www.opengis.net/def/function/geosparql/minX
|
| Definition | A query function that returns the minimum x coordinate of the input geometry. |
| Is Defined By | This vocabulary |
| Scope Note | X indicates the first dimension as indicated by the spatial reference system |
| Source | http://www.opengis.net/doc/geosparql/1.1 |
minY
| IRI |
http://www.opengis.net/def/function/geosparql/minY
|
| Definition | A query function that returns the minimum y coordinate of the input geometry. |
| Is Defined By | This vocabulary |
| Scope Note | Y indicates the second dimension as indicated by the spatial reference system |
| Source | http://www.opengis.net/doc/geosparql/1.1 |
minZ
| IRI |
http://www.opengis.net/def/function/geosparql/minZ
|
| Definition | A query function that returns the minimum z coordinate of the input geometry. |
| Is Defined By | This vocabulary |
| Scope Note | Z indicates the third dimension as indicated by the spatial reference system |
| Source | http://www.opengis.net/doc/geosparql/1.1 |
numGeometries
| IRI |
http://www.opengis.net/def/function/geosparql/numGeometries
|
| Definition | A query function that returns the number of geometries if the given geometry literal contains a GeometryCollection. |
| Is Defined By | This vocabulary |
| Source | http://www.opengis.net/doc/geosparql/1.1 |
perimeter
| IRI |
http://www.opengis.net/def/function/geosparql/perimeter
|
| Definition | Returns the perimeter of a geometry in meters. |
| Is Defined By | This vocabulary |
| Source | http://www.opengis.net/doc/geosparql/1.1 |
relate
| IRI |
http://www.opengis.net/def/function/geosparql/relate
|
| Definition | A query function that returns true if the spatial relationship between the two input geometries corresponds to one with acceptable values for the specified DE-9IM pattern matrix. |
| Is Defined By | This vocabulary |
| Source | http://www.opengis.net/doc/geosparql/1.1 |
symmetric difference
| IRI |
http://www.opengis.net/def/function/geosparql/symDifference
|
| Definition | A query function that returns a geometry consisting of all points that are part of only one input geometry. |
| Is Defined By | This vocabulary |
| Source | http://www.opengis.net/doc/geosparql/1.1 |
transform
| IRI |
http://www.opengis.net/def/function/geosparql/transform
|
| Definition | A query function that converts a given geometry to a spatial reference system defined by an IRI. The function raises an error if a transformation is not mathematically possible. |
| Is Defined By | This vocabulary |
| Source | http://www.opengis.net/doc/geosparql/1.1 |
union
| IRI |
http://www.opengis.net/def/function/geosparql/union
|
| Definition | A query function that returns a geometry consisting of all points that are part of at least one input geometry. |
| Is Defined By | This vocabulary |
| Example | http://www.opengis.net/spec/geosparql/1.1/specification.html#B.2.2.3 |
| Source | http://www.opengis.net/doc/geosparql/1.1 |
Namespaces
- cs
-
http://www.opengis.net/def/function/geosparql - dcterms
-
http://purl.org/dc/terms/ - fno
-
https://w3id.org/function/ontology# - geo
-
http://www.opengis.net/ont/geosparql# - geo11
-
http://www.opengis.net/doc/geosparql/1.1 - geof
-
http://www.opengis.net/def/function/geosparql/ - geofo
-
http://www.opengis.net/def/function/output/geosparql/ - geofp
-
http://www.opengis.net/def/function/parameter/geosparql/ - geonxt
-
http://www.opengis.net/doc/geosparql/nxt - ogc
-
https://defs.opengis.net/org/ogc - owl
-
http://www.w3.org/2002/07/owl# - policy
-
http://www.opengis.net/def/metamodel/ogc-na/ - rdf
-
http://www.w3.org/1999/02/22-rdf-syntax-ns# - rdfs
-
http://www.w3.org/2000/01/rdf-schema# - schema
-
https://schema.org/ - sd
-
http://www.w3.org/ns/sparql-service-description# - skos
-
http://www.w3.org/2004/02/skos/core# - spec11
-
http://www.opengis.net/spec/geosparql/1.1/specification.html# - status
-
http://www.opengis.net/def/status/ - swg
-
https://defs.opengis.net/org/geosparql-swg - xsd
-
http://www.w3.org/2001/XMLSchema#