Changes between Version 14 and Version 15 of Grass7/TemporalGISAlgebra
- Timestamp:
- 07/05/13 08:42:02 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Grass7/TemporalGISAlgebra
v14 v15 167 167 168 168 The temporal raster algebra uses all operators and functions of the temporal 169 algebra and adds a subset of the arithmetic operators and function of r.mapcalc. 170 171 The method is the same as for the temporal vector algebra. 172 Hence new spatio-temporal operators are defined that include temporal topology relations, 169 algebra and adds a subset of the arithmetic operators and functions from r.mapcalc. 170 New spatio-temporal operators are defined that include temporal topology relations, 173 171 temporal operators and arithmetic operators. 174 172 175 173 Examples: 176 Create the sum all maps from STRDS A and B that have equal time stamps and store the new maps in STRDS C.174 Create the sum of all maps from STRDS A and B that have equal time stamps and store the new maps in STRDS C: 177 175 {{{ 178 176 C = A + B 179 177 }}} 180 Same expression with explicit definition of the temporal topology relation and temporal operators .178 Same expression with explicit definition of the temporal topology relation and temporal operators: 181 179 {{{ 182 180 C = A {equal,=+} B 183 181 }}} 184 182 Select all cells from STRDS B with equal relations to STRDS A if the cells 185 of A are in the range of [100.0, 1600] of time intervals that have more then 30 days 183 of A are in the range of [100.0, 1600] of time intervals that have more then 30 days: 186 184 {{{ 187 185 C = if(A > 100 && A < 1600 && td(A) > 30, B) 188 189 same as:190 186 }}} 187 Same expression with explicit definition of the temporal topology relation and temporal operators: 188 {{{ 191 189 C = if(equal, A > 100 && A < 1600 {equal,&&} td(A) > 30, B) 192 190 }}} … … 195 193 {{{ 196 194 C = if(Temp > 10.0, Prec / 3600.0 /24.0 / td(Prec)) 197 198 same as:199 195 }}} 196 Same expression with explicit definition of the temporal topology relation and temporal operators: 197 {{{ 200 198 C = if(equal, Temp > 10.0, Prec / 3600.0 / 24.0 {equal,=/} td(Prec)) 201 199 }}}