[GRASS-dev] Python Scripting

Markus Neteler neteler at osgeo.org
Wed Jul 30 06:01:04 EDT 2008

On Mon, Jul 21, 2008 at 7:17 PM, Michael Barton <michael.barton at asu.edu> wrote:
> On Jul 21, 2008, at 7:52 AM, Dan D'Alimonte wrote:
>> Having never used SWIG, my understanding was it gives you access to the
>> functions in the C library? This is a good thing, yes, but I was thinking of
>> something beyond this. As I stated earlier, to allow programming for GRASS
>> at a higher level the the C functions, including making use of Python's
>> Object Oriented features to encapsulate GRASS data structures and processes.
>> For example, a RasterLayer class that contains raster data, with it
>> associated spatial characteristics, that can provide interators over rows of
>> cells, columns of cells, individual cells, or moving windows such as a 3x3
>> matrix.
> My understanding is that the Python GRASS SWIG interface makes this
> possible. However, wrapping this into a nice Python library would make it
> more accessible to a broader audience.

I would like to remember this proposal:


More information about the grass-dev mailing list