powered by
Get the type of a spatial object.
getType(x, ...)# S4 method for ANY getType(x)# S4 method for geom getType(x)# S4 method for Spatial getType(x)# S4 method for sf getType(x)# S4 method for Raster getType(x)# S4 method for matrix getType(x)
# S4 method for ANY getType(x)
# S4 method for geom getType(x)
# S4 method for Spatial getType(x)
# S4 method for sf getType(x)
# S4 method for Raster getType(x)
# S4 method for matrix getType(x)
the object for which to determine the type.
other arguments.
A vector of two values of the geometry type (point/line/polygon/grid) and the specific main type/class of x.
x
Other getters: getCRS(), getCols(), getExtent(), getFeatures(), getGroups(), getHistory(), getLayers(), getNames(), getPoints(), getRes(), getRows(), getWindow()
getCRS()
getCols()
getExtent()
getFeatures()
getGroups()
getHistory()
getLayers()
getNames()
getPoints()
getRes()
getRows()
getWindow()
# NOT RUN { getType(x = gtGeoms$point) getType(x = gtSP$SpatialPolygons) getType(x = gtSF$multiline) getType(x = gtRasters$categorical) getType(x = matrix(0, 3, 5)) # }
Run the code above in your browser using DataLab