crsMerc {mapmisc} | R Documentation |
Some coordinate reference systems and bounding boxes
Description
Defines CRS's for the several map projections.
Usage
crsMerc
crsLL
crsCanada
extentMerc
bboxLLsafe
bboxLL
Format
crsMerc
spherical Mercator projection used by web mapping services, epsg:3857
crsLL
long-lat, epsg:4326
crsCanada
customized oblique mercator for Canada
bboxLL
polygon of bounding box of long-lat, -180 to 180, -90 to 90
bboxLLsafe
as bboxLL, but slightly away from the edges
extentMerc
extent of spherical mercator projections
Details
these objects are used internally and may be of interest to the user
Value
objects of class crs
or numeric vectors.
References
https://en.wikipedia.org/wiki/Web_Mercator, https://spatialreference.org/ref/epsg/4326/
See Also
Examples
terra::crs(crsMerc, proj=TRUE)
terra::crs(crsLL, proj=TRUE)
terra::crs(crsCanada, proj=TRUE)
terra::ext(extentMerc)
bboxLLsafe = terra::unwrap(bboxLLsafe)
plot(bboxLLsafe)
plot(terra::project(bboxLLsafe, crsMerc))
[Package mapmisc version 2.1.0 Index]