Commit 42a9081a authored by Victor Poughon's avatar Victor Poughon

Merge branch 'gdal-fixup-develop' into 'develop'

BUG: remove .Fixup() for GDAL 2.5 compatibility (develop fix)

See merge request orfeotoolbox/otb!480
parents 57b0a16e 5b1802b6
Pipeline #1241 passed with stages
in 5 minutes and 34 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