\HeaderA{aRTlayer-getRelation}{Spatial Relations}{aRTlayer.Rdash.getRelation}
\aliasA{contain}{aRTlayer-getRelation}{contain}
\aliasA{cover}{aRTlayer-getRelation}{cover}
\aliasA{cross}{aRTlayer-getRelation}{cross}
\aliasA{disjoint}{aRTlayer-getRelation}{disjoint}
\aliasA{equal}{aRTlayer-getRelation}{equal}
\aliasA{getRelation}{aRTlayer-getRelation}{getRelation}
\aliasA{getRelation,aRTlayer-method}{aRTlayer-getRelation}{getRelation,aRTlayer.Rdash.method}
\aliasA{intersects}{aRTlayer-getRelation}{intersects}
\aliasA{overlap}{aRTlayer-getRelation}{overlap}
\aliasA{within}{aRTlayer-getRelation}{within}
\keyword{connection}{aRTlayer-getRelation}
\begin{Description}\relax
Returns elements of a given layer that satisfy a given spatial relation.
The relation can be in a different layer.
\end{Description}
\begin{Section}{Arguments}
\describe{
\item[object] The target layer.
\item[relation] A relation among:
\Itemize{
\item contains
\item coveredby
\item covers
\item crosses
\item disjoint
\item equals
\item intersects
\item overlaps
\item touches
\item within
}
\item[layer] The layer which the spatial relation must satisfy.
\item[ids] The selected ids of layer to be used. If \code{NULL}, all the elements of layer will be used.
}
\end{Section}
\begin{Author}\relax
Pedro Ribeiro de Andrade Neto
\end{Author}
\begin{SeeAlso}\relax
See \code{aRTlayer-class} to the description of this class.
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
## Not run: 
## End(Not run)\end{ExampleCode}
\end{Examples}

