[GRASS-user] What's the point with Grass/Python SWIG interface?

G. Allegri giohappy at gmail.com
Tue Aug 28 08:05:53 EDT 2007

The limitations are due to the use of Grass shell commands. I would
like to have access to the C API. An use case (that is what I would
like to try) could be the coupling of NumPy with Grass.


2007/8/28, Hamish <hamish_nospam at yahoo.com>:
> G. Allegri wrote:
> > As you said, without the SWIG API, the most I can do is making system calls
> > ("os.popen") to run Grass bash commands, with an unacceptable slowness and
> > the obvious limitations it puts.
> Sure it's more overhead, and a pain to pass data back and forth, but does
> running as system calls from Python really make it run any slower or
> impose any hard limitations?
> curious; I know little about Python,
> Hamish

More information about the grass-user mailing list