Uploaded image for project: 'GeoTools'
  1. GEOT-5736

ImageWorker mosaic operation can return results with the wrong ROI

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 16.4, 17.2, 18-beta
    • Component/s: coverage
    • Labels:
      None

      Description

      The mosaic code tries to remove the output ROI if the background parameter was used (as the ROI is no more needed), but JAI sees that and picks the ROI of the first source as a consequence (and we cannot do anything about it). So in those cases, add back a simple rectangular ROI covering the whole image instead.
      This in turn breaks any attempt at mosaicking images, as the WMS output code nowadays cuts on the image ROI property (so image mosaics, but also any raster dateline wrapping)

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                aaime Andrea Aime
                Reporter:
                aaime Andrea Aime
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: