Commit a9ad9c59 authored by Cédric Traizet's avatar Cédric Traizet

ENH: tradition gis axis mapping strategy in VectorDataIO

parent cac054c7
Pipeline #1698 passed with stages
in 61 minutes and 36 seconds
......@@ -289,6 +289,9 @@ void OGRVectorDataIO::Write(const itk::DataObject* datag, char ** /** unused */)
if (projectionInformationAvailable)
{
oSRS = static_cast<OGRSpatialReference *>(OSRNewSpatialReference(projectionRefWkt.c_str()));
#if GDAL_VERSION_NUM >= 3000000
oSRS->SetAxisMappingStrategy(OAMS_TRADITIONAL_GIS_ORDER);
#endif
}
// Retrieving root node
......
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