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

Apply suggestion to Modules/Segmentation/Conversion/include/otbPersistentImageToOGRLayerFilter.hxx

parent c2df4f82
No related branches found
No related tags found
No related merge requests found
......@@ -92,7 +92,7 @@ void PersistentImageToOGRLayerFilter<TImage>::Initialize()
#if GDAL_VERSION_NUM >= 3000000 // importFromWkt is const-correct in GDAL 3
// Use the same mapping strategy as the one in the datasource.
auto mappingStrategy =m_OGRLayer.GetSpatialRef()->GetAxisMappingStrategy ();
auto mappingStrategy = m_OGRLayer.GetSpatialRef()->GetAxisMappingStrategy();
oSRS.SetAxisMappingStrategy(mappingStrategy);
oSRSESRI.SetAxisMappingStrategy(mappingStrategy);
#endif
......
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