t.rast.to.vect(1grass)

πŸ’– t.rast.to.vect πŸ’–

okay bestie, gather round, because this is t.rast.to.vect from the GRASS User's Manual and it is literally the glow-up machine for your temporal data. It takes a space time raster dataset and turns it into a space time vector dataset. raster ➑️ vector. the pipeline is serving, the timeline is intact, it's giving transformation. ✨

🌸 KEYWORDS 🌸

temporal, conversion, raster, vector, time


πŸŽ€ SYNOPSIS πŸŽ€

t.rast.to.vect
t.rast.to.vect --help
t.rast.to.vect [-ntszbv] input=name output=name  [where=sql_query]
type=string basename=string  [suffix=name]   [column=string]
[nprocs=integer]   [--overwrite]  [--help]  [--verbose]  [--quiet]
[--ui]

✨ Flags ✨

  • -n β€” Register empty vector maps πŸ’€ yes, the empty ones get registered too
  • -t β€” Do not create attribute tables (no tables, no problem)
  • -s β€” Smooth corners of area features πŸ¦‹ soft edges, soft life
  • -z β€” Write raster values as z coordinate. Table is not created. Currently supported only for points. πŸ“
  • -b β€” Do not build vector topology. Name must be SQL compliant.
  • -v β€” Use raster values as categories instead of unique sequence (CELL only) πŸ”’
  • --overwrite β€” Allow output files to overwrite existing files (bestie, this one bites, be careful πŸ™ˆ)
  • --help β€” Print usage summary
  • --verbose β€” Verbose module output (it will NOT stop talking and honestly? iconic)
  • --quiet β€” Quiet module output (shhh 🀫)
  • --ui β€” Force launching GUI dialog

πŸ’… Parameters πŸ’…

  • input=name [required] β€” Name of the input space time raster dataset
  • output=name [required] β€” Name of the output space time vector dataset
  • 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'
  • type=string [required] β€” Output feature type. Options: point, line, area
  • basename=string [required] β€” Basename of the new generated output maps. A numerical suffix separated by an underscore will be attached to create a unique identifier.
  • suffix=name β€” Suffix to add at basename: set 'gran' for granularity, 'time' for the full time format, 'num' for numerical suffix with a specific number of digits (default %%05). Default: gran
  • column=string β€” Name of attribute column to store value. Default: value
  • nprocs=integer β€” Number of r.to.vect processes to run in parallel, more than 1 process works only in conjunction with flag -t. Default: 1

🫢 DESCRIPTION 🫢

So t.rast.to.vect is designed to convert a space time raster dataset into a space time vector dataset. no cap, that's the whole job. This module works as a front-end to r.to.vect and therefore supports all parameter of this module. Hence, all raster map layers in a space time raster dataset are passed to r.to.vect that converts them into vector map layers (using point, line or area as conversion criteria). Please refer to the r.to.vect documentation for a detailed description of the raster to vector conversion options. The new generated vector map layers will be registered in the output space time vector dataset, using the same time stamps as their raster map layer origins. πŸ•βœ¨ like the timestamps stay aligned, the lore is preserved, we love to see it.

This module supports the parallel processing of r.to.vect module instances. The number of parallel processes can be set with the nprocs option. However, this will only work in conjunction with the -t flag, that avoids the creation of attribute tables. The parallel creation of attribute tables is not supported. ⚠️ so if you wanted parallel + attribute tables, bestie… that's simply not on the menu today.

The where option allows selecting subsets of the input space time raster dataset. 🎯 pick your faves, filter the timeline, main character selectivity.

The flag -n can be used to force the registration of empty vector map layers. Empty vector maps may occur in case that empty raster map layers should be converted into vector map layers. πŸ’€ yes, sometimes the void itself gets registered. it's a whole thing.


🌈 reminder that r.to.vect is doing the heavy lifting under the hood here β€” this module is the front-end, the hype woman, the manager. know your team.

πŸ‘‘ SEE ALSO πŸ‘‘

  • r.to.vect
  • t.rast.db.select
  • t.info

🌟 AUTHOR 🌟

SΓΆren Gebbert, GeoinformatikbΓΌro Dassau

⭐ SOURCE CODE ⭐

Available at: t.rast.to.vect source code (history)

Latest change: Tuesday Jan 27 12:40:13 2026 in commit: 5e8b13d47dd4fc81efa5abefe90c34f7a8291fb9

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


and that's the whole page, bestie πŸŽ€ sending you off with the receipts: this one's from the GRASS 8.5.0 Reference Manual, Β© 2003-2026 GRASS Development Team, and the page itself is t.rast.to.vect(1grass) β€” go convert something pretty and don't forget your timestamps πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from