GeoTools
  1. GeoTools
  2. GEOT-1642

Mosaic background odd behaviour

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5.8, 2.6-M3
    • Component/s: imagemosaic plugin
    • Labels:
      None

      Description

      Mosaic background behaviour is odd.
      The first two attachments, mosaicBackground and mosaicTransparent, show what happens with an irregularly shaped mosaic when moving around an "inner corner of it":

      • mosaicBackGround has on the top two tiles that keep the black color of the background everywhere behind them
      • panning a little down, so that the two tiles are out of the bounds, makes the same area become white

      The third image has been generated using the same irregularly shaped mosaic but using OpenLayers in tiled mode, the result is that depending on the tile you might get the black background, a white background, or the "missing image" filler.

      Simone, if you want I can try to provide a patch.

      1. mosaicBlackground.jpg
        43 kB
      2. mosaicTileOddity.jpg
        97 kB
      3. mosaicTransparent.jpg
        38 kB

        Issue Links

          Activity

          Hide
          Andrea Aime added a comment -
          Added target component and reassigned to me
          Show
          Andrea Aime added a comment - Added target component and reassigned to me
          Hide
          Simone Giannecchini added a comment -
          Added minor temporary fix for the black areas on 2.5.x.
          Show
          Simone Giannecchini added a comment - Added minor temporary fix for the black areas on 2.5.x.
          Hide
          Simone Giannecchini added a comment -
          Now the usre can set the mosaic background value via a specific read parameter called BackgroundValues. See here for more info http://docs.geoserver.org/1.7.x/en/user/tutorials/image_mosaic_plugin/imagemosaic.html
          Show
          Simone Giannecchini added a comment - Now the usre can set the mosaic background value via a specific read parameter called BackgroundValues. See here for more info http://docs.geoserver.org/1.7.x/en/user/tutorials/image_mosaic_plugin/imagemosaic.html

            People

            • Assignee:
              Simone Giannecchini
              Reporter:
              Andrea Aime
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: