GeoTools
  1. GeoTools
  2. GEOT-2983

Improve mosaic management when requesting very small area where no granule data is available

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.6.2
    • Fix Version/s: 2.6.3, 2.7-M0
    • Component/s: imagemosaic plugin
    • Labels:
      None

      Description

      When requesting a very small area (as an instance a tiny vertical stripe having width = 1) on the edge of a mosaic, in case there isn't any granule data to be loaded in that area, the underlying computations may result in defining a raster bound having width (for that example) = 0. Therefore, the JAI "Constant" operation involved in producing the background to fill the requested area may throw an IllegalArgumentException (being the width = 0). In that case, forcing the width of the background stripe to be at least 1 pixel wide, will fix that behaviour.

        Activity

        Hide
        Daniele Romagnoli added a comment -
        Committed on:
        2.6.x as revision r35064
        trunk as revision r35055
        Show
        Daniele Romagnoli added a comment - Committed on: 2.6.x as revision r35064 trunk as revision r35055

          People

          • Assignee:
            Daniele Romagnoli
            Reporter:
            Daniele Romagnoli
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: