[gdal-dev] Issue with Robinson projection
Javier Jimenez Shaw
j1 at jimenezshaw.com
Mon Jan 13 15:09:21 PST 2025
54030 is definitely not a valid CRS in epsg
Do you mean this one?
https://epsg.org/crs_23328/NAD83-2011-ICS83-Robinson-ftUS.html
On Tue, 14 Jan 2025, 00:02 afernandez via gdal-dev, <
gdal-dev at lists.osgeo.org> wrote:
> Hello,
> The following snippet works fine
> # epsg = 54030
> epsg = 4326
> srs = osr.SpatialReference()
> srs.ImportFromEPSG(epsg)
> However, and when I switch epsg to 54030 (which I believe it's the value
> for the Robinson projection), it generates the error:
> File "/usr/lib/python3/dist-packages/osgeo/osr.py", line 772, in
> ImportFromEPSG
> return _osr.SpatialReference_ImportFromEPSG(self, *args)
> RuntimeError: PROJ: proj_create_from_database: crs not found
> Thanks.
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20250114/b681cdaa/attachment.htm>
More information about the gdal-dev
mailing list