public interface SpatialContainmentDao
Modifier and Type | Interface and Description |
---|---|
static class |
SpatialContainmentDao.ContainmentOperationType |
Modifier and Type | Method and Description |
---|---|
gnu.trove.set.TIntSet |
getContainedItemIds(com.vividsolutions.jts.geom.Geometry g,
String refSysName,
Set<String> subLayers,
SpatialContainmentDao.ContainmentOperationType opType)
Returns the item ids spatially contained/intersected with the input geometry
|
gnu.trove.set.TIntSet |
getContainedItemIds(Integer itemId,
String layerName,
String refSysName,
Set<String> subLayers,
SpatialContainmentDao.ContainmentOperationType opType)
Returns the item ids of the items spatially contained/intersected with the geometry corresponding to the input (itemId, layerName, refSysName).
|
gnu.trove.set.TIntSet getContainedItemIds(Integer itemId, String layerName, String refSysName, Set<String> subLayers, SpatialContainmentDao.ContainmentOperationType opType) throws DaoException
itemId
- itemId of the containerlayerName
- layer of the containerrefSysName
- refSysName of the containersubLayers
- the layers in which to search for contained objects (in the input ref sys)opType
- whether the function should use a contains() or intersects() operationDaoException
gnu.trove.set.TIntSet getContainedItemIds(com.vividsolutions.jts.geom.Geometry g, String refSysName, Set<String> subLayers, SpatialContainmentDao.ContainmentOperationType opType) throws DaoException
g
- refSysName
- the ref sys in which to look for contained itemssubLayers
- the layers in which to look for contained itemsopType
- whether the function should use a contains() or intersects() operationDaoException
Copyright © 2015. All rights reserved.