r3.mkdspf(1)

✨ r3.mkdspf ✨

okay bestie, welcome to r3.mkdspf, from the GRASS GIS User's Manual πŸ’… this is a raster3d / display / voxel girlie, and she's here to make you a display file out of a 3D raster map based on threshold levels you pick. no cap.


🌸 NAME 🌸

r3.mkdspf β€” creates a display file from an existing 3D raster map according to specified threshold levels. literally that's the whole job 🫢

πŸŽ€ KEYWORDS πŸŽ€

raster3d, display, voxel


✨ SYNOPSIS ✨

r3.mkdspf
r3.mkdspf --help
r3.mkdspf [-qf] input=string dspf=name  [levels=float[,float,...]]
[levels=float[,float,...]] [min=float]   [max=float]   [step=float]
[tnum=integer]
[--overwrite]  [--help]  [--verbose]  [--quiet]  [--ui]

okay wait, let me give you the exact synopsis, no edits, no vibes-corruption:

r3.mkdspf
r3.mkdspf --help
r3.mkdspf [-qf] input=string dspf=name  [levels=float[,float,...]]
[min=float]   [max=float]   [step=float]   [tnum=integer]
[--overwrite]  [--help]  [--verbose]  [--quiet]  [--ui]

🌈 Flags:

  • -q β€” shhh mode. suppresses the progress report & the min/max information 🀫
  • -f β€” flat shading instead of gradient, if you're feeling minimal 🎨
  • --overwrite β€” lets output files overwrite files that already exist (she will absolutely bulldoze them, so be careful bestie)
  • --help β€” prints the usage summary
  • --verbose β€” verbose module output, she tells you everything πŸ’¬
  • --quiet β€” quiet module output
  • --ui β€” forces launching the GUI dialog πŸ–₯️

πŸ¦‹ Parameters:

  • input=string [required] β€” name of an existing 3D raster map
  • dspf=name [required] β€” name for the output display file
  • levels=float[,float,...] β€” list of thresholds for isosurfaces
  • min=float β€” minimum isosurface level
  • max=float β€” maximum isosurface level
  • step=float β€” positive increment between isosurface levels
  • tnum=integer β€” number of isosurface threshold levels
    • Default: 7

πŸ’– DESCRIPTION πŸ’–

so here's the tea β˜• she creates a display file from an existing grid3 file according to specified threshold levels. that display file? it's a display list of polygons that represent isosurfaces of the data volume. iconic behavior tbh.

if specific levels are given, the additional optional parameters are ignored β€” she's already made up her mind, periodt. min or max may be used alone or together to specify a sub-range of the data. and the step parameter is given precedence over tnum. iykyk.

πŸ’œ Flags:

  • -q β€” suppress progress report & min/max information
  • -f β€” use flat shading rather than gradient

πŸ’œ Parameters:

  • grid3 β€” name of an existing 3D raster map
  • dspf β€” name of output display file
  • levels β€” list of thresholds for isosurfaces
  • min β€” minimum isosurface level
  • max β€” maximum isosurface level
  • step β€” positive increment between isosurface levels
  • tnum β€” number of isosurface threshold levels
    • Default: 7

🌟 NOTES 🌟

real talk: currently the grid3 file must be in the user's mapset, because the display files being created are specific to particular grid3 files and are contained in directories under them. 😭

and like, the manpage itself says out loud: we should create a mechanism where users may make display files from others' grid3 files without having to copy them to their mapset. so yeah, that's a known wish-list thing, not a thing you can do yet. noted πŸ’€


πŸ“ EXAMPLES πŸ“

say you've got grid3 data (phdata) in the range 3-7, and you only want to see isosurface values for the range 4-6. any of these commands will produce the same results πŸ‘‘:

r3.mkdspf phdata dspf=iso min=4.0 max=6.0 tnum=5
r3.mkdspf phdata dspf=iso levels=4.0,4.5,5.0,5.5,6.0
r3.mkdspf phdata dspf=iso min=4.0 max=6.0 step=0.5

three different roads, same destination. slay ✨


πŸ’œ AUTHOR πŸ’œ

Bill Brown, bbrown@gis.uiuc.edu


🧚 SOURCE CODE 🧚

Available at: r3.mkdspf source code (history)

Accessed: Saturday Jan 17 05:41:16 2026

Main index | 3D raster index | Topics index | Keywords index | Graphical index | Full index

Β© 2003-2025 GRASS Development Team, GRASS GIS 8.4.2 Reference Manual


and that's the whole page bestie 🫢 this was GRASS 8.4.2, page r3.mkdspf(1), last touched by the docs at Saturday Jan 17 05:41:16 2026 β€” go make some isosurfaces, you're gonna eat πŸ’…πŸŒŸ

πŸ“¦ where this page comes from