powered by
The function takes two coordinate reference system descriptions and compares them for equality.
same.crs(x, y)
logical
character, SpatRaster, SpatVector, CRS, or other object that returns something intelligible withcrs(x)
crs(x)
same types as for x
x
r <- rast() same.crs(r, "+proj=longlat") same.crs(r, "+proj=utm +zone=1")
Run the code above in your browser using DataLab