cartopy.crs.epsg

cartopy.crs.epsg(code)[source]

Return the projection which corresponds to the given EPSG code.

The EPSG code must correspond to a “projected coordinate system”, so EPSG codes such as 4326 (WGS-84) which define a “geodetic coordinate system” will not work.

Note

The conversion is performed by pyproj.CRS.