Extended filename parameters not updated when calling ImageFileReader<>::SetFileName() several times
Mantis Issue 1083, reported by salbert, assigned to gpasero, created: 2015-10-13
When calling otb::ImageFileReader<>::SetFileName() more than one time, the extended filename parameters are not updated correctly. Instead, an warning message is output onto the console since the second call.
1445010717 - gpaseroIn fact, the check for duplicated options in a single extended filename has a reason to be. The problem is that the options are directly registered in the final option map. There should be an intermediate map to store options from the input extended filename, then it is copied into the final map m_OptionMap
1445011203 - gpaseroPersistence of options in the ExtendedFilenameHelper is not a good idea, the OptionMap should be cleared every time a new extended filename is set.
1445012649 - gpaseroFixed in 5.0 and develop : https://git.orfeo-toolbox.org/otb.git/commit/0c926e81d0c3a55bbdf1aece78309acbd76ea28e