[ZOO-Discuss] GIS GRASS ZOO integration

Soeren Gebbert soerengebbert at googlemail.com
Thu Oct 14 03:21:21 PDT 2010


Hello

2010/10/12 Eugenio Realini <eugenio.realini at gmail.com>:
> Actually, it seems that ZOO accepts "grass_band_number" even if it is
> not displayed in the DescribeProcess XML. Maybe I'm missing something?
>
> Now we have a data import error, we'll try to deal with it:
> http://131.175.143.108/cgi-bin/zoo_loader.cgi?Service=WPS&Request=Execute&Version=1.0.0&Identifier=r_univar&DataInputs=map=DTM_108.tif;grass_band_number=1

It seems to me that r.in.gdal was not able to create a location based
on the input tif file.
Could you please provide the ZOOGrassModuleStarter.py logfile
(/tmp/logfile.txt), so i can figure out what happened?

Maybe you can try to import this file in a grass7 location, to see if
gdal can import it?

Best regards
Soeren

>
> Ege
>
>
> 2010/10/10 Eugenio Realini <eugenio.realini at gmail.com>:
>> Hi Soeren,
>>
>> thanks for your reply!
>>
>> 2010/10/9 Soeren Gebbert wrote:
>>> try to add:
>>> grass_band_number=1
>>> to your request to specify a band number for processing. It seems that
>>> the ZOOGrassModuleStarter expects an integer value or None as default
>>> value from the zoo_loader, not 'NULL' which is C-specific.
>>
>> From our DescribeProcess it seems that the only input parameter
>> r_univar accepts is "map":
>> http://131.175.143.108/cgi-bin/zoo_loader.cgi?Service=WPS&Request=DescribeProcess&Version=1.0.0&Identifier=r_univar
>>
>> Now I do not have its xml and zcfg files to check, but if I don't
>> remember wrong there should have been a parameter like
>> "grass_band_number"...
>>
>> Actually we have a similar problem also with r.horizon. We created the
>> GRASS XML file, generated the zcfg and python files from it and added
>> the service to ZOO (after changing some square brackets to normal ones
>> in the Titles, otherwise ZOO got messed up).
>> The problem is that the DescribeProcess shows only two inputs
>> (http://131.175.143.108/cgi-bin/zoo_loader.cgi?Service=WPS&Request=DescribeProcess&Version=1.0.0&Identifier=r_horizon),
>> despite having a lot more in the zcfg file
>> (http://pastebin.com/TTNfRQ99). It seems that ZOO keeps only the
>> "ComplexData" ones and discards the "LiteralData" ones.
>>
>> I really do not have any idea about what could be the problem.
>>
>> Ege
>>
>



More information about the Zoo-discuss mailing list