[Geoserver-devel] [jira] (GEOS-6213) Image Enhancement unable to sample from centre of raster

Jody Garnett created BugGEOS-6213
Image Enhancement unable to sample from centre of raster

Issue Type:

BugBug

Affects Versions:

2.4.0

Assignee:

Andrea Aime

Attachments:

gamma1.png, gamma2.png, gamma3.png

Components:

CSS

Created:

04/Dec/13 6:46 AM

Description:

This issue was originally reported against CSS module where the problem was observed. It looks to be a wider reaching issue effecting the OpenLayer preview. As with any glitch this is going to be annoying to report, grab me on IRC if you need a hand reproducing this one.

Working with a very basic raster contrast enhancement:

  * {
     raster-channels: auto;
     raster-contrast-enhancement: none;
     raster-gamma: 0.5;
   }

Which produces:

<sld:RasterSymbolizer>
  <sld:ContrastEnhancement>
     <sld:GammaValue>0.5</sld:GammaValue>
  </sld:ContrastEnhancement>
</sld:RasterSymbolizer>

Tests:

  1. Full image layer preview - works!
  2. Zoom in one level - fail with no output
  3. Zoom in to top left corner - works!

So it looks like we are running into an optimisation failure, as long the GetMap request includes the top left corner the expected output is produced. The moment that is off the screen we get nothing back.

Environment:

OSX 10.9

Project:

GeoServer

Priority:

MajorMajor

Reporter:

Jody Garnett

This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: [http://www.atlassian.com/software/jira](http://www.atlassian.com/software/jira)