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

2016-05-02 Thread Paolo Corti
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"  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
>
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


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

2016-05-02 Thread Paolo Corti
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

--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users