Aliases: wkt wkt,ANY-method wkt,Raster-method crs crs,ANY-method crs<- projection projection<- proj4string proj4string,BasicRaster-method proj4string,CRS-method proj4string<- as.character,CRS-method is.na,CRS-method crs<-,BasicRaster-method crs<-,Spatial-method
Keywords: spatial
### ** Examples r <- raster() crs(r)
Coordinate Reference System: Deprecated Proj.4 representation: +proj=longlat +datum=WGS84
Warning in wkt(x): CRS object has no comment
crs(r) <- "+proj=lcc +lat_1=48 +lat_2=33 +lon_0=-100 +datum=WGS84" crs(r)
Coordinate Reference System: Deprecated Proj.4 representation: +proj=lcc +lat_1=48 +lat_2=33 +lon_0=-100 +datum=WGS84
Warning in wkt(x): CRS object has no comment
w <- wkt(r)
Warning in wkt(r): no wkt comment
w
[1] ""
cat(w, "\n")