[ZOO-Discuss] Using zoo project to process a raster file

Gérald Fenoy gerald.fenoy at geolabs.fr
Wed May 25 05:21:00 PDT 2011


Hello Thomas,
sorry for late answer.

Nice to hear that you run the Workshop material.

When you are passing input data by reference specifying an xlink:href attribute, as you did in your example, it means that ZOO-Kernel is waiting for a downloadable ressource, a URL.
Nevertheless, the ZOO-Kernel should return a more informative message letting the user know that the provided input is wrong which is not the case right now.

Hope this helps,
Best regards,


Le 24 mai 2011 à 23:54, Thomas Tilak a écrit :

> Hello,
> 
> I am trying to use zoo project framework to process a raster file (actually, for now just to extract a ROI).
> I have performed zoo project workshop and I have studied the Boundary C function hoping to use it to write my extract function.
> I have a problem with the inputs. I am using th console version with the following commands:
> 
> ./zoo_loader.cgi "request=Execute&service=WPS&version=1.0.0&Identifier=Boundary&DataInputs=InputPolygon=Reference at xlink:href=http%3A%2F%2Fwww.zoo-project.org%3A8082%2Fgeoserver%2Fows%3FSERVICE%3DWFS%26REQUEST%3DGetFeature%26VERSION%3D1.0.0%26typename%3Dtopp%3Astates%26SRS%3DEPSG%3A4326%26FeatureID%3Dstates.28&RawDataOutput=Result at mimeType=application/json"
> ./zoo_loader.cgi "request=Execute&service=WPS&version=1.0.0&Identifier=Boundary&DataInputs=InputPolygon=Reference at xlink:href=%2Fhome%2Fuser%2Ftest_gml.gml&RawDataOutput=Result at mimeType=application/json"
> 
> The first command works perfectly but in the second one, it crashes and gives the message:  "ZOO Kernel failed to process your request receiving signal 11 = SIGSEGV"
> I have attached the gml file used to my message.
> 
> I would like to know how exactly should be the inputs set to fit zoo project expectations. Do you have an example of service working with raster file?
> 
> Thank you.
> 
> 
> Thomas.
> 
> 
> 
> <test_gml.gml>_______________________________________________
> Zoo-discuss mailing list
> Zoo-discuss at gisws.media.osaka-cu.ac.jp
> http://gisws.media.osaka-cu.ac.jp/mailman/listinfo/zoo-discuss

Gérald Fenoy
gerald.fenoy at geolabs.fr


GEOLABS
Siège social :
Futur Building I
1280, avenue des Platanes
34970 Lattes
Tél. fixe : +33 (0) 4 67 43 09 95
Tél. portable : +33 (0) 6 70 08 25 39

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/zoo-discuss/attachments/20110525/41f0f2db/attachment.html>


More information about the Zoo-discuss mailing list