fix GRASS and GRASS7 r.sunmask

This commit is contained in:
Giovanni Manghi 2016-02-20 14:52:12 +00:00
parent 0c0d72bb03
commit 3f9263b4b8
5 changed files with 41 additions and 22 deletions

View File

@ -0,0 +1,16 @@
r.sunmask
r.sunmask.datetime - Calculates cast shadow areas from sun position and elevation raster map.
Raster (r.*)
ParameterRaster|elevation|Elevation raster layer [meters]|False
ParameterNumber|year|year|1950|2050|2000
ParameterNumber|month|month|0|12|1
ParameterNumber|day|day|0|31|1
ParameterNumber|hour|hour|0|24|1
ParameterNumber|minute|minute|0|60|0
ParameterNumber|second|second|0|60|0
ParameterNumber|timezone|East positive, offset from GMT|0|None|0.0
ParameterString|east|Easting coordinate (point of interest)|
ParameterString|north|Northing coordinate (point of interest)|
ParameterBoolean|-z|Do not ignore zero elevation|True
ParameterBoolean|-s|Calculate sun position only and exit|False
OutputRaster|output|Shadows

View File

@ -0,0 +1,11 @@
r.sunmask
r.sunmask.position - Calculates cast shadow areas from sun position and elevation raster map.
Raster (r.*)
ParameterRaster|elevation|Elevation raster layer [meters]|False
ParameterNumber|altitude|Altitude of the sun in degrees above the horizon|0|90|0.0
ParameterNumber|azimuth|Azimuth of the sun in degrees from north|0|360|0.0
ParameterString|east|Easting coordinate (point of interest)|
ParameterString|north|Northing coordinate (point of interest)|
ParameterBoolean|-z|Do not ignore zero elevation|True
ParameterBoolean|-s|Calculate sun position only and exit|False
OutputRaster|output|Shadows

View File

@ -1,17 +0,0 @@
r.sunmask
Calculates cast shadow areas from sun position and elevation raster map.
Raster (r.*)
ParameterRaster|elev|elev|False
ParameterNumber|altitude|altitude|0|90|0.0
ParameterNumber|azimuth|azimuth|0|360|0.0
ParameterNumber|year|year|1950|2050|2000
ParameterNumber|month|month|0|12|1
ParameterNumber|day|day|0|31|1
ParameterNumber|hour|hour|0|24|1
ParameterNumber|minute|minute|0|60|0
ParameterNumber|second|second|0|60|0
ParameterNumber|timezone|East positive, offset from GMT|0|None|0.0
ParameterNumber|east|Easting coordinate (point of interest)|None|None|0.0
ParameterNumber|north|Northing coordinate (point of interest)|None|None|0.0
ParameterBoolean|-z|Don't ignore zero elevation|True
OutputRaster|output|Shadow

View File

@ -1,9 +1,7 @@
r.sunmask
Calculates cast shadow areas from sun position and elevation raster map.
r.sunmask.datetime - Calculates cast shadow areas from sun position and elevation raster map.
Raster (r.*)
ParameterRaster|elevation|Elevation raster layer [meters]|False
ParameterNumber|altitude|Altitude of the sun in degrees above the horizon|0|90|0.0
ParameterNumber|azimuth|Azimuth of the sun in degrees from north|0|360|0.0
ParameterNumber|year|year|1950|2050|2000
ParameterNumber|month|month|0|12|1
ParameterNumber|day|day|0|31|1
@ -11,8 +9,8 @@ ParameterNumber|hour|hour|0|24|1
ParameterNumber|minute|minute|0|60|0
ParameterNumber|second|second|0|60|0
ParameterNumber|timezone|East positive, offset from GMT|0|None|0.0
ParameterNumber|east|Easting coordinate (point of interest)|None|None|0.0
ParameterNumber|north|Northing coordinate (point of interest)|None|None|0.0
ParameterString|east|Easting coordinate (point of interest)|
ParameterString|north|Northing coordinate (point of interest)|
ParameterBoolean|-z|Do not ignore zero elevation|True
ParameterBoolean|-s|Calculate sun position only and exit|False
OutputRaster|output|Shadows

View File

@ -0,0 +1,11 @@
r.sunmask
r.sunmask.position - Calculates cast shadow areas from sun position and elevation raster map.
Raster (r.*)
ParameterRaster|elevation|Elevation raster layer [meters]|False
ParameterNumber|altitude|Altitude of the sun in degrees above the horizon|0|90|0.0
ParameterNumber|azimuth|Azimuth of the sun in degrees from north|0|360|0.0
ParameterString|east|Easting coordinate (point of interest)|
ParameterString|north|Northing coordinate (point of interest)|
ParameterBoolean|-z|Do not ignore zero elevation|True
ParameterBoolean|-s|Calculate sun position only and exit|False
OutputRaster|output|Shadows