Skip to content
Snippets Groups Projects
Commit af782952 authored by Victor Poughon's avatar Victor Poughon
Browse files

BUG: remove .Fixup() for GDAL 2.5 compatibility

parent 90cb7271
No related branches found
No related tags found
1 merge request!479BUG: remove .Fixup() for GDAL 2.5 compatibility (release 6.6.2)
......@@ -77,7 +77,9 @@ int GeoInformationConversion::ToEPSG(const std::string &wkt)
{
int code = -1;
OGRSpatialReference srs(wkt.c_str());
#if GDAL_VERSION_NUM < 2050000
srs.Fixup();
#endif
srs.AutoIdentifyEPSG();
const char * epsg = nullptr;
if (srs.IsGeographic())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment