I'm trying to get proj strings from cartopy crs', such as cartopy.crs.PlateCarree(). I can manually infer the proj string from the init() function in the source code but I need to query it, so I can apply it to a tiff file with gdal.

I'm trying to avoid adding modules outside from scipy, numpy, gdal, cartopy, OWSLib, MatPlotLib, and Pillow.

Is there a solution?

1 Answer 1


To get proj string of cartopy.crs.PlateCarree() projection, one can run this code:

import cartopy

the output will be:

'+ellps=WGS84 +a=57.29577951308232 +proj=eqc +lon_0=0.0 +no_defs'

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.