Refactor the superimpose PHR mode
Summary
Remove Ossim usage in the Superimpose and BundleToPerfectSensor PHR modes.
The source code of DimapMetadataHelper
has also been moved from the .h file to a .cxx file.
This Merge Request also fixes a bug in otb::Metadata::Duration::TotalSeconds()
: the number of seconds corresponding to the duration was computed as 1e9 times the number of nanoseconds, instead of 1e-9.
Closes #2215 (closed)
Copyright
The copyright owner is CNES and has signed the ORFEO ToolBox Contributor License Agreement.
Check before merging:
- All discussions are resolved
- At least 2
👍 votes from core developers, no👎 vote. - The feature branch is (reasonably) up-to-date with the base branch
- Dashboard is green
- Copyright owner has signed the ORFEO ToolBox Contributor License Agreement
- Optionally, run
git diff develop... -U0 --no-color | clang-format-diff.py -p1 -i
on latest changes and commit
Edited by Cédric Traizet