hi everyone,

it looks like that imagemosaic-jdbc only supports png format. For a project
in our research group we have to support also tiff files with float pixel
values. 

i started to look into the code and know where to make the modifications.

My question now is:
I have to create a BufferedImage that deals with float values coming from a
float data buffer, filled with data coming from the database.

- postgis database returns at tif (st_astiff) in binary array
- the array is passed to the jai decoder from which i get a buffered image


- the buffered image has then as color model:

- the buffered image has then as sample model:


The problem is now, that when making a getfeatureinfo on that wms layer with
geoserver I get incorrect values, while the shape of the image is ok.

Any suggestion what am I doing wrong? 
Do I use the wrong sample model?

thanks for any help

Markus





--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Extending-image-mosaic-jdbc-with-tif-float-type-support-tp4998380.html
Sent from the geotools-devel mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to