Commit 002d355d authored by Cédric Traizet's avatar Cédric Traizet

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

parent c2df4f82
Pipeline #5089 failed with stages
in 66 minutes and 58 seconds
......@@ -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
......
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