Changes between Version 6 and Version 7 of Grass7/TemporalGISAlgebra


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

--

Legend:

Unmodified
Added
Removed
Modified
  • Grass7/TemporalGISAlgebra

    v6 v7  
    2828Hence many operations that are common in spatial processing should have an equivalent in the temporal processing.
    2929
     30==== Temporal selection ====
     31
    3032Here an example of the temporal algebra that simply selects parts of a space time dataset without the processing raster or vector data:
    3133
     
    4850}}}
    4951
    50 We can now define arbitrary topological relations using logical or || to connect them:
     52We can now define arbitrary topological relations using logical OR to connect them:
    5153
    5254{{{
     
    5658Select all parts of A that are equal B, during B or overlaps B.
    5759
    58 In addition we define a temporal buffer function, that buffer time instances or time intervals:
    59 
     60In addition we define a temporal functions:
     61
     62==== Temporal buffer ====
     63Buffer time instances or time intervals:
     64{{{
    6065buff_t(STDS, "time interval")
    61 
     66}}}
    6267Example:
    63 
    6468{{{
    6569C = buff_t(A, "1 day")
     
    6771
    6872Buffer all maps of STDS A with a temporal buffer of one day.
     73
     74==== Temporal shift ====
     75
     76Temporally shift all maps in a space time dataset by an interval:
     77{{{
     78tshift(STDS, "time interval")
     79}}}
     80Example:
     81{{{
     82tshift(A, "2 months")
     83}}}
     84Temporally shift all maps of space time dataset A by two months.
     85
     86==== Temporally snap ===
     87
     88Temporally snap time instances to its temporal nearest neighbor in the future and close gaps between time intervals.
     89{{{
     90tsnap(STDS)
     91}}}
     92
     93==== The hash operator ====
     94
     95It is of important interest how many maps are located in the time interval of a single map when processing two space time datasets.
     96For this reason the hash operator '''#''' was introduced. In addition to the hash operator the temporal relation can be specified
     97that should be analysed.
     98
     99Example:
     100{{{
     101C = if(equal, A{contains,#}B > 2, A{contains,:}B)
     102}}}
     103This expression selects all maps from A that temporally contains at least 2 maps from B and stores them in space time dataset C.
     104The leading '''equal''' statement in the '''if''' condition specifies the temporal relation between the if and then part of the expression. This is very important, so we do not need to specify a time reference for temporal processing.
    69105= Overview of all temporal algebra elements =
    70106