浏览代码

pygrass: call centroid function when buffering areas (#1655)

Stefan Blumentrath 3 年之前
父节点
当前提交
783f6a6090
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      python/grass/pygrass/vector/geometry.py

+ 1 - 1
python/grass/pygrass/vector/geometry.py

@@ -1758,7 +1758,7 @@ class Area(Geo):
         )
         return (
             Line(c_points=p_bound.contents),
-            self.centroid,
+            self.centroid(),
             [Line(c_points=pp_isle[i].contents) for i in range(n_isles.contents.value)],
         )