crsMerc function

Some coordinate reference systems and bounding boxes

Some coordinate reference systems and bounding boxes

Defines CRS's for the several map projections.

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

Returns

objects of class crs or numeric vectors.

References

https://en.wikipedia.org/wiki/Web_Mercator, https://spatialreference.org/ref/epsg/4326/

See Also

crs

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))
  • Maintainer: Patrick Brown
  • License: GPL
  • Last published: 2024-04-16

Useful links