aRTlayer-getRelation {aRT} | R Documentation |
Returns elements of a given layer that satisfy a given spatial relation. The spatial relation can refer to objects of a different layer.
## S4 method for signature 'aRTlayer': getRelation(object, relation=c("contains", "overlaps", "crosses", "disjoint", "touches", "within", "intersects", "equals", "covers", "coveredby"), layer=object, ID)
object |
The target layer. |
relation |
One of "contains", "coveredby", "covers", "crosses", "disjoint", "equals", "intersects", "overlaps", "touches", or "within" |
layer |
The layer over which the spatial relations will be computed. |
ID |
The selected ids of layer to be used. If NULL , all the elements of layer will be used. |
Pedro Ribeiro de Andrade
See aRTlayer-class
to the description of this class.