getEPSG: Return an EPSG code

View source: R/getEPSG.r

getEPSGR Documentation

Return an EPSG code

Description

This function returns the EPSG code for a particular coordinate reference system and projection.

Usage

getEPSG(x)

Arguments

x

Character. Name of EPSG code to return. Letter case is not important, but included below to aid memory (at least mine). Possible values include:

  • albersNA Albers equal-area conic for North America: 102008

  • albersCONUS Albers equal-area conic for coterminous United States: 5070

  • chelsa CHELSA climate dataset (actually WGS84): 4326.

  • lccCONUS Lambert conformal conic for conterminous United States: 102004

  • lccEp Lambert conformal conic for Europe: 3034

  • lccNA Lambert conformal conic for North America: 102009

  • conusLccNA Lambert conformal conic for conterminous United States: 102004

  • lccNAsia Lambert conformal conic for North Asia: 102027

  • lccSA Lambert conformal conic for South America: 102015

  • lccSAsia Lambert conformal conic for South Asia: 102030

  • laeaN Lambert azimuthal equal area for the North Pole: 102017

  • laeaS Lambert azimuthal equal area for the South Pole: 102020

  • mollweide Mollweide equal-area for the world: 54009

  • nad27 NAD27 (unprojected): 4267

  • nad83 NAD83 (unprojected): 4269

  • plateCaree Plate Caree using WGS84: 32662

  • robinson Robinson: 54030

  • wgs72 CRS for WGS72 (unprojected): 4322

  • wgs84 CRS for WGS84 (unprojected): EPSG: 4326.

  • worldclim WORLDCLIM climate data set (actually WGS84): 4326

Value

Integer.

See Also

getCRS

Examples

getEPSG('wgs84')
getEPSG('albersNA')
getEPSG('mollweide')

adamlilith/enmSdm documentation built on Jan. 6, 2023, 11 a.m.