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

BUG: remove .Fixup() for GDAL 2.5 compatibility

No related merge requests found
Showing with 2 additions and 0 deletions
+2 -0
......@@ -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;
......
Supports Markdown
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