Changes between Version 7 and Version 8 of Grass7/TemporalGISAlgebra


Ignore:
Timestamp:
Jul 5, 2013, 6:22:58 AM (11 years ago)
Author:
huhabla
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Grass7/TemporalGISAlgebra

    v7 v8  
    8484Temporally shift all maps of space time dataset A by two months.
    8585
    86 ==== Temporally snap ===
     86==== Temporally snap ====
    8787
    8888Temporally snap time instances to its temporal nearest neighbor in the future and close gaps between time intervals.
     
    266266   C = A : B
    267267   C = A {:} B
    268    C = A {=:} B
    269268   C = A {equals,:} B
    270    C = A {equals,=:} B
    271269}}}
    272270
     
    278276   C = A !: B
    279277   C = A {!:} B
    280    C = A {=!:} B
    281278   C = A {equals,!:} B
    282    C = A {equals,=!:} B
    283279}}}
    284280
    285281 * Select all maps from space time dataset A that
    286282   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.
    289284 
    290285{{{
    291286   C = A {during,:} B
    292    C = A {during,=:} B
    293 }}}
    294 
    295  * Select all maps from space time dataset A that
    296    are during time intervals of space time dataset B
    297    and store them in space time datasets C. The maps
    298    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,|:} B
    303287}}}
    304288
    305289 * Select all maps from space time dataset A
    306290   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
    312294}}}
    313295
     
    324306
    325307
    326 == Combination of temporal operators ==
    327 
    328 {{{
    329  --------------
    330 |   |  : |  !: |
    331 |---|- --|-----|
    332 | & | &: | &!: |
    333 | | | |: | |!: |
    334 | + | +: | +!: |
    335 | = | =: | =!: |
    336  --------------
    337 }}}
    338 
    339 
    340308== Logical operators ==
    341309
    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
     311Logical operators:
     312
     313{{{
     314Symbol  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
     326Combination of temporal and logical operators:
     327
     328{{{
     329 -------------------------------------------------
     330|   |  && |  || |  == |  != |  <= |  >= |  < |  > |
     331|---|-----|-----|-----|-----|-----|-----|----|----|
     332| & | &&& | &|| | &== | &!= | &<= | &>= | &< | &> |
     333| | | |&& | ||| | |== | |!= | |<= | |>= | |< | |> |
     334| + | +&& | +|| | +== | +!= | +<= | +>= | +< | +> |
     335| = | =&& | =|| | === | =!= | =<= | =>= | =< | => |
     336 -------------------------------------------- ----
    352337}}}
    353338
     
    358343{{{
    359344if                      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
    362350
    363351buff_t(a, size)         Buffer stds a with granule ("1 month" or 5)
    364352tshift(a, size)         Shift stds a with granule ("1 month" or 5)
    365353tsnap(a)                Snap time instances and intervals of stds a
     354
     355td(a)                   Returns a list of time intervals of stds a
    366356
    367357start_time()            Start time as HH::MM:SS
     
    469459  +     addition        2
    470460  -     subtraction     2
    471 }}}
    472 
    473 Logical operators:
    474 
    475 {{{
    476 Symbol  description             precedence
    477 
    478   ==    equal                   3
    479   !=    not equal               3
    480   >     greater than            3
    481   >=    greater than or equal   3
    482   <     less than               3
    483   <=    less than or equal      3
    484   &&    and                     4
    485   ||    or                      4
    486461}}}
    487462
     
    539514 ---------------------------------------
    540515}}}
    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 only
    556 possible in reference time mode.
    557