t.vect.what.strds(1)

πŸ’– t.vect.what.strds β€” the GRASS GIS bestie that samples rasters at ur vector points πŸ’–

okay so. bestie. sit DOWN. this is t.vect.what.strds from the GRASS GIS User's Manual, and it's literally the moment ur space time vector dataset (STVDS) gets its glow-up ✨

It stores raster map values at spatial and temporal positions of vector points as vector attributes. that's the whole vibe. it's giving "matchmaker between ur points and ur raster values" πŸŽ€

KEYWORDS: temporal, sampling, vector, time


✨ SYNOPSIS ✨

the way u call this icon:

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, aka the "help me bestie" button πŸ™ˆ
  • --verbose β€” verbose module output, she's chatty and we love that for her πŸ’…
  • --quiet β€” quiet module output, she's mysterious, she's lowkey 🀫
  • --ui β€” forces the GUI dialog to launch, for when u want the pretty buttons 🌸

🧚 Parameters 🧚

  • input=name [required] β€” name of the input space time vector dataset. the points. the main characters. πŸ‘‘
  • strds=name [required] β€” name of the input space time raster dataset. the source of the values she's about to serve πŸ’–
  • column=string β€” name of the vector column to be created and to store sampled raster values.
heads up bestie: the use of a column name forces t.vect.what.rast to sample only values from the first map found in an interval. otherwise the raster map names are used as column names. so like, pick ur fighter wisely 🎯
  • method=string [required] β€” 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, kurtosis
    • Default: disabled
  • 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'
  • sampling=name[,name,...] β€” the method to be used for sampling the input dataset.
    • Options: start, during, overlap, contain, equal, follows, precedes
    • Default: 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). that's it. that's the plot. she takes the raster values, she drops them at the right times and places on ur points, and everybody claps 🫢


πŸ”₯ EXAMPLE πŸ”₯

this one is based on the space time vector dataset precip_stations@climate_2009_2012 created in the t.vect.observe.strds example (iykyk πŸ’…). 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

slay. column created. values extracted. 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 friend group fr fr πŸ¦‹


πŸ’œ AUTHOR πŸ’œ

SΓΆren Gebbert, ThΓΌnen Institute of Climate-Smart Agriculture. icon behavior, honestly πŸ‘‘


πŸŽ€ SOURCE CODE πŸŽ€

Available at: t.vect.what.strds source code (history)

Accessed: Saturday Jan 17 05:41:54 2026

Main index | Temporal index | Topics index | Keywords index | Graphical index | Full index


okay that's the whole page bestie, go forth and sample 🌸

signing off with the receipts: this is from the GRASS GIS 8.4.2 Reference Manual, Β© 2003-2025 GRASS Development Team, and the page itself was pulled on that Saturday Jan 17 05:41:54 2026 moment. t.vect.what.strds(1), GRASS 8.4.2, periodt πŸ’…πŸ’–

πŸ“¦ where this page comes from