From 2df3a5e0c77576f3b0594a8f71762595ba001fea Mon Sep 17 00:00:00 2001 From: vbrunn Date: Wed, 23 Oct 2024 14:30:15 +0200 Subject: [PATCH] change default dist tree-tree/ tree-building to 50m --- .../m.analyse.trees/r.trees.mltrain/r.trees.mltrain.py | 4 ++-- .../m.analyse.trees/v.trees.param/v.trees.param.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/grass-gis-addons/m.analyse.trees/r.trees.mltrain/r.trees.mltrain.py b/grass-gis-addons/m.analyse.trees/r.trees.mltrain/r.trees.mltrain.py index aedcc20..4568cb0 100644 --- a/grass-gis-addons/m.analyse.trees/r.trees.mltrain/r.trees.mltrain.py +++ b/grass-gis-addons/m.analyse.trees/r.trees.mltrain/r.trees.mltrain.py @@ -175,7 +175,7 @@ def numsamplecheck(number_samples, rastername): _( f"The chosen number of pixels {number_samples} is exceeding the total number of ", f"non-null pixels in the given rastermap {rastername}. ", - f"The number of pixels will be set to the maximal amount of {raster_samples}." + f"The number of pixels will be set to the maximal amount of {raster_samples}.", ) ) number_samples = raster_samples @@ -302,7 +302,7 @@ def main(): patch_list = [ "trees_trainpnts", "false_trees_trainpnts", - "notrees_trainpnts" + "notrees_trainpnts", ] else: patch_list = [trees_basemap, "false_trees", "notrees"] diff --git a/grass-gis-addons/m.analyse.trees/v.trees.param/v.trees.param.py b/grass-gis-addons/m.analyse.trees/v.trees.param/v.trees.param.py index 0f0802e..c77c09f 100755 --- a/grass-gis-addons/m.analyse.trees/v.trees.param/v.trees.param.py +++ b/grass-gis-addons/m.analyse.trees/v.trees.param/v.trees.param.py @@ -71,7 +71,7 @@ # % type: integer # % required: yes # % label: Range in which is searched for neighbouring buildings -# % answer: 500 +# % answer: 50 # % guisection: Parameters # %end @@ -80,7 +80,7 @@ # % type: integer # % required: yes # % label: Range in which is searched for neighbouring trees -# % answer: 500 +# % answer: 50 # % guisection: Parameters # %end