Changes between Version 7 and Version 8 of Grass7/TemporalGISAlgebra
- Timestamp:
- Jul 5, 2013, 6:22:58 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Grass7/TemporalGISAlgebra
v7 v8 84 84 Temporally shift all maps of space time dataset A by two months. 85 85 86 ==== Temporally snap === 86 ==== Temporally snap ==== 87 87 88 88 Temporally snap time instances to its temporal nearest neighbor in the future and close gaps between time intervals. … … 266 266 C = A : B 267 267 C = A {:} B 268 C = A {=:} B269 268 C = A {equals,:} B 270 C = A {equals,=:} B271 269 }}} 272 270 … … 278 276 C = A !: B 279 277 C = A {!:} B 280 C = A {=!:} B281 278 C = A {equals,!:} B 282 C = A {equals,=!:} B283 279 }}} 284 280 285 281 * Select all maps from space time dataset A that 286 282 are during time intervals of space time dataset B 287 and store them in space time datasets C. Use 288 the time interval/instances of A in C. 283 and store them in space time datasets C. 289 284 290 285 {{{ 291 286 C = A {during,:} B 292 C = A {during,=:} B293 }}}294 295 * Select all maps from space time dataset A that296 are during time intervals of space time dataset B297 and store them in space time datasets C. The maps298 in C will have different time intervals as A or B using the union operator.299 Hence they are unions between time intervals of A and B.300 301 {{{302 C = A {during,|:} B303 287 }}} 304 288 305 289 * Select all maps from space time dataset A 306 290 that are during B and during C and during D. 307 Store the resulting list of maps using the timer intervals/instances 308 of A in E. 309 310 {{{ 311 E = A {during,=:} B {during,=:} C {during,=:} D 291 292 {{{ 293 E = A {during,:} B {during,:} C {during,:} D 312 294 }}} 313 295 … … 324 306 325 307 326 == Combination of temporal operators ==327 328 {{{329 --------------330 | | : | !: |331 |---|- --|-----|332 | & | &: | &!: |333 | | | |: | |!: |334 | + | +: | +!: |335 | = | =: | =!: |336 --------------337 }}}338 339 340 308 == Logical operators == 341 309 342 {{{ 343 == equal 344 != not equal 345 > greater than 346 >= greater than or equal 347 < less than 348 <= less than or equal 349 && and 350 || or 351 310 311 Logical operators: 312 313 {{{ 314 Symbol description precedence 315 316 == equal 3 317 != not equal 3 318 > greater than 3 319 >= greater than or equal 3 320 < less than 3 321 <= less than or equal 3 322 && and 4 323 || or 4 324 }}} 325 326 Combination of temporal and logical operators: 327 328 {{{ 329 ------------------------------------------------- 330 | | && | || | == | != | <= | >= | < | > | 331 |---|-----|-----|-----|-----|-----|-----|----|----| 332 | & | &&& | &|| | &== | &!= | &<= | &>= | &< | &> | 333 | | | |&& | ||| | |== | |!= | |<= | |>= | |< | |> | 334 | + | +&& | +|| | +== | +!= | +<= | +>= | +< | +> | 335 | = | =&& | =|| | === | =!= | =<= | =>= | =< | => | 336 -------------------------------------------- ---- 352 337 }}} 353 338 … … 358 343 {{{ 359 344 if decision option 360 if(x, a) a if x not 0 361 if(x, a, b) a if x not 0, b otherwise 345 if(if, then, else) 346 if(x, a) a if x not 0; temporal topological relation between if and then is equal 347 if(x, a, b) a if x not 0, b otherwise; temporal topological relation between if, then and else is equal 348 if(topo, x, a) a if x not 0; temporal topological relation between if and then is explicit specified by topo 349 if(topo, x, a, b) a if x not 0, b otherwise; temporal topological relation between if, then and else is explicit specified by topo 362 350 363 351 buff_t(a, size) Buffer stds a with granule ("1 month" or 5) 364 352 tshift(a, size) Shift stds a with granule ("1 month" or 5) 365 353 tsnap(a) Snap time instances and intervals of stds a 354 355 td(a) Returns a list of time intervals of stds a 366 356 367 357 start_time() Start time as HH::MM:SS … … 469 459 + addition 2 470 460 - subtraction 2 471 }}}472 473 Logical operators:474 475 {{{476 Symbol description precedence477 478 == equal 3479 != not equal 3480 > greater than 3481 >= greater than or equal 3482 < less than 3483 <= less than or equal 3484 && and 4485 || or 4486 461 }}} 487 462 … … 539 514 --------------------------------------- 540 515 }}} 541 542 Combination of temporal and logical raster operators:543 544 {{{545 ------------------------------------------------546 | | : | !: | == | != | <= | >= | < | > |547 |---|----|-----|-----|-----|-----|-----|----|----|548 | & | &: | &!: | &== | &!= | &<= | &>= | &< | &> |549 | | | |: | |!: | |== | |!= | |<= | |>= | |< | |> |550 | + | +: | +!: | +== | +!= | +<= | +>= | +< | +> |551 | = | =: | =!: | === | =!= | =<= | =>= | =< | => |552 ------------------------------------------- ----553 }}}554 555 Note the combination of temporal and logical operators is only556 possible in reference time mode.557