Hello, all.
I am trying to invoke the gs:ScaleCoverage WPS as a Transformation on a coverage from within an SLD. This works with all of the inputs (xScale, yScale, etc.) EXCEPT for interpolation. No matter what value I provide for interpolation, I get an error:
Caused by: java.security.InvalidParameterException: Could not convert the value BILINEAR into the expected type class javax.media.jai.Interpolation for parameter interpolation
at org.geotools.process.function.ProcessFunction.evaluateInputs(ProcessFunction.java:203)
at org.geotools.process.function.ProcessFunction.evaluate(ProcessFunction.java:108)
at org.geotools.renderer.lite.StreamingRenderer.applyRenderingTransformation(StreamingRenderer.java:2230)
at org.geotools.renderer.lite.StreamingRenderer.processStylers(StreamingRenderer.java:2015)
at org.geotools.renderer.lite.StreamingRenderer.paint(StreamingRenderer.java:829)
at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:491)
… 106 more
Even though BILINEAR is stated as an acceptable value for this parameter.
The excerpt from my SLD is below:
coverage
xScale
3
yScale
3
xTranslate
0
yTranslate
0
interpolation
BILINEAR
Any help and direction is appreciated !
Thanks,
Mike Grogan
Hi Mike,
can you open a JIRA for this?
I think that an InterpolationConverter is unavailable.
(__Converter__s are objects which convert a type into another one… In this case, a “String” to an “Interpolation” instance).
Cheers,
Daniele
···
==
Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
for more information.
Ing. Daniele Romagnoli
Senior Software Engineer
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
On Wed, Apr 9, 2014 at 1:54 AM, Mike Grogan <d.michael.grogan@anonymised.com> wrote:
Hello, all.
I am trying to invoke the gs:ScaleCoverage WPS as a Transformation on a coverage from within an SLD. This works with all of the inputs (xScale, yScale, etc.) EXCEPT for interpolation. No matter what value I provide for interpolation, I get an error:
Caused by: java.security.InvalidParameterException: Could not convert the value BILINEAR into the expected type class javax.media.jai.Interpolation for parameter interpolation
at org.geotools.process.function.ProcessFunction.evaluateInputs(ProcessFunction.java:203)
at org.geotools.process.function.ProcessFunction.evaluate(ProcessFunction.java:108)
at org.geotools.renderer.lite.StreamingRenderer.applyRenderingTransformation(StreamingRenderer.java:2230)
at org.geotools.renderer.lite.StreamingRenderer.processStylers(StreamingRenderer.java:2015)
at org.geotools.renderer.lite.StreamingRenderer.paint(StreamingRenderer.java:829)
at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:491)
… 106 more
Even though BILINEAR is stated as an acceptable value for this parameter.
The excerpt from my SLD is below:
coverage
xScale
3
yScale
3
xTranslate
0
yTranslate
0
interpolation
BILINEAR
Any help and direction is appreciated !
Thanks,
Mike Grogan
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users