-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2097 from NaturalGIS/fix_grass_r_horizon
[processing] fix grass r.horizon
- Loading branch information
Showing
3 changed files
with
14 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 7 additions & 2 deletions
9
python/plugins/processing/algs/grass7/description/r.horizon.height.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,14 @@ | ||
r.horizon | ||
r.horizon.height - Horizon angle computation from a digital elevation model. | ||
Raster (r.*) | ||
ParameterRaster|elevation|Elevation layer [meters]|False | ||
ParameterRaster|elevation|Name of input elevation raster map|False | ||
ParameterString|coordinates|Coordinate for which you want to calculate the horizon|0,0 | ||
ParameterNumber|direction|Direction in which you want to calculate the horizon height|0|360|0.0 | ||
ParameterNumber|step|Angle step size for multidirectional horizon [degrees]|0|360|0.0 | ||
ParameterNumber|start|Start angle for multidirectional horizon [degrees]|0|360|0 | ||
ParameterNumber|end|End angle for multidirectional horizon [degrees]|0|360|360 | ||
ParameterNumber|maxdistance|The maximum distance to consider when finding the horizon height|0|None|10000 | ||
ParameterString|dist|Sampling distance step coefficient (0.5-1.5)|1.0 | ||
ParameterString|distance|Sampling distance step coefficient (0.5-1.5)|1.0 | ||
ParameterBoolean|-d|Write output in degrees (default is radians)|False | ||
OutputHTML|html|Horizon | ||
OutputFile|outputtext|Horizon (text) |
8 changes: 4 additions & 4 deletions
8
python/plugins/processing/algs/grass7/description/r.horizon.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
r.horizon | ||
r.horizon - Horizon angle computation from a digital elevation model. | ||
Raster (r.*) | ||
ParameterRaster|elevation|Elevation layer [meters]|False | ||
ParameterNumber|direction|Direction in which you want to calculate the horizon height|0|360|0.0 | ||
ParameterRaster|elevation|Name of input elevation raster map|False | ||
ParameterNumber|direction|Direction in which you want to know the horizon height|0|360|0.0 | ||
ParameterNumber|maxdistance|The maximum distance to consider when finding the horizon height|0|None|10000 | ||
ParameterString|dist|Sampling distance step coefficient (0.5-1.5)|1.0 | ||
ParameterString|distance|Sampling distance step coefficient (0.5-1.5)|1.0 | ||
ParameterBoolean|-d|Write output in degrees (default is radians)|False | ||
OutputRaster|horizon|Horizon | ||
OutputRaster|output|Horizon |