Skip to content

t.topology

Lists temporal topology of a space time dataset.

t.topology [-ms] input=name [type=name] [where=sql_query] [--verbose] [--quiet] [--qq] [--ui]

Example:

t.topology input=name

grass.script.run_command("t.topology", input, type="strds", where=None, flags=None, verbose=False, quiet=False, superquiet=False)

Example:

gs.run_command("t.topology", input="name")

Parameters

input=name [required]
    Name of the input space time dataset
type=name
    Type of the input space time dataset
    Allowed values: strds, stvds, str3ds
    Default: strds
where=sql_query
    WHERE conditions of SQL statement without 'where' keyword used in the temporal GIS framework
    Example: start_time > '2001-01-01 12:30:00'
-m
    Print temporal topological relationships and exit
-s
    Print spatio-temporal topological relationships and exit
--help
    Print usage summary
--verbose
    Verbose module output
--quiet
    Quiet module output
--qq
    Very quiet module output
--ui
    Force launching GUI dialog

input : str, required
    Name of the input space time dataset
    Used as: input, stds, name
type : str, optional
    Type of the input space time dataset
    Used as: name
    Allowed values: strds, stvds, str3ds
    Default: strds
where : str, optional
    WHERE conditions of SQL statement without 'where' keyword used in the temporal GIS framework
    Example: start_time > '2001-01-01 12:30:00'
    Used as: sql_query
flags : str, optional
    Allowed values: m, s
    m
        Print temporal topological relationships and exit
    s
        Print spatio-temporal topological relationships and exit
verbose: bool, optional
    Verbose module output
    Default: False
quiet: bool, optional
    Quiet module output
    Default: False
superquiet: bool, optional
    Very quiet module output
    Default: False

DESCRIPTION

The module t.topology lists temporal relations of the maps in a space time dataset.

EXAMPLE

In order to obtain information about space time dataset topology, run:

t.topology tempmean_monthly@climate_2009_2012
 +-------------------- Basic information -------------------------------------+
 | Id: ........................ tempmean_monthly@climate_2009_2012
 | Name: ...................... tempmean_monthly
 | Mapset: .................... climate_2009_2012
 | Creator: ................... lucadelu
 | Temporal type: ............. absolute
 | Creation time: ............. 2014-11-28 10:40:55.060096
 | Modification time:.......... 2014-11-28 16:08:42.166628
 | Semantic type:.............. mean
 +-------------------- Temporal topology -------------------------------------+
 | Is subset of dataset: ...... False
 | Temporal topology is: ...... valid
 | Number of intervals: ....... 48
 | Invalid time stamps: ....... 0
 | Number of points: .......... 0
 | Number of gaps: ............ 0
 | Granularity: ............... 1 month
 +-------------------- Topological relations ---------------------------------+
 | Overlaps: .................. 0
 | Overlapped: ................ 0
 | Finishes: .................. 0
 | Started: ................... 0
 | Follows: ................... 47
 | Contains: .................. 0
 | Equal:...................... 0
 | Finished: .................. 0
 | Precedes: .................. 47
 | Starts: .................... 0
 | During: .................... 0
 +----------------------------------------------------------------------------+

SEE ALSO

t.create, t.info

AUTHOR

Sören Gebbert, Thünen Institute of Climate-Smart Agriculture

SOURCE CODE

Available at: t.topology source code (history)
Latest change: Friday Feb 07 19:16:09 2025 in commit a82a39f