[GRASS-SVN] r54380 - grass/trunk/lib/python/pygrass/vector
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Dec 24 04:59:36 PST 2012
Author: zarch
Date: 2012-12-24 04:59:36 -0800 (Mon, 24 Dec 2012)
New Revision: 54380
Modified:
grass/trunk/lib/python/pygrass/vector/geometry.py
Log:
Fixing write method for a generic geometry
Modified: grass/trunk/lib/python/pygrass/vector/geometry.py
===================================================================
--- grass/trunk/lib/python/pygrass/vector/geometry.py 2012-12-23 20:52:36 UTC (rev 54379)
+++ grass/trunk/lib/python/pygrass/vector/geometry.py 2012-12-24 12:59:36 UTC (rev 54380)
@@ -217,7 +217,7 @@
def write(self):
"""Write the centroid to the Map."""
- libvect.Vect_write_line(self.c_mapinfo, libvect.GV_CENTROID,
+ libvect.Vect_write_line(self.c_mapinfo, self.gtype,
self.c_points, self.c_cats)
More information about the grass-commit
mailing list