[GRASS-git] [OSGeo/grass-addons] bfd822: v.stream.inbasin: Modernize interface, fix for v8 ...
Vaclav Petras
noreply at github.com
Sat Jul 29 15:52:17 PDT 2023
Branch: refs/heads/grass8
Home: https://github.com/OSGeo/grass-addons
Commit: bfd8226add71fbf65bb3be3649b4561ea811e8e7
https://github.com/OSGeo/grass-addons/commit/bfd8226add71fbf65bb3be3649b4561ea811e8e7
Author: Vaclav Petras <wenzeslaus at gmail.com>
Date: 2023-07-30 (Sun, 30 Jul 2023)
Changed paths:
A src/vector/v.stream.inbasin/testsuite/test_v_stream_inbasin.py
M src/vector/v.stream.inbasin/v.stream.inbasin.html
M src/vector/v.stream.inbasin/v.stream.inbasin.py
Log Message:
-----------
v.stream.inbasin: Modernize interface, fix for v8 (#935)
- Changes x_outlet and y_outlet to single coordinates standard option which is recognized by GUI and user can click to get coordinates there. Call in Python has less parameters and same readability (x,y).
- Makes coordinates optional which seems to be the original intention.
- Uses rules to decide about valid options instead of custom if statements.
- Updates interfacing with numpy to Python 3.
- Adds more recent reference.
- Describes stream input more.
- Adds tests.
More information about the grass-commit
mailing list