Browse Source

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

Stefan Blumentrath 3 years ago
parent
commit
783f6a6090
1 changed files with 1 additions and 1 deletions
  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)],
         )