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

Date Created

2021-06-16

Date Modified

2026-08-06

License
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

See Also

http://www.opengis.net/doc/geosparql/nxt

Version Iri

http://www.opengis.net/def/function/geosparql/Next

Concept Hierarchy

Concept Definitions

area

IRI http://www.opengis.net/def/function/geosparql/area
Preferred Label 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
See Also http://www.opengis.net/doc/geosparql/1.1
Status http://www.opengis.net/def/status/valid
Expects nec9e57e8dcf6428889c74fa7055afe9ab25
Returns nec9e57e8dcf6428889c74fa7055afe9ab27

asDGGS

IRI http://www.opengis.net/def/function/geosparql/asDGGS
Preferred Label 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
See Also http://www.opengis.net/doc/geosparql/1.1
Status http://www.opengis.net/def/status/valid
Expects nec9e57e8dcf6428889c74fa7055afe9ab6
Returns nec9e57e8dcf6428889c74fa7055afe9ab8

asGML

IRI http://www.opengis.net/def/function/geosparql/asGML
Preferred Label 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
See Also http://www.opengis.net/doc/geosparql/1.1
Status http://www.opengis.net/def/status/valid
Expects nec9e57e8dcf6428889c74fa7055afe9ab9
Returns nec9e57e8dcf6428889c74fa7055afe9ab11

asGeoJSON

IRI http://www.opengis.net/def/function/geosparql/asGeoJSON
Preferred Label 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
See Also http://www.opengis.net/doc/geosparql/1.1
Status http://www.opengis.net/def/status/valid
Expects nec9e57e8dcf6428889c74fa7055afe9ab12
Returns nec9e57e8dcf6428889c74fa7055afe9ab13

asKML

IRI http://www.opengis.net/def/function/geosparql/asKML
Preferred Label 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
See Also http://www.opengis.net/doc/geosparql/1.1
Status http://www.opengis.net/def/status/valid
Expects nec9e57e8dcf6428889c74fa7055afe9ab14
Returns nec9e57e8dcf6428889c74fa7055afe9ab15

asWKT

IRI http://www.opengis.net/def/function/geosparql/asWKT
Preferred Label 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
See Also http://www.opengis.net/doc/geosparql/1.1
Status http://www.opengis.net/def/status/valid
Expects nec9e57e8dcf6428889c74fa7055afe9ab16
Returns nec9e57e8dcf6428889c74fa7055afe9ab17

boundary

IRI http://www.opengis.net/def/function/geosparql/boundary
Preferred Label 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
See Also http://www.opengis.net/doc/geosparql/1.1
Status http://www.opengis.net/def/status/valid
Expects nec9e57e8dcf6428889c74fa7055afe9ab28
Returns nec9e57e8dcf6428889c74fa7055afe9ab29

bounding circle

IRI http://www.opengis.net/def/function/geosparql/boundingCircle
Preferred Label bounding circle
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
See Also http://www.opengis.net/doc/geosparql/1.1
Date 2021-02-25
Status http://www.opengis.net/def/status/valid

buffer

IRI http://www.opengis.net/def/function/geosparql/buffer
Preferred Label 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
See Also http://www.opengis.net/doc/geosparql/1.1
Status http://www.opengis.net/def/status/valid
Expects nec9e57e8dcf6428889c74fa7055afe9ab30
Returns nec9e57e8dcf6428889c74fa7055afe9ab33

centroid

IRI http://www.opengis.net/def/function/geosparql/centroid
Preferred Label 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
See Also http://www.opengis.net/doc/geosparql/1.1
Date 2021-02-25
Status http://www.opengis.net/def/status/valid
Is Top Concept In Scheme This vocabulary
Expects nec9e57e8dcf6428889c74fa7055afe9ab1
Returns nec9e57e8dcf6428889c74fa7055afe9ab2

concave hull

IRI http://www.opengis.net/def/function/geosparql/concaveHull
Preferred Label concave hull
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
See Also http://www.opengis.net/doc/geosparql/1.1
Date 2021-02-25
Status http://www.opengis.net/def/status/valid
Expects nec9e57e8dcf6428889c74fa7055afe9ab18
Returns nec9e57e8dcf6428889c74fa7055afe9ab19

convex hull

IRI http://www.opengis.net/def/function/geosparql/convexHull
Preferred Label convex hull
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
See Also http://www.opengis.net/doc/geosparql/1.1
Status http://www.opengis.net/def/status/valid
Expects nec9e57e8dcf6428889c74fa7055afe9ab34
Returns nec9e57e8dcf6428889c74fa7055afe9ab35

difference

IRI http://www.opengis.net/def/function/geosparql/difference
Preferred Label 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
See Also http://www.opengis.net/doc/geosparql/1.1
Status http://www.opengis.net/def/status/valid
Expects nec9e57e8dcf6428889c74fa7055afe9ab36
Returns nec9e57e8dcf6428889c74fa7055afe9ab38

dimension

