| aRTlayer-getMetric {aRT} | R Documentation |
Returns some spatial operation that from each spatial object of a layer.
## S4 method for signature 'aRTlayer':
getMetric(object, metric= c("area", "length"), ID=NULL)
object |
Object of class aRTlayer. |
metric |
One metric among:
|
ID |
A subset of the layer's IDs, over which the metrics will be computed. In the case of NULL, getMetric calculates the metrics over each element of the layer. |
Pedro Ribeiro de Andrade
See aRTlayer-class to the description of this class.
## Not run: getMetric(layer, "hull") getMetric(layer, "buffer", dist=500) ## End(Not run)