[GRASS-user] Good reference for python
glynn at gclements.plus.com
Sat Dec 11 09:16:10 EST 2010
Chethan S wrote:
> As python offers lot of opportunities for automation of tasks in
> Geoprocessing, I find it necessary to learn python. I have started learning
> python from the books suggested in python's official website. However as a
> GIS guy, I am interested to know if there are any good materials which
> explains python concepts as it fits into GIS packages, specially GRASS.
For GRASS specifically, look at the source code of the Python-GRASS
scripting library in lib/python, and at the Python scripts (in the
"scripts" directory) in 7.0.
As well as Python itself, you might want to check out the NumPy
package, which provides powerful and efficient array operations.
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-user