[prev in list] [next in list] [prev in thread] [next in thread] 

List:       grass-commit
Subject:    [GRASS-SVN] r66667 - grass/trunk/lib/python/docs/src
From:       svn_grass () osgeo ! org
Date:       2015-10-29 17:08:16
Message-ID: 20151029170816.0DBD53900AA () trac ! osgeo ! org
[Download RAW message or body]

Author: zarch
Date: 2015-10-29 10:08:15 -0700 (Thu, 29 Oct 2015)
New Revision: 66667

Modified:
   grass/trunk/lib/python/docs/src/pygrass_vector.rst
Log:
pygrass: improve documentation on open mode on pygrass Vector class

Modified: grass/trunk/lib/python/docs/src/pygrass_vector.rst
===================================================================
--- grass/trunk/lib/python/docs/src/pygrass_vector.rst	2015-10-29 16:58:35 UTC (rev \
                66666)
+++ grass/trunk/lib/python/docs/src/pygrass_vector.rst	2015-10-29 17:08:15 UTC (rev \
66667) @@ -69,8 +69,13 @@
 
 The ``open()`` method supports a number of option arguments (see the \
:class:`~pygrass.vector.abstract.Info`  documentation for a complete list). In \
                particular, the mode argument can take a
-a value of ``r`` for reading, ``w`` for writing, or ``rw`` for reading/writing.
+a value of:
 
+'r': read-only mode, vector features are read-only (attribute table is modifiable \
since are handle by a database); +'w': write-only mode, write a new vector map in \
case of an old vector map all the previous features will be removed/overwritten; \
+'rw': read-write mode, add new/update vector features without removing the existing \
ones. Add/remove vector layers. +
+
 The geometry of a vector map can be read sequentially using the ``next()`` method.
 To return to the beginning, use the ``rewind()`` method.
 

_______________________________________________
grass-commit mailing list
grass-commit@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-commit


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic