[Zoo-discuss] SAGA_GIS Error

Alexander Kmoch alexander.kmoch at aut.ac.nz
Thu Apr 14 17:58:07 PDT 2016


Dear list,

ZOO-Project WPS offers integration with the SAGA GIS. The build chain 
takes some time an has a few traps. My build completes and the example 
request Garden_Fractals works, but a GRID sum causes SIGSEV11 errors and 
complete successfully .. although somestuff is working along the operation..

I have been able to work through 
http://zoo-project.org/docs/kernel/sagagis.html

Everything builds fine.

DescribeProcess works:


http://localhost/cgi-bin/zoo_loader.cgi?ServiceProvider=&metapath=&Service=WPS&Request=DescribeProcess&Version=1.0.0&Identifier=SAGA.grid_calculus.8


The demo request, SAGA.garden_fractals.1 works (as on ZOO-Project website).

http://172.17.0.2/cgi-bin/zoo_loader.cgi?ServiceProvider=&metapath=&Service=WPS&Request=Execute&Version=1.0.0&Identifier=SAGA.garden_fractals.1&DataInputs=&ResponseDocument=RESULT@mimeType=application/json@asReference=true

## snip
error: line 18: character not allowed ';'
error: line 18: character not allowed ';'
# //.///.## /////# <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<error: 
line 18: character not allowed ';'
error: line 18: character not allowed ';'
# //.///.## /////# <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<# 
//.///.## /////# # //.///.## /////# # //.///.## /////#
## snip

But when I execute a GRID summary with two tiffs

http://localhost/cgi-bin/zoo_loader.cgi?ServiceProvider=&metapath=&Service=WPS&Request=Execute&Version=1.0.0&Identifier=SAGA.grid_calculus.8&DataInputs=GRIDS=Reference@xlink:href=http://hg.orfeo-toolbox.org/OTB-Data/raw-file/ca154074b282/Examples/verySmallFSATSW.tif;il=Reference@xlink:href=http://hg.orfeo-toolbox.org/OTB-Data/raw-file/ca154074b282/Examples/verySmallFSATSW_nir.tif&RawDataOutput=RESULT@mimeType=image/tiff

I'll get OWS Exception

<ows:ExceptionText>
ZOO Kernel failed to process your request, receiving signal 11 = SIGSEGV
</ows:ExceptionText>

The data folder contains a status file, with only one line '100|okay', 
wher as the garden fractals status contains also the link to the 
generated json file.

The tmp folder also contains some corresponding data files:

Output_GRIDS_818cdf20-02a3-11e6-949c-0242ac110002_0.sgrd 
Output_GRIDS_818cdf20-02a3-11e6-949c-0242ac110002_0.mgrd 
Output_GRIDS_818cdf20-02a3-11e6-949c-0242ac110002_0.sdat

Looks like it might already generated from SAGA but I am not sure. As I 
am requesting tiff output, maybe the conversion just failed?

Anyone an idea?

Full build script gist here, on Ubuntu 14.04.

https://gist.github.com/allixender/950b4d1f22ac1cea3d47a6944cd7e4b9

Cheers,
Alex

Cheers,
Alex


More information about the Zoo-discuss mailing list