Skip to content

Commit

Permalink
change column name of centroid trunk position
Browse files Browse the repository at this point in the history
  • Loading branch information
vbrunn committed Oct 23, 2024
1 parent b052d91 commit b89af01
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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(
_(
Expand Down

0 comments on commit b89af01

Please sign in to comment.