diff --git a/Code/UtilitiesAdapters/OGRAdapters/otbOGRGeometryWrapper.cxx b/Code/UtilitiesAdapters/OGRAdapters/otbOGRGeometryWrapper.cxx index c75b23181cfab4de06cac55f955883c7d4614192..8e45c25c63d780015b17cf9b9c6407b84961268f 100644 --- a/Code/UtilitiesAdapters/OGRAdapters/otbOGRGeometryWrapper.cxx +++ b/Code/UtilitiesAdapters/OGRAdapters/otbOGRGeometryWrapper.cxx @@ -22,7 +22,7 @@ #include "otbOGRGeometryWrapper.h" #include "ogr_geometry.h" -#if GDAL_VERSION_NUM < 1800 +#if GDAL_VERSION_NUM < 1900 # include "itkMacro.h" #endif @@ -140,7 +140,7 @@ otb::ogr::UniqueGeometryPtr otb::ogr::SimplifyPreserveTopology(OGRGeometry const return UniqueGeometryPtr(g.SimplifyPreserveTopology(tolerance)); #else itkGenericExceptionMacro("OGRGeometry::Simplify is not supported by OGR v" - << GDAL_VERSION_NUM << ". Upgrade to a version >= 1.8.0, and recompile OTB."); + << GDAL_VERSION_NUM << ". Upgrade to a version >= 1.9.0, and recompile OTB."); #endif }