Check if two CRS objects are identical
Usage
fm_crs_is_identical(crs0, crs1, crsonly = FALSE)
fm_identical_CRS(crs0, crs1, crsonly = FALSE)
Value
logical, indicating if the two crs objects are identical in the
specified sense (see the crsonly
argument)
Examples
crs0 <- crs1 <- fm_crs("longlat_globe")
fm_crs_oblique(crs1) <- c(0, 90)
print(c(
fm_crs_is_identical(crs0, crs0),
fm_crs_is_identical(crs0, crs1),
fm_crs_is_identical(crs0, crs1, crsonly = TRUE)
))
#> [1] TRUE FALSE TRUE