[GRASS-dev] pygrass vs grass python scripting library

Martin Landa landa.martin at gmail.com
Wed Jul 23 02:31:42 PDT 2014


Hi,

2014-07-22 15:05 GMT+02:00 Pietro <peter.zamb at gmail.com>:
>> I am trying to familiarize myself a bit with python scripting in GRASS. I am
>> a bit confused about the different approaches that seem possible. More
>> specifically, there is the pygrass
>> (http://grasswiki.osgeo.org/wiki/Python/pygrass) and grass python scripting
>> library (
>> http://grasswiki.osgeo.org/wiki/GRASS_Python_Scripting_Library). Is there
>> somewhere a concise description explaining the difference between the two.
>
> I tried to explain the different approach in the following article:
>
> Zambelli, P., Gebbert, S., Ciolli, M., 2013. Pygrass: An Object
> Oriented Python Application Programming Interface (API) for Geographic
> Resources Analysis Support System (GRASS) Geographic Information
> System (GIS). ISPRS International Journal of Geo-Information 2,
> 201-219.
> http://dx.doi.org/10.3390/ijgi2010201
> http://www.mdpi.com/2220-9964/2/1/201/pdf
>
>
>> And for writing python scripts (addons), which of these two are a better
>> option to use (for somebody fairly familiar with GRASS, with some experience
>> in writing shell or R scripts for GRASS, but with no experience at all with
>> python).

would be probably useful to put your notes on the wiki. The current
situation is not so clear also for power-users.

Martin

-- 
Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa


More information about the grass-dev mailing list