public class SpatialRelationOp
extends java.lang.Object
notes:
- use "intersects" only for polygon geometries (condition intersection area > 0).
- "contains" can be used for polygons and points (centroid from polygon is calculated)
Modifier and Type | Field and Description |
---|---|
static int |
CONTAINS |
static int |
COVEREDBY |
static int |
INTERSECTS |
Constructor and Description |
---|
SpatialRelationOp() |
Modifier and Type | Method and Description |
---|---|
static java.util.List |
evaluateSpatial(int spatialRelation,
com.vividsolutions.jts.index.quadtree.Quadtree featureTree,
com.vividsolutions.jts.geom.Geometry g,
double radius)
note: if input feature is point and spatial attribute is "intersect" or "covered by" the
candidate features are selected from a 10.0m radius
|
static java.lang.String |
getName(int spatialRel) |
public static final int CONTAINS
public static final int INTERSECTS
public static final int COVEREDBY
public static java.lang.String getName(int spatialRel)
public static java.util.List evaluateSpatial(int spatialRelation, com.vividsolutions.jts.index.quadtree.Quadtree featureTree, com.vividsolutions.jts.geom.Geometry g, double radius)
spatialRelation
- featureTree
- g
- radius
-