Skip to content

Commit

Permalink
v.clean threshold description: clarify map units (#2950)
Browse files Browse the repository at this point in the history
* v.clean threshold description: clarify map units

This PR de-confuses the current description of `threshold` from the misleading

```
  threshold   Threshold in map units, one value for each tool
```

to

```
  threshold   One value for each tool; for threshold units, see each tool
```

The point is that users need to look it up in the manual page.
Esp. in long-lat locations, map units for area based tools are to be given in sqm.
  • Loading branch information
neteler committed Nov 20, 2023
1 parent fd16a6e commit 79322c7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vector/v.clean/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ int main(int argc, char *argv[])
opt.thresh->type = TYPE_DOUBLE;
opt.thresh->required = NO;
opt.thresh->multiple = YES;
opt.thresh->label = _("Threshold in map units, one value for each tool");
opt.thresh->label =
_("One value for each tool; for threshold units, see each tool");
opt.thresh->description = _("Default: 0.0[,0.0,...])");

flag.no_build = G_define_flag();
Expand Down

0 comments on commit 79322c7

Please sign in to comment.