Skip to content

v.what.strds

Uploads space time raster dataset values at positions of vector points to the table.

v.what.strds [-u] input=name strds=name [,name,...] [output=name] [where=sql_query] [t_where=sql_query] [--overwrite] [--verbose] [--quiet] [--qq] [--ui]

Example:

v.what.strds input=name strds=name

grass.script.run_command("v.what.strds", input, strds, output=None, where=None, t_where=None, flags=None, overwrite=False, verbose=False, quiet=False, superquiet=False)

Example:

gs.run_command("v.what.strds", input="name", strds="name")

Parameters

input=name [required]
    Name of input vector map
    Or data source for direct OGR access
strds=name [,name,...] [required]
    Name of the input space time raster datasets
output=name
    Name for output vector map
where=sql_query
    WHERE conditions of SQL statement without 'where' keyword
    Example: income < 1000 and population >= 10000
t_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'
-u
    Update attribute table of input vector map
    Instead of creating a new vector map update the attribute table with value(s)
--overwrite
    Allow output files to overwrite existing files
--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 input vector map
    Or data source for direct OGR access
    Used as: input, vector, name
strds : str | list[str], required
    Name of the input space time raster datasets
    Used as: input, strds, name
output : str, optional
    Name for output vector map
    Used as: output, vector, name
where : str, optional
    WHERE conditions of SQL statement without 'where' keyword
    Example: income < 1000 and population >= 10000
    Used as: input, sql_query, sql_query
t_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: u
    u
        Update attribute table of input vector map
        Instead of creating a new vector map update the attribute table with value(s)
overwrite: bool, optional
    Allow output files to overwrite existing files
    Default: False
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

v.what.strds retrieves raster values from a given space-time raster datasets (STRDS) using a point vector map.

NOTES

TBD.

EXAMPLES

v.what.strds input=mypoints strds=mystrds output=newvector

SEE ALSO

v.what.rast, t.vect.observe.strds

AUTHOR

Luca Delucchi

SOURCE CODE

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