[GRASS-user] Python scripts using rules

luisapena1979 luisapena1979 at gmail.com
Thu Jul 1 07:05:03 EDT 2010


Hi Martin
Thanks
You mean like using an expression, for mapcalc, based on ifs right? Is this
interface available for GRASS6.4? If so, is there an example of usage?

And about the ctypes interface? What is it? can it work on GRASS6.4.0 RC6?

Thanks
Luisa

2010/6/22 Martin Landa <landa.martin at gmail.com>

> Hi,
>
> 2010/6/22 Luisa Peña <luisapena1979 at gmail.com>:
>
> > Maybe I was not clear enough. this is a procedding to be done over each
> > pixel. Can I apply this sort of code to a pixel based analysis?
>
> mapcalc() from grass.script.raster [1] or try ctypes interface from trunk.
>
> Martin
>
> [1]
> http://download.osgeo.org/grass/grass7_progman/namespacepython_1_1raster.html#a0f8268995af8d19e6b86e1f67295aaaf
>
> --
> Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20100701/d445a2e4/attachment.html


More information about the grass-user mailing list