https://spatialreference.org/ref/esri/54030/
On Tue, 14 Jan 2025, 00:08 Even Rouault via gdal-dev, < gdal-dev@lists.osgeo.org> wrote: > > Le 13/01/2025 à 23:36, afernandez via gdal-dev a écrit : > > 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 > > 54030 is not a EPSG CRS but a ESRI one, so use > srs.SetFromUserInput("ESRI:54030") > > Even > > -- > > http://www.spatialys.com > My software is free, but my time generally not. > Butcher of all kinds of standards, open or closed formats. At the end, this > is just about bytes. > > _______________________________________________ > gdal-dev mailing list > gdal-dev@lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/gdal-dev >
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev