compareCRS | R Documentation |
Compare CRS objects
compareCRS(x, y, unknown=FALSE, verbatim=FALSE, verbose=FALSE)
x |
CRS object, or object from which it can be extracted with |
y |
same as |
unknown |
logical. Return |
verbatim |
logical. If |
verbose |
logical. If |
logical
sp::identicalCRS
, crs
compareCRS("+proj=lcc +lat_1=48 +lat_2=33 +lon_0=-100 +ellps=WGS84",
"+proj=longlat +datum=WGS84")
compareCRS("+proj=longlat +datum=WGS84 +no_defs +ellps=WGS84 +towgs84=0,0,0",
"+proj=longlat +datum=WGS84")
compareCRS("+proj=longlat +datum=WGS84 +no_defs +ellps=WGS84 +towgs84=0,0,0",
"+proj=longlat +datum=WGS84", verbatim=TRUE)
compareCRS("+proj=longlat +datum=WGS84", NA)
compareCRS("+proj=longlat +datum=WGS84", NA, unknown=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.