Commit 5b1802b6 authored by Victor Poughon's avatar Victor Poughon

BUG: remove .Fixup() for GDAL 2.5 compatibility

parent caad42d6
Pipeline #1184 passed with stages
in 49 minutes and 16 seconds
......@@ -200,7 +200,9 @@ unsigned int SpatialReference::ToEPSG() const
OGRSpatialReferencePtr tmpSRS(m_SR->Clone());
#if GDAL_VERSION_NUM < 2050000
tmpSRS->Fixup();
#endif
tmpSRS->AutoIdentifyEPSG();
const char * epsg = nullptr;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment