Get the name(s) of a spatial object.
Get the name(s) of a spatial object.
getNames(x, ...) ## S4 method for signature 'ANY' getNames(x) ## S4 method for signature 'geom' getNames(x) ## S4 method for signature 'sf' getNames(x) ## S4 method for signature 'Raster' getNames(x)
x |
the object from which to get the name. |
... |
other arguments. |
A vector of the names of x
.
getNames(x = gtGeoms$grid$continuous) getNames(x = gtSF$polygon) getNames(x = gtRasters)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.