aRTlayer-getRelation {aRT}R Documentation

Spatial Relations

Description

Returns elements of a given layer that satisfy a given spatial relation. The spatial relation can refer to objects of a different layer.

Usage

## S4 method for signature 'aRTlayer':
getRelation(object,relation, layer, id)

Arguments

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.

Author(s)

Pedro Ribeiro de Andrade

See Also

See aRTlayer-class to the description of this class.

Examples

## Not run: 
## End(Not run)

[Package aRT version 1.6-4 Index]