Hi. I 'm trying to build a Kmeans Image clustering algorithm into WPS service.
My project consist of two java classes: the first one contains the actual
algorithm and the other contains the DescribeParameter etc. The first class
uses JAI and the output image is TiledImage. I have build the project into
geoserver and the second class work fine , so i can populate the
parameters.When I try to run it , I get a black image as an output(but it
doesn't crashes). The log I get is the following:
2014-04-08 15:27:51,436 INFO [geoserver.wps] -
Request: execute
service = WPS
version = 1.0.0
baseUrl = http://localhost:8080/geoserver/
identifier:
value = gs:Kmeans
dataInputs:
input[0]:
identifier = net.opengis.ows11.impl.CodeTypeImpl@1ca99bc (value:
coverage, codeSpace: null)
reference = net.opengis.wps10.impl.InputReferenceTypeImpl@33089c
(body: net.opengis.wcs11.impl.GetCoverageTypeImpl@7a5697 (service: WCS,
version: 1.1.1, baseUrl: null, extendedProperties: {}), encoding: null, href:
http://geoserver/wcs, method: POST, mimeType: image/tiff, schema: null)input[0]:
identifier = net.opengis.ows11.impl.CodeTypeImpl@1cae322 (value:
number of clusters, codeSpace: null)
data = net.opengis.wps10.impl.DataTypeImpl@106078binput[0]:
identifier = net.opengis.ows11.impl.CodeTypeImpl@d95700 (value:
maximum iterations, codeSpace: null)
data = net.opengis.wps10.impl.DataTypeImpl@ded3e6input[0]:
identifier = net.opengis.ows11.impl.CodeTypeImpl@129be35 (value:
epsilon, codeSpace: null)
data = net.opengis.wps10.impl.DataTypeImpl@186a0bd
responseForm:
Note that the algorithm is running well on eclipse and i get the segmented
image as expected.
What may I have done wrong?
I 'm running geoserver 2.4.0 with the updated patch main 2.4 - SNAPSHOT
------------------------------------------------------------------------------
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-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel