powered by
Get the type of a spatial object.
# 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 ppp getType(x)# S4 method for Raster getType(x)# S4 method for matrix getType(x)
# S4 method for geom getType(x)
# S4 method for Spatial getType(x)
# S4 method for sf getType(x)
# S4 method for ppp getType(x)
# S4 method for Raster getType(x)
# S4 method for matrix getType(x)
the object for which to determine the type.
A vector of two values giving the general type (vector/raster) and the specific type/class of x.
x
Other getters: getCRS(), getExtent(), getFeatures(), getGroups(), getHistory(), getLayer(), getName(), getPoints(), getRes(), getWindow()
getCRS()
getExtent()
getFeatures()
getGroups()
getHistory()
getLayer()
getName()
getPoints()
getRes()
getWindow()
# NOT RUN { getType(x = gtGeoms$polygon) getType(x = gtSP$SpatialPolygons) getType(x = gtSF$multiline) getType(x = gtRasters$categorical) # }
Run the code above in your browser using DataLab