12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- /*! \page GRASS_SWIG_PYTHON GRASS SWIG/PYTHON interface
- <h2>GRASS SWIG/PYTHON interface</h2>
- At the moment a prototype is implemented. It permits to use
- some GRASS library functions directly from the PYTHON programming language.
- <h3>Status of GRASS SWIG/PYTHON implementation</h3>
- At the moment a prototype is implemented. There is a
- "swig" module with a series of separate sub-modules available:
- <ul>
- <li> arraystats.i
- <li> cluster.i
- <li> common.i
- <li> date.i
- <li> dbmi.i
- <li> display.i
- <li> g3d.i
- <li> grass.i
- <li> imagery.i
- <li> math.i
- <li> my_typemaps.i
- <li> proj.i
- <li> raster.i
- <li> stats.i
- <li> trans.i
- <li> utils.i
- <li> vector.i
- <li> vedit.i
- </ul>
- <h3>Usage</h3>
- These can be imported individually with e.g. "import swig.grass", or the
- user can import all of them with "import swig" (then use e.g.
- swig.grass.G_gisinit etc), or it can be used e.g. "from swig.grass import *"
- to import all names from a module. The latter can be done for multiple
- modules, but currently, there's no way to import names from all sub-modules
- of a module with a single command.
- <h3>Examples</h3>
- <ul>
- <li> examples/m.distance.py
- <li> examples/rasteraccess.py
- <li> examples/vectoraccess.py
- <li> test.py
- </ul>
- */
|