[GRASS-dev] How can I cange or modify the GUI for watershed analysis?

Sören Gebbert soerengebbert at googlemail.com
Tue Nov 15 07:41:53 EST 2011


2011/11/15 Sandip Maity <sandip.stesalit at gmail.com>:
> Dear Soren,
>
> I have used grass64 -text to run
>
> "r.watershed --wps-process-description > r_watershed_process.xml"

Unfortunately "r.watershed --wps-process-description" only works with grass7.

> and
> "r.watershed --interface-description > gui.xml"
>
> GUI.XML is created but it is the size of zero byte.

Can you see the XML content when executing "r.watershed
--interface-description" in the shell?
BTW, you need to use a unix shell like sh or bash to redirect the
output of the command into a file using ">".

What operation system are you using?


Soeren

>
> please help.
>
> Sandip
>
>
>
> 2011/11/15 Sören Gebbert <soerengebbert at googlemail.com>
>>
>> 2011/11/15 Sandip Maity <sandip.stesalit at gmail.com>:
>> > Dear Martin,
>> >
>> > I am using WXPYTHON.
>> >
>> > So, where I can use this comand "r.watershed--interface-description"
>> >
>> > Please help me.
>>
>> Open a GRASS shell and type:
>> r.watershed --interface-description
>>
>> To create a XML file, type:
>> r.watershed --interface-description > gui.xml
>>
>> Don't forget the space between r.watershed and --interface-description.
>>
>> In case you want a WPS XML process description to use with PyXB type:
>> r.watershed --wps-process-description > r_watershed_process.xml
>>
>> Soeren
>>
>> >
>> > sandip
>> >
>> > On Tue, Nov 15, 2011 at 4:26 PM, Martin Landa <landa.martin at gmail.com>
>> > wrote:
>> >>
>> >> 2011/11/15 Sandip Maity <sandip.stesalit at gmail.com>:
>> >> > Dear frnd,
>> >> >
>> >> > I am not getting "-interface-description".
>> >> >
>> >> > Please suggest me how can i get gui.xml?
>> >>
>> >> r.watershed --interface-description > gui.xml
>> >>
>> >> ML
>> >>
>> >> --
>> >> Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa
>> >
>> >
>> > _______________________________________________
>> > grass-dev mailing list
>> > grass-dev at lists.osgeo.org
>> > http://lists.osgeo.org/mailman/listinfo/grass-dev
>> >
>
>


More information about the grass-dev mailing list