[GRASS-SVN] r65096 - grass/trunk/lib/python/pygrass/vector
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Apr 19 04:13:12 PDT 2015
Author: martinl
Date: 2015-04-19 04:13:12 -0700 (Sun, 19 Apr 2015)
New Revision: 65096
Modified:
grass/trunk/lib/python/pygrass/vector/geometry.py
Log:
pygrass: fix Area.boundaries()
Modified: grass/trunk/lib/python/pygrass/vector/geometry.py
===================================================================
--- grass/trunk/lib/python/pygrass/vector/geometry.py 2015-04-19 09:24:44 UTC (rev 65095)
+++ grass/trunk/lib/python/pygrass/vector/geometry.py 2015-04-19 11:13:12 UTC (rev 65096)
@@ -1548,7 +1548,7 @@
ilst.c_ilist)
if ilist:
return ilist
- return [Boundary(v_id, c_mapinfo=self.c_mapinfo) for v_id in ilst]
+ return [Boundary(v_id=abs(v_id), c_mapinfo=self.c_mapinfo) for v_id in ilst]
def cats(self, cats=None):
"""Get area categories.
More information about the grass-commit
mailing list