IRI http://www.opengis.net/def/function/geosparql/dimension
Preferred Label dimension
Definition Returns the dimension of a geometry.
Is Defined By This vocabulary
Source http://www.opengis.net/doc/geosparql/1.1
See Also http://www.opengis.net/doc/geosparql/1.1
Status http://www.opengis.net/def/status/valid
Expects nec9e57e8dcf6428889c74fa7055afe9ab39
Returns nec9e57e8dcf6428889c74fa7055afe9ab40

distance

IRI http://www.opengis.net/def/function/geosparql/distance
Preferred Label 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
See Also http://www.opengis.net/doc/geosparql/1.1
Status http://www.opengis.net/def/status/valid
Expects nec9e57e8dcf6428889c74fa7055afe9ab41
Returns nec9e57e8dcf6428889c74fa7055afe9ab44

envelope

IRI http://www.opengis.net/def/function/geosparql/envelope
Preferred Label 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
See Also http://www.opengis.net/doc/geosparql/1.1
Status http://www.opengis.net/def/status/valid
Expects nec9e57e8dcf6428889c74fa7055afe9ab45
Returns nec9e57e8dcf6428889c74fa7055afe9ab46

geometryN

IRI http://www.opengis.net/def/function/geosparql/geometryN
Preferred Label 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
See Also http://www.opengis.net/doc/geosparql/1.1
Status http://www.opengis.net/def/status/valid
Is Top Concept In Scheme This vocabulary
Expects nec9e57e8dcf6428889c74fa7055afe9ab20
Returns nec9e57e8dcf6428889c74fa7055afe9ab22

getSRID

IRI http://www.opengis.net/def/function/geosparql/getSRID
Preferred Label 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
See Also http://www.opengis.net/doc/geosparql/1.1
Status http://www.opengis.net/def/status/valid
Expects nec9e57e8dcf6428889c74fa7055afe9ab47
Returns nec9e57e8dcf6428889c74fa7055afe9ab48

intersection

IRI http://www.opengis.net/def/function/geosparql/intersection
Preferred Label 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
See Also http://www.opengis.net/doc/geosparql/1.1
Status http://www.opengis.net/def/status/valid
Expects nec9e57e8dcf6428889c74fa7055afe9ab49
Returns nec9e57e8dcf6428889c74fa7055afe9ab51

isEmpty

IRI http://www.opengis.net/def/function/geosparql/isEmpty
Preferred Label 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
See Also http://www.opengis.net/doc/geosparql/1.1
Status http://www.opengis.net/def/status/valid
Expects nec9e57e8dcf6428889c74fa7055afe9ab52
Returns nec9e57e8dcf6428889c74fa7055afe9ab53

isSimple

IRI http://www.opengis.net/def/function/geosparql/isSimple
Preferred Label 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
See Also http://www.opengis.net/doc/geosparql/1.1
Status http://www.opengis.net/def/status/valid
Expects nec9e57e8dcf6428889c74fa7055afe9ab54
Returns nec9e57e8dcf6428889c74fa7055afe9ab55

length

IRI http://www.opengis.net/def/function/geosparql/length
Preferred Label length
Definition Returns the length of a geometry in meters.
Is Defined By This vocabulary
Source http://www.opengis.net/doc/geosparql/1.1
See Also http://www.opengis.net/doc/geosparql/1.1
Status http://www.opengis.net/def/status/valid
Expects nec9e57e8dcf6428889c74fa7055afe9ab56
Returns nec9e57e8dcf6428889c74fa7055afe9ab58

maxX

IRI http://www.opengis.net/def/function/geosparql/maxX
Preferred Label 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
See Also http://www.opengis.net/doc/geosparql/1.1
Status http://www.opengis.net/def/status/valid
Expects nec9e57e8dcf6428889c74fa7055afe9ab59
Returns nec9e57e8dcf6428889c74fa7055afe9ab60

maxY

IRI http://www.opengis.net/def/function/geosparql/maxY
Preferred Label 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
See Also http://www.opengis.net/doc/geosparql/1.1
Status http://www.opengis.net/def/status/valid
Expects nec9e57e8dcf6428889c74fa7055afe9ab61
Returns nec9e57e8dcf6428889c74fa7055afe9ab62

maxZ

IRI http://www.opengis.net/def/function/geosparql/maxZ
Preferred Label 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
See Also http://www.opengis.net/doc/geosparql/1.1
Status http://www.opengis.net/def/status/valid
Expects nec9e57e8dcf6428889c74fa7055afe9ab63
Returns nec9e57e8dcf6428889c74fa7055afe9ab64

metric area

IRI http://www.opengis.net/def/function/geosparql/metricArea
Preferred Label metric area
Definition Returns the area of a geometry in squaremeters.
Is Defined By This vocabulary
Source http://www.opengis.net/doc/geosparql/1.1
See Also http://www.opengis.net/doc/geosparql/1.1
Status http://www.opengis.net/def/status/valid
Expects nec9e57e8dcf6428889c74fa7055afe9ab65
Returns nec9e57e8dcf6428889c74fa7055afe9ab66

metric buffer

IRI http://www.opengis.net/def/function/geosparql/metricBuffer
Preferred Label metric buffer
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
See Also http://www.opengis.net/doc/geosparql/1.1
Date 2022-04-20
Status http://www.opengis.net/def/status/valid
Expects nec9e57e8dcf6428889c74fa7055afe9ab67
Returns nec9e57e8dcf6428889c74fa7055afe9ab69

