Skip to content
Snippets Groups Projects
Commit 33a29070 authored by Luc Hermitte's avatar Luc Hermitte
Browse files

COM: OTB-151/GeometriesProjectionFilter -> support of GDAL < 1.9.0

parent f89166bb
No related branches found
No related tags found
No related merge requests found
......@@ -36,7 +36,11 @@ struct SwapXYFunctor
otb::ogr::UniqueGeometryPtr out(in ? in->clone() : 0);
if (out)
{
#if GDAL_VERSION_NUM >= 1900
out->swapXY();
#else
assert(!"Sorry, This example filter requires GDAL v1.9.0 or later");
#endif
}
return boost::move(out);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment