「Customizing the GRASS Toolbox」の版間の差分
提供: OSGeo.JP Wiki
(ページの作成: <H3> Customizing the GRASS Toolbox </H3> <P> Nearly all GRASS modules can be added to the GRASS toolbox. A XML interface is provided to parse the pretty simple XML files which …) |
(相違点なし)
|
2009年8月18日 (火) 15:11時点における版
Customizing the GRASS Toolbox
Nearly all GRASS modules can be added to the GRASS toolbox. A XML interface is provided to parse the pretty simple XML files which configures the modules appearance and parameters inside the toolbox. <P> A sample XML file for generating the module v.buffer (v.buffer.qgm) looks like this:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE qgisgrassmodule SYSTEM "http://mrcc.com/qgisgrassmodule.dtd"> <qgisgrassmodule label="Vector buffer" module="v.buffer"> <option key="input" typeoption="type" layeroption="layer" /> <option key="buffer"/> <option key="output" /> </qgisgrassmodule>
<P>
The parser reads this definition and creates a new tab inside the toolbox
when you select the module. A more detailed description for adding new
modules, changing the modules group, etc. can be found on the QGIS wiki at
http://wiki.qgis.org/qgiswiki/Adding_New_Tools_to_the_GRASS_Toolbox.
<P>