Thanks.
Will do.
- Mike
On Wed, Apr 9, 2014 at 3:39 AM, Daniele Romagnoli <
daniele.romagn...@geo-solutions.it> wrote:
> 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.gro...@gmail.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:
>>
>> <Transformation>
>> <ogc:Function name="gs:ScaleCoverage">
>> <ogc:Function name="parameter">
>> <ogc:Literal>coverage</ogc:Literal>
>> </ogc:Function>
>> <ogc:Function name="parameter">
>> <ogc:Literal>xScale</ogc:Literal>
>> <ogc:Literal>3</ogc:Literal>
>> </ogc:Function>
>> <ogc:Function name="parameter">
>> <ogc:Literal>yScale</ogc:Literal>
>> <ogc:Literal>3</ogc:Literal>
>> </ogc:Function>
>> <ogc:Function name="parameter">
>> <ogc:Literal>xTranslate</ogc:Literal>
>> <ogc:Literal>0</ogc:Literal>
>> </ogc:Function>
>> <ogc:Function name="parameter">
>> <ogc:Literal>yTranslate</ogc:Literal>
>> <ogc:Literal>0</ogc:Literal>
>> </ogc:Function>
>> <ogc:Function name="parameter">
>> <ogc:Literal>interpolation</ogc:Literal>
>> <ogc:Literal>BILINEAR</ogc:Literal>
>> </ogc:Function>
>> </ogc:Function>
>> </Transformation>
>>
>> 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@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>>
>
------------------------------------------------------------------------------
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users