Thanks Even,
That solved the problem.
I've read the manual several times today but overlooked that the parameter
should be a list.
Our code hasn't changed for years so this bug was unnoticed for a very long
time ;)
Regards,
Paul
Op vr 4 feb. 2022 om 16:56 schreef Even Rouault :
> RTF(antasti
RTF(antastic)M :-)
==>
https://gdal.org/doxygen/classOGRSpatialReference.html#af91af2639702e2793daf93ffe231b577
:
Parameters
papszPrj NULL terminated list of strings containing the definition.
So change your code to something like:
char apszPrj[2];
char* s = proj.GetBuffer();
a
Hi List,
We use GDAL v3+ in our Open Source mapping application MapWinGIS.
We build using VS2019 on Windows and we use the files from GisInternals.
We have a GeoProjection class which in turn calls
some/most OGRSpatialReference methods.
When calling OGRSpatialReference.importFromESRI() compiled f