same.crs | R Documentation |
The function takes two coordinate reference system descriptions and compares them for equality.
same.crs(x, y)
x |
character, SpatRaster, SpatVector, CRS, or other object that returns something intelligible with |
y |
same types as for |
logical
r <- rast()
same.crs(r, "+proj=longlat")
same.crs(r, "+proj=utm +zone=1")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.