GDAL
January 16, 2009, 10:30am
1
#436: access to python swig bindingsa from outside of a grass session
-----------------------------------+----------------------------------------
Reporter: mulligan | Owner: grass-dev@lists.osgeo.org
Type: enhancement | Status: new
Priority: major | Milestone: 6.4.0
Component: Python | Version: svn-develbranch6
Keywords: python, SWIG, session | Platform: Linux
Cpu: x86-32 |
-----------------------------------+----------------------------------------
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
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/436> ;
GRASS GIS <http://grass.osgeo.org >
GDAL
January 16, 2009, 10:34am
2
#436: access to python swig bindingsa from outside of a grass session
--------------------------+-------------------------------------------------
Reporter: mulligan | Owner: grass-dev@lists.osgeo.org
Type: enhancement | Status: new
Priority: major | Milestone: 6.4.0
Component: Python | Version: svn-develbranch6
Resolution: | Keywords: python, SWIG, session
Platform: Linux | Cpu: x86-32
--------------------------+-------------------------------------------------
Comment (by neteler):
This would be good and could be explained later at
http://wiki.osgeo.org/wiki/OSGeo_Python_Library
Markus
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/436#comment:1> ;
GRASS GIS <http://grass.osgeo.org >
GDAL
January 17, 2009, 2:06am
3
#436: access to python swig bindingsa from outside of a grass session
--------------------------+-------------------------------------------------
Reporter: mulligan | Owner: grass-dev@lists.osgeo.org
Type: enhancement | Status: new
Priority: major | Milestone: 6.4.0
Component: Python | Version: svn-develbranch6
Resolution: | Keywords: python, SWIG, session
Platform: Linux | Cpu: x86-32
--------------------------+-------------------------------------------------
Comment (by hamish):
you just need some environment variables set to mimic a grass session.
see http://grass.osgeo.org/wiki/GRASS_and_Shell
Hamish
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/436#comment:2> ;
GRASS GIS <http://grass.osgeo.org >
GDAL
April 11, 2011, 10:11pm
4
#436: access to python swig bindingsa from outside of a grass session
--------------------------+-------------------------------------------------
Reporter: mulligan | Owner: grass-dev@…
Type: enhancement | Status: closed
Priority: major | Milestone: 6.4.0
Component: Python | Version: svn-develbranch6
Resolution: wontfix | Keywords: python, SWIG, session
Platform: Linux | Cpu: x86-32
--------------------------+-------------------------------------------------
Changes (by hamish):
* status: new => closed
* resolution: => wontfix
Comment:
SWIG support is removed, try ctypes in devel versions of GRASS instead.
Hamish
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/436#comment:3> ;
GRASS GIS <http://grass.osgeo.org >