Commit af782952 authored by Victor Poughon's avatar Victor Poughon
Browse files

BUG: remove .Fixup() for GDAL 2.5 compatibility

parent 90cb7271
......@@ -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())
......
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