metric distance

IRI http://www.opengis.net/def/function/geosparql/metricDistance
Preferred Label metric distance
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
See Also http://www.opengis.net/doc/geosparql/1.1
Status http://www.opengis.net/def/status/valid
Expects nec9e57e8dcf6428889c74fa7055afe9ab70
Returns nec9e57e8dcf6428889c74fa7055afe9ab72

metric length

IRI http://www.opengis.net/def/function/geosparql/metricLength
Preferred Label metric length
Definition Returns the length of a geometry in meters.
Is Defined By This vocabulary
Source http://www.opengis.net/doc/geosparql/1.1
See Also http://www.opengis.net/doc/geosparql/1.1
Status http://www.opengis.net/def/status/valid
Expects nec9e57e8dcf6428889c74fa7055afe9ab73
Returns nec9e57e8dcf6428889c74fa7055afe9ab74

metric perimeter

IRI http://www.opengis.net/def/function/geosparql/metricPerimeter
Preferred Label metric perimeter
Definition Returns the perimeter of a geometry in meters.
Is Defined By This vocabulary
Source http://www.opengis.net/doc/geosparql/1.1
See Also http://www.opengis.net/doc/geosparql/1.1
Status http://www.opengis.net/def/status/valid
Expects nec9e57e8dcf6428889c74fa7055afe9ab75
Returns nec9e57e8dcf6428889c74fa7055afe9ab76

minX

IRI http://www.opengis.net/def/function/geosparql/minX
Preferred Label 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
See Also http://www.opengis.net/doc/geosparql/1.1
Status http://www.opengis.net/def/status/valid
Expects nec9e57e8dcf6428889c74fa7055afe9ab77
Returns nec9e57e8dcf6428889c74fa7055afe9ab78

minY

IRI http://www.opengis.net/def/function/geosparql/minY
Preferred Label 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
See Also http://www.opengis.net/doc/geosparql/1.1
Status http://www.opengis.net/def/status/valid
Expects nec9e57e8dcf6428889c74fa7055afe9ab79
Returns nec9e57e8dcf6428889c74fa7055afe9ab80

minZ

IRI http://www.opengis.net/def/function/geosparql/minZ
Preferred Label 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
See Also http://www.opengis.net/doc/geosparql/1.1
Status http://www.opengis.net/def/status/valid
Expects nec9e57e8dcf6428889c74fa7055afe9ab81
Returns nec9e57e8dcf6428889c74fa7055afe9ab82

numGeometries

IRI http://www.opengis.net/def/function/geosparql/numGeometries
Preferred Label 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
See Also http://www.opengis.net/doc/geosparql/1.1
Status http://www.opengis.net/def/status/valid
Is Top Concept In Scheme This vocabulary
Expects nec9e57e8dcf6428889c74fa7055afe9ab23
Returns nec9e57e8dcf6428889c74fa7055afe9ab24

perimeter

IRI http://www.opengis.net/def/function/geosparql/perimeter
Preferred Label perimeter
Definition Returns the perimeter of a geometry in meters.
Is Defined By This vocabulary
Source http://www.opengis.net/doc/geosparql/1.1
See Also http://www.opengis.net/doc/geosparql/1.1
Status http://www.opengis.net/def/status/valid
Expects nec9e57e8dcf6428889c74fa7055afe9ab83
Returns nec9e57e8dcf6428889c74fa7055afe9ab85

relate

IRI http://www.opengis.net/def/function/geosparql/relate
Preferred Label 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
See Also http://www.opengis.net/doc/geosparql/1.1
Status http://www.opengis.net/def/status/valid
Expects nec9e57e8dcf6428889c74fa7055afe9ab86
Returns nec9e57e8dcf6428889c74fa7055afe9ab89

symmetric difference

IRI http://www.opengis.net/def/function/geosparql/symDifference
Preferred Label symmetric difference
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
See Also http://www.opengis.net/doc/geosparql/1.1
Status http://www.opengis.net/def/status/valid
Expects nec9e57e8dcf6428889c74fa7055afe9ab90
Returns nec9e57e8dcf6428889c74fa7055afe9ab92

transform

IRI http://www.opengis.net/def/function/geosparql/transform
Preferred Label 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
See Also http://www.opengis.net/doc/geosparql/1.1
Status http://www.opengis.net/def/status/valid
Is Top Concept In Scheme This vocabulary
Expects nec9e57e8dcf6428889c74fa7055afe9ab3
Returns nec9e57e8dcf6428889c74fa7055afe9ab5

union

IRI http://www.opengis.net/def/function/geosparql/union
Preferred Label 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
See Also http://www.opengis.net/doc/geosparql/1.1
Status http://www.opengis.net/def/status/valid
Expects nec9e57e8dcf6428889c74fa7055afe9ab93
Returns nec9e57e8dcf6428889c74fa7055afe9ab95

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#

made by p y LODE 3.6.1 with the VocPub profile

Table of Contents