Hi Frank
Sorry for the late reply. If you apply the patch, does it break the build
?. If not, please make a pull request.
Cheers
Christian
On Tue, Jul 5, 2016 at 3:02 PM, Frank Gevaerts <frank.gevae...@fks.be>
wrote:
> Hi,
>
> In geotools 14.<latest> (built from the 14.x branch) Im'm seeing the
> following exception when using PGRaster:
>
> Exception in thread "Thread-35" java.lang.ClassCastException:
> java.awt.image.Raster cannot be cast to java.awt.image.WritableRaster
> at
> org.geotools.gce.imagemosaic.jdbc.AbstractThread.rescaleImageViaPlanarImage(AbstractThread.java:108)
> at
> org.geotools.gce.imagemosaic.jdbc.ImageComposerThread.run(ImageComposerThread.java:170)
>
> I don't know if it still happens in later versions, but I don't think the
> relevant code has changed much. The attached patch makes the problem go
> away, but as I don't fully understand the problem I'm not sure if it's the
> right fix.
>
> Frank
>
> --
> Frank Gevaerts frank.gevae...@fks.be
> fks bvba - Formal and Knowledge Systems http://www.fks.be/
> Schampbergstraat 32 Tel: ++32-(0)11-21 49 11
> B-3511 KURINGEN-HASSELT Fax: ++32-(0)11-22 04 19
>
>
> ------------------------------------------------------------------------------
> What NetFlow Analyzer can do for you? Monitors network bandwidth and
> traffic
> patterns at an interface-level. Reveals which users, apps, and protocols
> are
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> J-Flow, sFlow and other flows. Make informed decisions using capacity
> planning
> reports.http://sdm.link/zohodev2dev
> _______________________________________________
> GeoTools-Devel mailing list
> GeoTools-Devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>
>
--
DI Christian Mueller MSc (GIS), MSc (IT-Security)
OSS Open Source Solutions GmbH
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel