~ubuntu-branches/ubuntu/precise/grass/precise

« back to all changes in this revision

Viewing changes to swig/python/grasspython.dox

  • Committer: Bazaar Package Importer
  • Author(s): Francesco Paolo Lovergine
  • Date: 2011-04-13 17:08:41 UTC
  • mfrom: (8.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20110413170841-ss1t9bic0d0uq0gz
Tags: 6.4.1-1
* New upstream version.
* Now build-dep on libjpeg-dev and current libreadline6-dev.
* Removed patch swig: obsolete.
* Policy bumped to 3.9.2, without changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*! \page GRASS_SWIG_PYTHON GRASS SWIG/PYTHON interface
2
 
 
3
 
At the moment a prototype is implemented. It permits to use some GRASS
4
 
library functions directly from the PYTHON programming language.
5
 
 
6
 
\section status Status of GRASS SWIG/PYTHON implementation
7
 
 
8
 
There is a <b>grass.lib</b> package with a series of separate modules
9
 
available. Python SWIG modules are organized as follows:
10
 
 
11
 
 - grass.lib
12
 
  - arraystats.py
13
 
  - cluster.py
14
 
  - date.py
15
 
  - dbmi.py
16
 
  - display.py
17
 
  - g3d.py
18
 
  - grass.py
19
 
  - imagery.py
20
 
  - math.py
21
 
  - proj.py
22
 
  - raster.py
23
 
  - stats.py
24
 
  - trans.py
25
 
  - utils.py
26
 
  - vector.py
27
 
  - vedit.py
28
 
 
29
 
\section usage Usage
30
 
 
31
 
Access to GRASS library functions (example: Vector functions):
32
 
 
33
 
\code
34
 
from grass.lib import vector as grassvect
35
 
\endcode
36
 
 
37
 
\section examples Examples
38
 
 
39
 
 - examples/m.distance.py
40
 
 - examples/rasteraccess.py
41
 
 - examples/vectoraccess.py
42
 
 
43
 
*/