[Geotools-devel] imagemosaic-jdbc pgraster time domain support

2016-07-14 Thread Frank Gevaerts
Hi, I've been working on adding time domain support to imagemosaic-jdbc, specifically for pgraster. The current state is that it seems to work, but it's really probably at a proof of concept stage. I haven't done anything about tests or documentation, yet, and apart from making sure things stil

[Geotools-devel] imagemosaic-jdbc pgraster blobAttributeName (and fix)

2016-07-14 Thread Frank Gevaerts
Hi, One place (getNoDataValue()) in the pgraster driver in imagemosaic-jdbc assumes that the raster column in the database is named 'rast', so setting blobAttributeName to something different doesn't work. I'm attaching a proposed fix. I can submit a PR if needed, but I'll wait for comments firs

[Geotools-devel] ClassCastException in imagemosaic-jdbc

2016-07-14 Thread Frank Gevaerts
Hi, In geotools 14. (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.AbstractThr