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=None, verbose=None, quiet=None, superquiet=None)
Example:
gs.run_command("v.what.strds", input="name", strds="name")
grass.tools.Tools.v_what_strds(input, strds, output=None, where=None, t_where=None, flags=None, overwrite=None, verbose=None, quiet=None, superquiet=None)
Example:
tools = Tools()
tools.v_what_strds(input="name", strds="name")
This grass.tools API is experimental in version 8.5 and expected to be stable in version 8.6.
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: None
verbose : bool, optional
    Verbose module output
    Default: None
quiet : bool, optional
    Quiet module output
    Default: None
superquiet : bool, optional
    Very quiet module output
    Default: None  
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: None
verbose : bool, optional
    Verbose module output
    Default: None
quiet : bool, optional
    Quiet module output
    Default: None
superquiet : bool, optional
    Very quiet module output
    Default: None  
Returns:
result : grass.tools.support.ToolResult | None
If the tool produces text as standard output, a ToolResult object will be returned. Otherwise, None will be returned.
Raises:
grass.tools.ToolError: When the tool ended with an error.
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