W dniu 2015-06-26 o 03:57, Phil Scadden pisze: > On 2.6.1, if a raster is reprojected, then "empty" space (where there is > no corresponding locatoin in the unprojected raster) around the edges of > the projected tile are showing up coloured instead of transparent. I > know is a known bug with Geotools. Has it been fixed in any later version? >
After a small investigation I found a workaround for that issue. That "empty spaces" outside borders of original raster are given a value of 255 instead of "no data" during reprojection process. So, if your scale has defined a colour for such value, that will be the border... Defining a new level exactly for 255 with zero opacity would help. Another method is to rescale original data (e.g. from Kelvins to Celsius, in my case) to avoid 255 at all. Do you know the number of the bug report for that case (if any)? Regards Maciej ------------------------------------------------------------------------------ _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
