Skip to content
Snippets Groups Projects
Commit a9ad9c59 authored by Cédric Traizet's avatar Cédric Traizet
Browse files

ENH: tradition gis axis mapping strategy in VectorDataIO

parent cac054c7
Branches
Tags
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment