[Geoserver-users] java.lang.ClassCastException with TRANSPARENT=TRUE in GetMap request

Hi

I am experiencing exactly this problem:
http://osgeo-org.1560.x6.nabble.com/Got-ClassCastException-rendering-Landsat-GeoTIFF-image-td5106677.html

The image is correctly rendered with TRANSPARENT=FALSE in the GetMap
request, while it is raising the error (java.lang.ClassCastException)
when in the request I have TRANSPARENT=TRUE.

I see that this was fixed in GeoTools, but unluckily I have not the
option to update GeoServer to a newer version right now.

So I was wondering if there is a way to modify the image with GDAL in
some way that GeoServer won't raise this kind of error.

Thanks
p

--
Paolo Corti
Geospatial software developer
web: http://www.paolocorti.net
twitter: @capooti
skype: capooti

In this case, reprojecting the layer to the srs needed by our client fixed things.
P

On May 2, 2016 11:06 AM, “Paolo Corti” <pcorti@anonymised.com> wrote:

Hi

I am experiencing exactly this problem:
http://osgeo-org.1560.x6.nabble.com/Got-ClassCastException-rendering-Landsat-GeoTIFF-image-td5106677.html

The image is correctly rendered with TRANSPARENT=FALSE in the GetMap
request, while it is raising the error (java.lang.ClassCastException)
when in the request I have TRANSPARENT=TRUE.

I see that this was fixed in GeoTools, but unluckily I have not the
option to update GeoServer to a newer version right now.

So I was wondering if there is a way to modify the image with GDAL in
some way that GeoServer won’t raise this kind of error.

Thanks
p


Paolo Corti
Geospatial software developer
web: http://www.paolocorti.net
twitter: @capooti
skype: capooti