public interface SpatialRelation
Enumerates the supported spatial relations.
<p>Most of these relations are defined in "OpenGIS Simple Features Specification for SQL, rev. 1.1 (OGC 99-049), section 2.1.13.3. "</p>
| Modifier and Type | Field and Description |
|---|---|
static int |
CONTAINS
The first geometry spatially contains the second
|
static int |
CROSSES
The geometries cross
|
static int |
DISJOINT
The geometries are spatially dijoint
|
static int |
EQUALS
The geometries are spatially equal to each other.
|
static int |
FILTER
The bounding box of the first geometry intersects the bounding box of the second
|
static int |
INTERSECTS
The first geometry intersects the second
|
static int |
OVERLAPS
The geometries spatially overlap
|
static int |
TOUCHES
The geometries touch
|
static int |
WITHIN
The first geometry is spatially within the second
|
static final int EQUALS
The geometries are spatially equal to each other.
static final int DISJOINT
The geometries are spatially dijoint
static final int TOUCHES
The geometries touch
static final int CROSSES
The geometries cross
static final int WITHIN
The first geometry is spatially within the second
static final int OVERLAPS
The geometries spatially overlap
static final int CONTAINS
The first geometry spatially contains the second
static final int INTERSECTS
The first geometry intersects the second
static final int FILTER
The bounding box of the first geometry intersects the bounding box of the second
<p>This relation is not defined in OGC 99-049, it corresponds to the Postgis '&&' operator.</p>
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.