[GRASS-SVN] r65097 - grass/branches/releasebranch_7_0/lib/python/pygrass/vector
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Apr 19 04:20:56 PDT 2015
Author: martinl
Date: 2015-04-19 04:20:56 -0700 (Sun, 19 Apr 2015)
New Revision: 65097
Modified:
grass/branches/releasebranch_7_0/lib/python/pygrass/vector/geometry.py
Log:
pygrass: fix Area.boundaries()
(merge r65096 from trunk)
Modified: grass/branches/releasebranch_7_0/lib/python/pygrass/vector/geometry.py
===================================================================
--- grass/branches/releasebranch_7_0/lib/python/pygrass/vector/geometry.py 2015-04-19 11:13:12 UTC (rev 65096)
+++ grass/branches/releasebranch_7_0/lib/python/pygrass/vector/geometry.py 2015-04-19 11:20:56 UTC (rev 65097)
@@ -1547,7 +1547,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