diff --git a/grass-gis-addons/m.analyse.trees/v.trees.param.worker/v.trees.param.worker.py b/grass-gis-addons/m.analyse.trees/v.trees.param.worker/v.trees.param.worker.py index 76f2a49..7423652 100644 --- a/grass-gis-addons/m.analyse.trees/v.trees.param.worker/v.trees.param.worker.py +++ b/grass-gis-addons/m.analyse.trees/v.trees.param.worker/v.trees.param.worker.py @@ -341,7 +341,7 @@ def treetrunk(list_attr, treecrowns): # can be used as an estimate of the trunk position. grass.message(_("Calculating tree trunk position...")) # Centroid as tree trunk position - col_sp_cent = "pos_cent" + col_sp_cent = "pos_rand" # change appropriately after r.to.vect is fixed if f"{col_sp_cent}_x" in list_attr: grass.warning( _(