[Geoserver-users] Strange borders appearing when rendering rasters with negative No_data

Hi all,

When rendering a geoTiff the borders of the layer are strangely colored although there is no data.

This happens when:

Layer is a GeoTiff, type Float32 and No_data is set to a NEGATIVE value. In this particular case the wrong border appear with the color related to the value 0 of the style used.

Geoserver is 2.5.1 using JAI. I’ve tried to reproduce the problem in a Geoserver installation (2.4) without JAI and in this case it not occurs.

Also if I modify the layer (using GDAL commands) setting NODATA=0 the problem don’t occur anymore.

Do you have any suggestion about how to solve this matter?

Cheers

Roberto