powered by
Get the coordinate reference system of a spatial object.
getCRS(x, ...)# S4 method for ANY getCRS(x)# S4 method for geom getCRS(x)# S4 method for Spatial getCRS(x)# S4 method for sf getCRS(x)# S4 method for Raster getCRS(x)
# S4 method for ANY getCRS(x)
# S4 method for geom getCRS(x)
# S4 method for Spatial getCRS(x)
# S4 method for sf getCRS(x)
# S4 method for Raster getCRS(x)
the object from which to extract the coordinate reference system.
other arguments.
The coordinate reference system of x given as proj4string.
x
Other getters: getCols(), getExtent(), getFeatures(), getGroups(), getHistory(), getLayers(), getNames(), getPoints(), getRes(), getRows(), getType(), getWindow()
getCols()
getExtent()
getFeatures()
getGroups()
getHistory()
getLayers()
getNames()
getPoints()
getRes()
getRows()
getType()
getWindow()
# NOT RUN { getCRS(x = gtGeoms$grid$continuous) library(sf) nc_sf <- st_read(system.file("shape/nc.shp", package="sf"), quiet = TRUE) getCRS(nc_sf) getCRS(x = gtRasters$categorical) # }
Run the code above in your browser using DataLab