[GRASS-dev] correction typo on pygrass sample pygrass scripts manual page

Pietro peter.zamb at gmail.com
Tue Mar 29 02:46:04 PDT 2016


Hi Paulo,

On Mon, Mar 28, 2016 at 10:48 AM, Paulo van Breugel
<p.vanbreugel at gmail.com> wrote:
> typo on
> https://grasswiki.osgeo.org/wiki/Python/pygrass#Sample_PyGRASS_scripts
>
> Under the header "Interface to listing maps (g.list/g.mlist)", second
> example with "glist" method of the Mapset class, it reads:
>
> m.glist('rast', pattern='elev-*')
>
> This perhaps works for GRASS 6.4, but for GRASS 7.0 the first argument
> should be 'raster'. In the example above, the syntax for both 6.4 and 7.0 is
> given.

Pygrass is not available in grass64, so I fix it, the code was written
before the change in grass70.
Please feel free to fix these erorrs.

Pietro


More information about the grass-dev mailing list