powered by
Get the extent (bounding box) of a spatial object.
getExtent(x, ...)# S4 method for ANY getExtent(x)# S4 method for geom getExtent(x)# S4 method for Spatial getExtent(x)# S4 method for sf getExtent(x)# S4 method for Raster getExtent(x)# S4 method for matrix getExtent(x)
# S4 method for ANY getExtent(x)
# S4 method for geom getExtent(x)
# S4 method for Spatial getExtent(x)
# S4 method for sf getExtent(x)
# S4 method for Raster getExtent(x)
# S4 method for matrix getExtent(x)
the object from which to derive the extent.
other arguments.
A tibble of the lower left and upper right corner coordinates of the extent of x. This table two columns (x and y) and two rows (minimum and maximum).
x
Other getters: getCRS(), getCols(), getFeatures(), getGroups(), getHistory(), getLayers(), getNames(), getPoints(), getRes(), getRows(), getType(), getWindow()
getCRS()
getCols()
getFeatures()
getGroups()
getHistory()
getLayers()
getNames()
getPoints()
getRes()
getRows()
getType()
getWindow()
# NOT RUN { getExtent(gtGeoms$polygon) getExtent(x = gtSP$SpatialPolygons) getExtent(x = gtSF$multilinestring) getExtent(x = gtRasters$categorical) getExtent(x = matrix(0, 3, 5)) # }
Run the code above in your browser using DataLab