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. Best Soeren 2011/11/15 Sandip Maity <[email protected]>: > Dear soren, > > I am using windows xp. > > sandip > 2011/11/15 Sören Gebbert <[email protected]> >> >> 2011/11/15 Sandip Maity <[email protected]>: >> > 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 <[email protected]> >> >> >> >> 2011/11/15 Sandip Maity <[email protected]>: >> >> > 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 >> >> > <[email protected]> >> >> > wrote: >> >> >> >> >> >> 2011/11/15 Sandip Maity <[email protected]>: >> >> >> > 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 >> >> > [email protected] >> >> > http://lists.osgeo.org/mailman/listinfo/grass-dev >> >> > >> > >> > > > _______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
