[Qgis-developer] grass modules and grass 6.4rc4

Lorenzo Masini lorenxo86 at gmail.com
Wed Jun 10 11:24:32 EDT 2009


Hi list!
There are some grass modules that don't work (Cannot find key ...).
The reason is that .qgm module definitions differ from the grass options, for 
example:

v.buffer.qgm:
<?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>

v.buffer --help:
Usage:
 v.buffer [-sc] input=name output=name [type=string[,string,...]]
   [layer=value] [distance=value] [minordistance=value] [angle=value]
   [bufcolumn=name] [scale=value] [tolerance=value] [--overwrite]
   [--verbose] [--quiet]

You can see the xml definition too, with v.buffer --interface-definition.

So the problem is that the option "buffer" doesn't exists anymore, now is 
distance.

Here the list of the modules affected:

r.surf.fractal  (Cannot found Key d)
v.buffer (Cannot found Key buffer)
v.to.db (Cannot found Key column)
v.dv.select (Cannot found Key column)
v.db.select.where (Cannot found Key column)

I'm using  grass-6.4rc4.
How to procede to mantain the backward compatibility?

regards
Lorenzo






More information about the Qgis-developer mailing list