Opened 16 years ago
Closed 13 years ago
#436 closed enhancement (wontfix)
access to python swig bindingsa from outside of a grass session
Reported by: | mulligan | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 6.4.0 |
Component: | Python | Version: | svn-develbranch6 |
Keywords: | python, SWIG, session | Cc: | |
CPU: | x86-32 | Platform: | Linux |
Description
The SWIG bindings to Python are very useful from inside GRASS but would be much more powerful if python could access GRASS functions from outside a grass session.
I note the following in the TODO file at http://svn.osgeo.org/grass/grass/branches/develbranch_6/swig/python/TODO: ""
- enable calls from outside GRASS
"" If this is now possible (in 6.4.0 or 7.0.0) could a relevant example be posted to show how we can access from outside a grass session?
Many thanks
Mark
Change History (3)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
you just need some environment variables set to mimic a grass session.
see http://grass.osgeo.org/wiki/GRASS_and_Shell
Hamish
comment:3 by , 13 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
SWIG support is removed, try ctypes in devel versions of GRASS instead.
Hamish
This would be good and could be explained later at
http://wiki.osgeo.org/wiki/OSGeo_Python_Library
Markus