26
Copyright © 2012 Open Geospatial Consortium
Table 6 -- Egenhofer Query Functions
Query Function Defining DE-9IM
Intersection Pattern
geof:ehEqualsgeom1: ogc:geomLiteral, geom2: ogc:geomLiteral
: xsd:boolean TFFFTFFFT
geof:ehDisjointgeom1: ogc:geomLiteral, geom2: ogc:geomLiteral
: xsd:boolean FFFF
geof:ehMeetgeom1: ogc:geomLiteral, geom2: ogc:geomLiteral
: xsd:boolean FT
FT FT
geof:ehOverlapgeom1: ogc:geomLiteral, geom2: ogc:geomLiteral
: xsd:boolean TTT
geof:ehCoversgeom1: ogc:geomLiteral, geom2: ogc:geomLiteral
: xsd:boolean TTFTFF
geof:ehCoveredBygeom1: ogc:geomLiteral, geom2: ogc:geomLiteral
: xsd:boolean TFFTFT
geof:ehInsidegeom1: ogc:geomLiteral, geom2: ogc:geomLiteral
: xsd:boolean TFFFFT
geof:ehContainsgeom1: ogc:geomLiteral, geom2: ogc:geomLiteral
: xsd:boolean TTFFFF
9.5 Requirements for RCC8 Relation Family relation_family=RCC8
This clause establishes requirements for the RCC8 relation family. Consult references [1] and [9] for a more detailed discussion of RCC8 relations.
Req 24 Implementations shall support
geof:rcc8eq
,
geof:rcc8dc
,
geof:rcc8ec
,
geof:rcc8po
,
geof:rcc8tppi
,
geof:rcc8tpp
,
geof:rcc8ntpp
,
geof:rcc8ntppi
as SPARQL extension functions, consistent with their corresponding DE-9IM intersection patterns, as defined by Simple Features [ISO
19125-1].
Copyright © 2012 Open Geospatial Consortium
27
reqgeometry-topology-extensionrcc8-query-functions
Boolean query functions defined for the RCC8 relation family, along with their associated DE-9IM intersection patterns, are shown in Table 7 below. Each function
accepts two arguments
geom1
and
geom2
of the geometry literal serialization type specified by serialization and version. Each function returns an
xsd:boolean
value of
true
if the specified relation exists between
geom1
and
geom2
and returns
false
otherwise. In each case, the spatial reference system of
geom1
is used for spatial calculations.
Table 7 -- RCC8 Query Functions
Query Function Defining DE-9IM Intersection
Pattern
geof:rcc8eqgeom1: ogc:geomLiteral, geom2: ogc:geomLiteral
: xsd:boolean TFFFTFFFT
geof:rcc8dcgeom1: ogc:geomLiteral, geom2: ogc:geomLiteral
: xsd:boolean FFTFFTTTT
geof:rcc8ecgeom1: ogc:geomLiteral, geom2: ogc:geomLiteral
: xsd:boolean FFTFTTTTT
geof:rcc8pogeom1: ogc:geomLiteral, geom2: ogc:geomLiteral
: xsd:boolean TTTTTTTTT
geof:rcc8tppigeom1: ogc:geomLiteral, geom2: ogc:geomLiteral
: xsd:boolean TTTFTTFFT
geof:rcc8tppgeom1: ogc:geomLiteral, geom2: ogc:geomLiteral
: xsd:Boolean TFFTTFTTT
geof:rcc8ntppgeom1: ogc:geomLiteral, geom2: ogc:geomLiteral
: xsd:boolean TFFTFFTTT
geof:rcc8ntppigeom1: ogc:geomLiteral, geom2: ogc:geomLiteral
: xsd:boolean TTTFFTFFT