t.vect.what.strds(1grass)
β¨ t.vect.what.strds β¨
okay so bestie, welcome to t.vect.what.strds from the GRASS User's Manual π this one lives in the temporal corner of the GRASS world and it's literally the "go grab raster values at my vector points and write them down as attributes" module. icon behavior fr fr π
KEYWORDS: temporal, sampling, vector, time π
πΈ SYNOPSIS πΈ
t.vect.what.strds
t.vect.what.strds --help
t.vect.what.strds input=name strds=name [column=string] method=string
[where=sql_query] [t_where=sql_query] [sampling=name[,name,...]]
[--help] [--verbose] [--quiet] [--ui]
π Flags
--helpβ prints the usage summary, no thoughts just the summary π--verboseβ verbose module output, she's chatty π£οΈ--quietβ quiet module output, she's giving mysterious π€«--uiβ force launches the GUI dialog, for when you want the pretty buttons π¦
π§ Parameters
input=name[required] β the name of the input space time vector dataset. this is your STVDS bestie, you need her.strds=name[required] β the name of the input space time raster dataset. your STRDS. also required, no skipping.column=stringβ the name of the vector column to be created and to store sampled raster values π the use of a column name forcest.vect.what.rastto sample only values from the first map found in an interval. otherwise the raster map names are used as column names πmethod=string[required] β the aggregate operation to be performed on the raster maps β¨ Options:disabled,average,count,median,mode,minimum,min_raster,maximum,max_raster,stddev,range,sum,variance,diversity,slope,offset,detcoeff,quart1,quart3,perc90,quantile,skewness,kurtosisDefault:disabledwhere=sql_queryβ WHERE conditions of SQL statement without 'where' keyword π Example:income < 1000 and population >= 10000t_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'sampling=name[,name,...]β the method to be used for sampling the input dataset π§΅ Options:start,during,overlap,contain,equal,follows,precedesDefault:start
π DESCRIPTION π
The module t.vect.what.strds samples a space time raster dataset (STRDS) at the spatio-temporal locations of a space time vector dataset (STVDS). periodt. that's the whole vibe. spatio-temporal sampling, she ate π
π¦ EXAMPLE π¦
The example is based on the space time vector dataset "precip_stations@climate_2009_2012" created in the t.vect.observe.strds example. In the example below, the module fills the new column "new_temp" with values extracted from the "tempmean_monthly" space time raster dataset:
t.vect.what.strds input=precip_stations@climate_2009_2012 \
strds=tempmean_monthly@climate_2009_2012 \
column=new_temp method=average
look at her go π so clean, so iconic, method=average, new column popped into existence, no cap.
π SEE ALSO π
r.univar, v.univar, v.what.rast, v.what.rast3, v.what.strds, v.what.vect, t.create, t.info
(the whole what/what-adjacent family reunion, plus the temporal basics π«Ά)
π AUTHOR π
SΓΆren Gebbert, ThΓΌnen Institute of Climate-Smart Agriculture πΎ major respect, legend behavior
β SOURCE CODE β
Available at: t.vect.what.strds source code (history)
Latest change: Friday Feb 07 19:16:09 2025 in commit: a82a39f673b97fafcfce1604dc3e6015cb96487a
Main index | Temporal index | Topics index | Keywords index | Graphical index | Full index
and that's the tea, bestie π this was GRASS 8.5.0, Β© 2003-2026 GRASS Development Team, from the GRASS 8.5.0 Reference Manual β go sample something iconic, ily πβ¨
π¦ where this page comes from
- alpine 3.24: grass-gis-doc 8.5.0-r1 Β· GPL-2.0-or-later
- ubuntu stonking: grass-doc 8.5.0-1ubuntu1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms