diff --git a/grass-gis-addons/m.analyse.buildings/r.extract.buildings/r.extract.buildings.py b/grass-gis-addons/m.analyse.buildings/r.extract.buildings/r.extract.buildings.py index ccfb29e..18a8120 100644 --- a/grass-gis-addons/m.analyse.buildings/r.extract.buildings/r.extract.buildings.py +++ b/grass-gis-addons/m.analyse.buildings/r.extract.buildings/r.extract.buildings.py @@ -50,6 +50,7 @@ # % key: fnk_column # % required: yes # % label: Name of integer column containing FNK-code +# % answer: code_2020 # % guisection: Input # %end @@ -74,32 +75,32 @@ # %end # %option -# % key: used_thesh +# % key: used_thresh # % required: yes # % multiple: no -# % label: Set if the percentile or the threshold of the NDVI should be used: ndvi_thres or ndvi_perc -# % options: ndvi_thres,ndvi_perc -# % answer: ndvi_thres +# % label: Set if the percentile or the threshold of the NDVI should be used: ndvi_thresh or ndvi_perc +# % options: ndvi_thresh,ndvi_perc +# % answer: ndvi_thresh # % guisection: Parameters # %end # %option -# % key: ndvi_perc +# % key: ndvi_thresh # % type: integer # % required: no # % multiple: no -# % label: NDVI percentile in vegetated areas to use for thresholding -# % answer: 5 +# % label: Fix NDVI threshold (on a scale from 0-255) instead of estimated value from ndvi_perc and FNK +# % answer: 145 # % guisection: Parameters # %end # %option -# % key: ndvi_thresh +# % key: ndvi_perc # % type: integer # % required: no # % multiple: no -# % label: Fix NDVI threshold (on a scale from 0-255) instead of estimated value from ndvi_perc and FNK -# % answer: 145 +# % label: NDVI percentile in vegetated areas to use for thresholding +# % answer: 5 # % guisection: Parameters # %end @@ -134,10 +135,6 @@ # % guisection: Parameters # %end -# %rules -# % exclusive: ndvi_perc, ndvi_thresh -# % required: ndvi_perc, ndvi_thresh -# %end import atexit import os diff --git a/grass-gis-addons/m.analyse.buildings/r.extract.greenroofs/r.extract.greenroofs.py b/grass-gis-addons/m.analyse.buildings/r.extract.greenroofs/r.extract.greenroofs.py index b51dc7e..887c432 100644 --- a/grass-gis-addons/m.analyse.buildings/r.extract.greenroofs/r.extract.greenroofs.py +++ b/grass-gis-addons/m.analyse.buildings/r.extract.greenroofs/r.extract.greenroofs.py @@ -90,32 +90,32 @@ # %end # %option -# % key: used_thesh +# % key: used_thresh # % required: yes # % multiple: no -# % label: Set if the percentile or the threshold of the Green-Blue-Ratio should be used: ndvi_thres or ndvi_perc +# % label: Set if the percentile or the threshold of the Green-Blue-Ratio should be used: gb_thresh or gb_perc # % options: gb_thresh,gb_perc # % answer: gb_thresh # % guisection: Parameters # %end # %option -# % key: gb_perc +# % key: gb_thresh # % type: integer # % required: no # % multiple: no -# % label: Green-Blue-Ratio percentile in green areas to use for thresholding -# % answer: 25 +# % label: Fix Green-Blue-Ratio threshold (on a scale from 0-255) +# % answer: 145 # % guisection: Parameters # %end # %option -# % key: gb_thresh +# % key: gb_perc # % type: integer # % required: no # % multiple: no -# % label: Fix Green-Blue-Ratio threshold (on a scale from 0-255) -# % answer: 145 +# % label: Green-Blue-Ratio percentile in green areas to use for thresholding +# % answer: 25 # % guisection: Parameters # %end