Get the spatial resolution of a spatial object.
# S4 method for ANY
getRes(x)# S4 method for geom
getRes(x, precision = getOption("digits"))
# S4 method for Raster
getRes(x, precision = getOption("digits"))
# S4 method for matrix
getRes(x)
the object from which to derive the resolution.
the number of digits to which to round the values.
The resolution of x in x and y dimension.
Other getters:
getCRS(),
getExtent(),
getFeatures(),
getGroups(),
getHistory(),
getLayer(),
getName(),
getPoints(),
getType(),
getWindow()