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 n6f111694579c4dd3a7778508cf33e40ab25
Returns n6f111694579c4dd3a7778508cf33e40ab27

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 n6f111694579c4dd3a7778508cf33e40ab6
Returns n6f111694579c4dd3a7778508cf33e40ab8

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 n6f111694579c4dd3a7778508cf33e40ab9
Returns n6f111694579c4dd3a7778508cf33e40ab11

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 n6f111694579c4dd3a7778508cf33e40ab12
Returns n6f111694579c4dd3a7778508cf33e40ab13

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 n6f111694579c4dd3a7778508cf33e40ab14
Returns n6f111694579c4dd3a7778508cf33e40ab15

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 n6f111694579c4dd3a7778508cf33e40ab16
Returns n6f111694579c4dd3a7778508cf33e40ab17

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 n6f111694579c4dd3a7778508cf33e40ab28
Returns n6f111694579c4dd3a7778508cf33e40ab29

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 n6f111694579c4dd3a7778508cf33e40ab30
Returns n6f111694579c4dd3a7778508cf33e40ab33

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 n6f111694579c4dd3a7778508cf33e40ab1
Returns n6f111694579c4dd3a7778508cf33e40ab2

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 n6f111694579c4dd3a7778508cf33e40ab18
Returns n6f111694579c4dd3a7778508cf33e40ab19

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 n6f111694579c4dd3a7778508cf33e40ab34
Returns n6f111694579c4dd3a7778508cf33e40ab35

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 n6f111694579c4dd3a7778508cf33e40ab36
Returns n6f111694579c4dd3a7778508cf33e40ab38

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 n6f111694579c4dd3a7778508cf33e40ab39
Returns n6f111694579c4dd3a7778508cf33e40ab40

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 n6f111694579c4dd3a7778508cf33e40ab41
Returns n6f111694579c4dd3a7778508cf33e40ab44

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 n6f111694579c4dd3a7778508cf33e40ab45
Returns n6f111694579c4dd3a7778508cf33e40ab46

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 n6f111694579c4dd3a7778508cf33e40ab20
Returns n6f111694579c4dd3a7778508cf33e40ab22

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 n6f111694579c4dd3a7778508cf33e40ab47
Returns n6f111694579c4dd3a7778508cf33e40ab48

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 n6f111694579c4dd3a7778508cf33e40ab49
Returns n6f111694579c4dd3a7778508cf33e40ab51

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 n6f111694579c4dd3a7778508cf33e40ab52
Returns n6f111694579c4dd3a7778508cf33e40ab53

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 n6f111694579c4dd3a7778508cf33e40ab54
Returns n6f111694579c4dd3a7778508cf33e40ab55

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 n6f111694579c4dd3a7778508cf33e40ab56
Returns n6f111694579c4dd3a7778508cf33e40ab58

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 n6f111694579c4dd3a7778508cf33e40ab59
Returns n6f111694579c4dd3a7778508cf33e40ab60

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 n6f111694579c4dd3a7778508cf33e40ab61
Returns n6f111694579c4dd3a7778508cf33e40ab62

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 n6f111694579c4dd3a7778508cf33e40ab63
Returns n6f111694579c4dd3a7778508cf33e40ab64

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 n6f111694579c4dd3a7778508cf33e40ab65
Returns n6f111694579c4dd3a7778508cf33e40ab66

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 n6f111694579c4dd3a7778508cf33e40ab67
Returns n6f111694579c4dd3a7778508cf33e40ab69

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 n6f111694579c4dd3a7778508cf33e40ab70
Returns n6f111694579c4dd3a7778508cf33e40ab72

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 n6f111694579c4dd3a7778508cf33e40ab73
Returns n6f111694579c4dd3a7778508cf33e40ab74

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 n6f111694579c4dd3a7778508cf33e40ab75
Returns n6f111694579c4dd3a7778508cf33e40ab76

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 n6f111694579c4dd3a7778508cf33e40ab77
Returns n6f111694579c4dd3a7778508cf33e40ab78

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 n6f111694579c4dd3a7778508cf33e40ab79
Returns n6f111694579c4dd3a7778508cf33e40ab80

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 n6f111694579c4dd3a7778508cf33e40ab81
Returns n6f111694579c4dd3a7778508cf33e40ab82

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 n6f111694579c4dd3a7778508cf33e40ab23
Returns n6f111694579c4dd3a7778508cf33e40ab24

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 n6f111694579c4dd3a7778508cf33e40ab83
Returns n6f111694579c4dd3a7778508cf33e40ab85

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 n6f111694579c4dd3a7778508cf33e40ab86
Returns n6f111694579c4dd3a7778508cf33e40ab89

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 n6f111694579c4dd3a7778508cf33e40ab90
Returns n6f111694579c4dd3a7778508cf33e40ab92

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 n6f111694579c4dd3a7778508cf33e40ab3
Returns n6f111694579c4dd3a7778508cf33e40ab5

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 n6f111694579c4dd3a7778508cf33e40ab93
Returns n6f111694579c4dd3a7778508cf33e40ab95

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.0 with the VocPub profile

Table of Contents