Issue Type: Bug Bug
Affects Versions: 2.7.5
Assignee: Unassigned
Attachments: JDBCAccessPGRaster.java
Components: imagemosaic-jdbc plugin
Created: 10/Aug/12 10:21 AM
Description:

Please refer to my posting in the devel list:
http://osgeo-org.1560.n6.nabble.com/image-mosaic-jdbc-using-Float-32-for-pixel-value-td4993699.html#a4994432

there is called the following statement in the location:
class: org.geotools.gce.imagemosaic.jdbc.custom.JDBCAccessPGRaster
method: startTileDecoders(Rectangle pixelDimension, GeneralEnvelope requestEnvelope, ImageLevelInfo levelInfo, inkedBlockingQueue<TileQueueElement> tileQueue,GridCoverageFactory coverageFactory)
line: 183 (String gridStatement = statementMap.get(levelInfo);

statementMap.get(levelInfo) should return instead of the string:
SELECT st_asbinary(st_envelope (rast)),st_aspng(rast) from snowcover where st_intersects(rast ,ST_GeomFromWKB(?,?))

SELECT st_asbinary(st_envelope (rast)),st_astiff(rast) from snowcover where st_intersects(rast ,ST_GeomFromWKB(?,?));

please replace it with the following code:
in line 512:

I added the modification in the attached file

regards Markus

Environment: MaxOs X, jdk 1.6,
Project: GeoTools
Priority: Major Major
Reporter: markus innerebner
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to