[GRASS-dev] GRASS GIS 7 and QGIS connected using the Web Processing Service (WPS)

Moritz Lennert mlennert at club.worldonline.be
Fri Apr 15 08:17:43 EDT 2011


On 15/04/11 12:56, Soeren Gebbert wrote:
> Hi Moritz,
> please use the latest pywps and wps-grass-bridge svn versions.

That seems to have solved it. I had used the install script for pywps, 
but this installed the FOSS4G2010 branch. Now I've installed the latest 
trunk and everything seems to work.

Sorry for the noise !

A few rapid remarks for future development from my first usage:

- Flags are all True by default. I think they should be False by 
default. I see that e.g. for v.buffer, the v_buffer.py process file 
contains:

self.addLiteralInput(identifier = '-s', title = 'Make outside corners 
straight', minOccurs = 0, maxOccurs = 1, type = type(True), default = 
False, allowedValues = [True, False])

so one would expect it to be False by default. This probably means that 
the problem is in the QGIS plugin, or ?

- It is not clear where the order of parameter in the GUI comes from: 
notably those that are not directly defined by the model (e.g. ns and ew 
resolution), but it would make for a better experience to have them more 
logically grouped.

- When running v.buffer, I get the following error:

                 <ows:Exception exceptionCode="NoApplicableCode">
                     <ows:ExceptionText>Failed to execute WPS process 
[v.buffer]: Error while executing the grass module. The following error 
message was logged:
Buffering lines...
2%...5%...etc
[snip]
Deleting boundaries...
    2%...   5%...etc
</ows:ExceptionText>
</ows:Exception>

So, it seems to catch all the output of G_percent and G_message and 
interpret it as an error...

- The WPS plugin shouldn't be modular, i.e. you should be able to use 
other commands with the plugin open (e.g. add another layer)

Once again, thanks for all the work and for your support !

Moritz



More information about the grass-dev mailing list