ExtractROI: Test inverted extent on indices instead of physical coordinates
- Aug 02, 2021
-
-
Julien Osman authored
See #2208
-
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.
The copyright owner is CNES and has signed the ORFEO ToolBox Contributor License Agreement.
Check before merging:
git diff develop... -U0 --no-color | clang-format-diff.py -p1 -i
on latest changes and commitSee #2208