Fix #2208 (closed)
ExtractROI with the extent mode tests the input coordinates to check that the Upper Left point and the Lower Right point are well positioned. When the user provides physical coordinates (option
-mode.extent.unit phy), the position can vary, depending on the projection system. This MR proposes to first convert the coordinates from physical to index, then test the positions.
- otbExtractROI.cpp: move the test after the coordinates conversion.
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 -ion latest changes and commit