StreamingRenderer parameters property

Description

StreamingRenderer crashes with ClassCastException in last line below, since gridPropertyName.evaluate is ImageMosaicReader instance

// then I try to get read parameters associated with this
// coverage if there are any.
final Object params =gridPropertyName.evaluate( drawMe);
final GridCoverage2D coverage;
if (params != null) {
// //
//
// Getting parameters to control how to read this coverage.
// Remember to check to actually have them before forwarding
// them to the reader.
//
// //
GeneralParameterValue[] readParams = (GeneralParameterValue[]) params;

I think property evaluation should be :

final Object params =paramsPropertyName.evaluate( drawMe);

Environment

None

Activity

Show:
codehaus
April 10, 2015, 3:18 PM

CodeHaus Comment From: aaime - Time: Mon, 5 Mar 2007 09:35:12 -0600
---------------------
Hi Simone, do you know anything about this?

Fixed

Assignee

Unassigned

Reporter

codehaus

Triage

None

Components

Fix versions

Affects versions

Priority

Medium
Configure