162 | | |
163 | | |
164 | | = Overview of all temporal algebra elements = |
| 164 | All supported operators and functions are documented below. |
| 165 | |
| 166 | == Temporal Raster Algebra == |
| 167 | |
| 168 | The temporal raster algebra uses all operators and functions of the temporal |
| 169 | algebra and adds a subset of the 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, |
| 173 | temporal operators and spatial operators. |
| 174 | |
| 175 | |
| 176 | Examples: |
| 177 | Create the sum all maps from STRDS A and B that have equal time stamps and store the new maps in STRDS C. |
| 178 | {{{ |
| 179 | C = A + B |
| 180 | }}} |
| 181 | Same expression with explicit temporal topology and temporal interval processing operators. |
| 182 | {{{ |
| 183 | C = A {equal,=+} B |
| 184 | }}} |
| 185 | Select all cells from STRDS B with equal relations to STRDS A if the cells of A are in the range of [100.0, 1600] of time intervals that have more then 30 days |
| 186 | {{{ |
| 187 | C = if(equal, (A > 100 && A < 1600) {equal,&&} td(A) > 30, B) |
| 188 | }}} |
| 189 | |
| 190 | All supported operators and functions are documented below. |
| 191 | |
| 192 | = Overview of all supported spatio-temporal operators and functions = |