I am planning to change in GUI for watershed basin analysis.
Actually, the GUI asking to many data’s and seems to be complicated to non
technical person. I want to fixed the parameter to make easy to handle this
valuable software…
please help me.
thanking for your reply and waiting for more suggestion.
sandip
On Mon, Nov 14, 2011 at 3:37 AM, Markus Neteler <neteler@osgeo.org> wrote:
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@gmail.com>
wrote:
2011/11/15 Sandip Maity <sandip.stesalit@gmail.com>:
> Dear frnd,
>
> I am not getting "-interface-description".
>
> Please suggest me how can i get gui.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 ">".
2011/11/15 Sandip Maity <sandip.stesalit@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@gmail.com>
> wrote:
>>
>> 2011/11/15 Sandip Maity <sandip.stesalit@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@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev
>
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 “>”.
Hi Sandip,
i can't help you in this case. I think Google is your friend to figure
out howto redirect the output of r.watershed --interface-description
into a XML file on the command line.
I'm not sure but maybe the QGIS-GRASS package (www.qgis.org) has a
unix shell included?
You can also try to implement a Python script using subprocess and
stdout fetching to get the XML content when calling r.watershed? As
you already use WXPYTHON this should be no problem? Just make sure the
Python script is executed in the GRASS environment.
2011/11/15 Sandip Maity <sandip.stesalit@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@googlemail.com>
>>
>> 2011/11/15 Sandip Maity <sandip.stesalit@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@gmail.com>
>> > wrote:
>> >>
>> >> 2011/11/15 Sandip Maity <sandip.stesalit@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@lists.osgeo.org
>> > http://lists.osgeo.org/mailman/listinfo/grass-dev
>> >
>
>