Hello,
Many GDAL functions can return nullptr (e.g. OSRGetName, OSRGetAuthorityCode
etc.), but it's not clear if they set an error message that can be retrieved
using CPLGetLastErrorMsg. I tried to check the code, but CPLErrorSetState isn't
called from many places, so I'm probably missing something like a PROJ/GEOS
error handler that sets it.
Is there any rule-of-thumb for figuring out when CPLGetLastErrorMsg should be
used?
Thanks,
Laurentiu
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev