aRTlayer-getMetric {aRT}R Documentation

getMetric

Description

Returns some spatial operation that from each spatial object of a layer.

Usage

## S4 method for signature 'aRTlayer':
getMetric(object, metric)

Arguments

object Object of class aRTlayer.
metric One metric among:
  • area
  • length

Author(s)

Pedro Ribeiro de Andrade

See Also

See aRTlayer-class to the description of this class.

Examples

## Not run: 
getMetric(layer, "hull")
getMetric(layer, "buffer", dist=500)
## End(Not run)

[Package aRT version 1.6-0 Index]