parser_s...d_options(1grass)
✨ Parser standard options ✨
okay so bestie, welcome to the parser_s...d_options(1grass) manual! 💖 This is the GRASS User's Manual, and we're about to go through the parser standard options together. No cap, we're listing every single one. 🎀
Here's the tea ☕: each option has these fields: option, answer, description, descriptions, gisprompt, key, key_desc, label, multiple, options, required, type. Some are blank, some are filled, and we're spilling all the deets. 💅
G_OPT_DB_SQL💖- descriptions:
Example: select * from towns where population > 10000— it's giving "here's a whole SQL SELECT example" energy. - key:
sql - key_desc:
sql_query - label:
SQL SELECT statement - required:
NO - type:
TYPE_STRING
- descriptions:
G_OPT_DB_WHERE🦋- descriptions:
Example: income < 1000 and population >= 10000— literally the example WHERE clause vibes. - gisprompt:
old,sql_query,sql_query - key:
where - key_desc:
sql_query - label:
WHERE conditions of SQL statement without ’where’ keyword— note the curly quotes around’where’, bestie, we keep it exact. - required:
NO - type:
TYPE_STRING
- descriptions:
G_OPT_DB_TABLE🌸- description:
Name of attribute table— it's giving "what's the table called?" realness. - gisprompt:
old,dbtable,dbtable - key:
table - key_desc:
name - multiple:
NO - required:
NO - type:
TYPE_STRING
- description:
G_OPT_DB_DRIVER🌈- description:
Name of database driver— the driver's name, periodt. - gisprompt:
old,dbdriver,dbdriver - key:
driver - key_desc:
name - multiple:
NO - required:
NO - type:
TYPE_STRING
- description:
G_OPT_DB_DATABASE💜- description:
Name of database— like, what's the database called? - gisprompt:
old,dbname,dbname - key:
database - key_desc:
name - multiple:
NO - required:
NO - type:
TYPE_STRING
- description:
G_OPT_DB_SCHEMA🧚- description:
Do not use this option if schemas are not supported by driver/database server— big warning energy! If your driver/database server doesn't do schemas, do NOT use this. 🚫 - key:
schema - key_desc:
name - label:
Database schema - multiple:
NO - required:
NO - type:
TYPE_STRING
- description:
G_OPT_DB_COLUMN🍓- description:
Name of attribute column— the column's name, bestie. - gisprompt:
old,dbcolumn,dbcolumn - key:
column - key_desc:
name - multiple:
NO - required:
NO - type:
TYPE_STRING
- description:
G_OPT_DB_COLUMNS🎀- description:
Name of attribute column(s)— yes, plural, multiple columns are welcome here. - gisprompt:
old,dbcolumn,dbcolumn - key:
columns - key_desc:
name - multiple:
YES - required:
NO - type:
TYPE_STRING
- description:
G_OPT_DB_KEYCOLUMN👑- answer:
GV_KEY_COLUMN - description:
Must refer to an integer column— it's gotta be an integer column, no exceptions. - key:
key - key_desc:
name - label:
Name of key column - multiple:
NO - required:
NO - type:
TYPE_STRING
- answer:
G_OPT_I_GROUP🦋- description:
Name of input imagery group— the imagery group's name, slay. - gisprompt:
old,group,group - key:
group - key_desc:
name - required:
YES - type:
TYPE_STRING
- description:
G_OPT_I_SUBGROUP🌸- description:
Name of input imagery subgroup— the subgroup's name, iconic. - gisprompt:
old,subgroup,subgroup - key:
subgroup - key_desc:
name - required:
YES - type:
TYPE_STRING
- description:
G_OPT_MEMORYMB💖- answer:
300 - description:
Cache size for raster rows— it's giving cache size vibes. - key:
memory - key_desc:
memory in MB - label:
Maximum memory to be used (in MB) - multiple:
NO - required:
NO - type:
TYPE_INTEGER
- answer:
G_OPT_R_INPUT✨- description:
Name of input raster map— the input raster map's name, fr fr. - gisprompt:
old,cell,raster - key:
input - key_desc:
name - required:
YES - type:
TYPE_STRING
- description:
G_OPT_R_INPUTS🌈- description:
Name of input raster map(s)— plural, multiple raster maps, we love to see it. - gisprompt:
old,cell,raster - key:
input - key_desc:
name - multiple:
YES - required:
YES - type:
TYPE_STRING
- description:
G_OPT_R_OUTPUT💅- description:
Name for output raster map— the name you're giving to the output raster map, periodt. - gisprompt:
new,cell,raster - key:
output - key_desc:
name - required:
YES - type:
TYPE_STRING
- description:
okay so we're back in the ✨standard options✨ roster, and this chunk is the raster girlies plus the 3D raster girlies 💖 same row format as before — every entry hands you its description, its gisprompt, its key, its key description, a label when it has one, required, options, multiple and type. let's go, no skips, no crumbs:
G_OPT_R_OUTPUTS— Name for output raster map(s). plural coded and the flags agree, bestie — requiredYESand multipleYES, so it wants a whole squad of output names, not one lonely lil map.- the row: gisprompt
new,cell,raster· keyoutput· key descriptionname· requiredYES· multipleYES· typeTYPE_STRING
- the row: gisprompt
G_OPT_R_MAP— Name of raster map. one (1) raster map, singular, iconic, no crowd.- the row: gisprompt
old,cell,raster· keymap· key descriptionname· requiredYES· typeTYPE_STRING
- the row: gisprompt
G_OPT_R_MAPS— Name of raster map(s). same energy as the map one but it said "yes and also bring friends" 🌈.- the row: gisprompt
old,cell,raster· keymap· key descriptionname· requiredYES· multipleYES· typeTYPE_STRING
- the row: gisprompt
G_OPT_R_BASE— Name of base raster map. it's giving the base one, and it is requiredYES.- the row: gisprompt
old,cell,raster· keybase· key descriptionname· requiredYES· typeTYPE_STRING
- the row: gisprompt
G_OPT_R_COVER— Name of cover raster map. the cover one 🎀, also requiredYES, alsoTYPE_STRING, also not up for debate.- the row: gisprompt
old,cell,raster· keycover· key descriptionname· requiredYES· typeTYPE_STRING
- the row: gisprompt
G_OPT_R_ELEV— Name of input elevation raster map. elevation, single serving, requiredYES💅.- the row: gisprompt
old,cell,raster· keyelevation· key descriptionname· requiredYES· typeTYPE_STRING
- the row: gisprompt
G_OPT_R_ELEVS— Name of input elevation raster map(s). elevation but make it a whole collection, so requiredYES+ multipleYES🦋.- the row: gisprompt
old,cell,raster· keyelevation· key descriptionname· requiredYES· multipleYES· typeTYPE_STRING
- the row: gisprompt
G_OPT_R_TYPE— Storage type for resultant raster map. this one's the storage-type selector, and unlike its friends it is not required — the flag literally readsNO🙂↕️.- the row: key
type· question/label textType of raster map to be created· requiredNO· optionsCELL,FCELL,DCELL· multipleYES· typeTYPE_STRING
- the row: key
G_OPT_R_INTERP_TYPE— Sampling interpolation method. the sampling method picker, and it comes with the exact menu of values you'd expect:nearest,bilinear,bicubic✨.- the row: key
method· optionsnearest,bilinear,bicubic· then aNO· typeTYPE_STRING
- the row: key
G_OPT_R_BASENAME_INPUT— Name of input basename raster map(s). input, but as a basename — and note it's requiredNO, so it's the optional lil guy in this lineup 🙈.- the row: gisprompt
old,cell,raster· keyinput· key descriptionbasename· requiredNO· multipleYES· typeTYPE_STRING
- the row: gisprompt
G_OPT_R_BASENAME_OUTPUT— Name for output basename raster map(s). the output twin of the one above, same basename situation, gisprompt is thenew,cell,rasterone 💖.- the row: gisprompt
new,cell,raster· keyoutput· key descriptionbasename· requiredNO· multipleYES· typeTYPE_STRING
- the row: gisprompt
G_OPT_R3_INPUT— Name of input 3D raster map. we're in 3D now, bestie — gisprompt flips toold,grid3,raster_3d🌸.- the row: gisprompt
old,grid3,raster_3d· keyinput· key descriptionname· requiredYES· typeTYPE_STRING
- the row: gisprompt
G_OPT_R3_INPUTS— Name of input 3D raster map(s). 3D inputs, plural, requiredYES, multipleYES, zero chill 🫶.- the row: gisprompt
old,grid3,raster_3d· keyinput· key descriptionname· requiredYES· multipleYES· typeTYPE_STRING
- the row: gisprompt
G_OPT_R3_OUTPUT— Name for output 3D raster map. output side of the 3D world, gispromptnew,grid3,raster_3d⭐.- the row: gisprompt
new,grid3,raster_3d· keyoutput· key descriptionname· requiredYES· typeTYPE_STRING
- the row: gisprompt
G_OPT_R3_MAP— Name of 3D raster map. one 3D raster map, singular, requiredYES, no notes 💅.- the row: gisprompt
old,grid3,raster_3d· keymap· key descriptionname· requiredYES· typeTYPE_STRING
- the row: gisprompt
G_OPT_R3_MAPS— Name of 3D raster map(s). the "and friends" version of the 3D map, multipleYES🔥.- the row: gisprompt
old,grid3,raster_3d· keymap· key descriptionname· requiredYES· multipleYES· typeTYPE_STRING
- the row: gisprompt
G_OPT_R3_TYPE— Data type used in the output raster3d map. the 3D data-type picker — and heads up, there's a straydefaultsitting right after the name in this row, like it just moved in 🍓.- the row:
default(right after the name) · keytype· requiredNO· optionsdefault,double,float· multipleNO· typeTYPE_STRING
- the row:
and that's the whole raster + raster3d block, all seventeen of them, every flag intact periodt 🌈 next batch is loading up 💜
okay so the standard-options parade keeps going and honestly? every single one of these bad boys is here 💅
G_OPT_R3_PRECISION🌸 — the digits situation: number of digits used as mantissa in the internal map storage,0 -23for float,0 - 52for double,maxordefault.- key:
precision - default answer:
default - required:
NO - multiple:
NO - type:
TYPE_STRING
- key:
G_OPT_R3_COMPRESSION🎀 — which compression method gets used in the output raster3d map.- key:
compression - default answer:
default - allowed values:
default,zip,none - required:
NO - multiple:
NO - type:
TYPE_STRING
- key:
G_OPT_R3_TILE_DIMENSION✨ — the dimensions of the tiles used in the output raster3d map (XxYxZ or default:16x16x8).- key:
tiledimension - shown as:
XxYxZ - default answer:
default - required:
NO - multiple:
NO - type:
TYPE_STRING
- key:
G_OPT_V_INPUT💖 — name of input vector map, or data source for direct OGR access.- key:
input - gisprompt:
old,vector,vector - and there's a lil
nameslot sitting in the table too 🙈 - required:
YES - type:
TYPE_STRING
- key:
G_OPT_V_INPUTS💖💖 — the plural queen: name of input vector map(s), or data source(s) for direct OGR access.- key:
input - gisprompt:
old,vector,vector - lil
nameslot again 🙈 - required:
YES - multiple:
YES - type:
TYPE_STRING
- key:
G_OPT_V_OUTPUT🦋 — name for output vector map. this is where the slay gets written, bestie.- key:
output - gisprompt:
new,vector,vector - required:
YES - type:
TYPE_STRING
- key:
G_OPT_V_MAP🌸 — name of vector map, or data source for direct OGR access.- key:
map - gisprompt:
old,vector,vector - lil
nameslot 🙈 - required:
YES - type:
TYPE_STRING
- key:
G_OPT_V_MAPS🌸🌸 — name of vector map(s).- key:
map - gisprompt:
old,vector,vector - required:
YES - multiple:
YES - type:
TYPE_STRING
- key:
G_OPT_V_TYPE🔥 — input feature type, and you get to pick from the menu.- key:
type - allowed values:
point,line,boundary,centroid,area - required:
YES - multiple:
NO - type:
TYPE_STRING
- key:
G_OPT_V3_TYPE🔥🔥 — input feature type but make it 3D-coded, extra flavours included.- key:
type - allowed values:
point,line,boundary,centroid,area,face,kernel - required:
YES - multiple:
NO - type:
TYPE_STRING
- key:
G_OPT_V_FIELD💅 — the whole "which layer are we even talking about" moment. Vector features can have category values in different layers. This number determines which layer to use. When used with direct OGR access this is the layer name.- key:
layer - gisprompt:
old,layer,layer - described as:
Layer number or name - default answer:
1 - required:
NO - type:
TYPE_STRING
- key:
G_OPT_V_FIELD_ALL💅💅 — same energy, but all of them. A single vector map can be connected to multiple database tables. This number determines which table to use. When used with direct OGR access this is the layer name.- key:
layer - gisprompt:
old,layer_all,layer - described as:
Layer number or name (’-1’ for all layers) - default answer:
-1 - required:
NO - type:
TYPE_STRING
- key:
G_OPT_V_CAT🍓 — category value.- key:
cat - gisprompt:
old,cat,cats - required:
NO - type:
TYPE_INTEGER
- key:
G_OPT_V_CATS🍓🍓 — category values, plural, little ranges and everything. the description literally just saysExample: 1,3,7-9,13and honestly? iconic, it shows instead of tells.- key:
cats - gisprompt:
old,cats,cats - the table also shows
rangeandCategory valuesin there 🫶 - required:
NO - type:
TYPE_STRING
- key:
G_OPT_V_ID⭐ — feature id.- key:
id - required:
NO - type:
TYPE_INTEGER
- key:
(still the exact same table, same column order, same everything — I'm just reading each row straight across and skipping the blank cells, because blank is blank, bestie 😌)
G_OPT_V_IDS🎯 —Example: 1,3,7-9,13·ids·range·Feature ids·NO·TYPE_STRINGG_OPT_F_INPUT📂 —Name of input file·old,file,file·input·name·YES·TYPE_STRINGG_OPT_F_BIN_INPUT💾 —Name of input file·old,bin,file·input·name·YES·TYPE_STRINGG_OPT_F_OUTPUT📤 —Name for output file·new,file,file·output·name·YES·TYPE_STRING
G_OPT_F_SEP🍡 —pipe·Special characters: pipe, comma, space, tab, newline·old,separator,separator·separator·character·Field separator·NO·TYPE_STRINGG_OPT_F_FORMAT🎨 —plain·plain;Plain text output;json;JSON (JavaScript Object Notation);·format·name·Output format·plain,json·YES·TYPE_STRING
not the;-separated chunk staying exactly as written —plain;Plain text output;json;JSON (JavaScript Object Notation);— trailing semicolon and all, no notes, no edits 💅
G_OPT_C🌈 —DEFAULT_FG_COLOR·Either a standard color name or R:G:B triplet·old,color,color·color·name·Color·NO·TYPE_STRINGG_OPT_CN🎀 —DEFAULT_FG_COLOR·Either a standard color name, R:G:B triplet, or "none"·old,color_none,color·color·name·Color·NO·TYPE_STRINGG_OPT_C_FORMAT💠 —hex·Color format for output values.·color_format·name·Color format·NO·rgb,hex,hsv,triplet·YES·TYPE_STRINGG_OPT_M_DIR📁 —Name of input directory·old,dir,dir·input·name·YES·TYPE_STRINGG_OPT_M_UNITS📏 —Units·units·NO·miles,feet,meters,kilometers,acres,hectares·NO·TYPE_STRINGG_OPT_M_DATATYPE🔢 —Data type(s)·type·datatype·YES·YES·TYPE_STRING
G_OPT_M_MAPSET🗂️ —'.' for current mapset·old,mapset,mapset·mapset·name·Name of mapset (default: current search path)·NO·NO·TYPE_STRINGG_OPT_M_LOCATION🌍 —Project name (not path to project)·old,location,location·project·name·Project (location) name·NO·NO·TYPE_STRINGG_OPT_M_DBASE🗄️ —Default: path to the current GRASS database·old,dbase,dbase·dbase·path·GRASS database directory·NO·NO·TYPE_STRINGG_OPT_M_COORDS📍 —Coordinates·old,coords,coords·coordinates·east,north·NO·NO·TYPE_DOUBLEG_OPT_M_COLR🌸 —Name of color table·G_color_rules_description_type()·old,colortable,colortable·color·style·G_color_rules_options()·NO·TYPE_STRING
okay theG_color_rules_description_type()andG_color_rules_options()cells are literally written like that, function-call parentheses and everything, so don't go "fixing" them into pretty words. They sit exactly where they sit. 🫶
and that's where this chunk of the table lands — next rows comin' right up 💖
still deep in the standard-options table, carrying on exactly where we left off 💅
quick reminder of the vibe: each row gives you the description first, then the rest of the fields in the same left-to-right order the table has them, kept character for character so nothing gets lost in translation. no cap.
G_OPT_M_NULL_VALUE— String representing NULL value —null_value·string·NO·NO·TYPE_STRINGG_OPT_M_REGION— Name of saved region —old,windows,region·region·name·NO·TYPE_STRINGG_OPT_M_NPROCS— Number of threads for parallel computing —nprocs·NO·NO·TYPE_INTEGER— and the row also carries the bits about what the numbers mean:0·0: use OpenMP default; >0: use nprocs; <0: use MAX-nprocsG_OPT_M_SEED— Seed value for the random number generator —seed·NO·TYPE_INTEGER— with the note riding along that using the same seed ensures identical results, while a randomly generated seed produces different outcomes in each run.
and now the whole space-time dataset family, which is genuinely so satisfying because they're all the same pattern 🦋
G_OPT_STDS_INPUT— Name of the input space time dataset —old,stds,stds·input·name·YES·TYPE_STRINGG_OPT_STDS_INPUTS— Name of the input space time datasets —old,stds,stds·inputs·name·YES·YES·TYPE_STRINGG_OPT_STDS_OUTPUT— Name of the output space time dataset —new,stds,stds·output·name·YES·TYPE_STRINGG_OPT_STRDS_INPUT— Name of the input space time raster dataset —old,strds,strds·input·name·YES·TYPE_STRINGG_OPT_STRDS_INPUTS— Name of the input space time raster datasets —old,strds,strds·inputs·name·YES·YES·TYPE_STRINGG_OPT_STRDS_OUTPUT— Name of the output space time raster dataset —new,strds,strds·output·name·YES·TYPE_STRINGG_OPT_STRDS_OUTPUTS— Name of the output space time raster datasets —new,strds,strds·outputs·name·YES·YES·TYPE_STRINGG_OPT_STVDS_INPUT— Name of the input space time vector dataset —old,stvds,stvds·input·name·YES·TYPE_STRINGG_OPT_STVDS_INPUTS— Name of the input space time vector datasets —old,stvds,stvds·inputs·name·YES·YES·TYPE_STRINGG_OPT_STVDS_OUTPUT— Name of the output space time vector dataset —new,stvds,stvds·output·name·YES·TYPE_STRINGG_OPT_STR3DS_INPUT— Name of the input space time raster3d dataset —old,str3ds,str3ds·input·name·YES·TYPE_STRINGG_OPT_STR3DS_INPUTS— Name of the input space time raster3d datasets —old,str3ds,str3ds·inputs·name·YES·YES·TYPE_STRING
notice the pattern bestie: old,... for stuff coming in, new,... for stuff going out, singular keys for one, plural keys (inputs, outputs) when it wants a whole list instead of just one — and the plural ones are the only ones stacking that second YES on top of the first ✨
G_OPT_STR3DS_OUTPUT— okay so this one is your brand-new output space time raster3d dataset name 💖- What it's giving: "Name of the output space time raster3d dataset"
- Key:
output· Type:name - Row token:
new,str3ds,str3ds - Required:
YES— it's mandatory, no skipping bestie 💅 - Answer type:
TYPE_STRING
G_OPT_STDS_TYPE— the "which flavour of space time dataset are we talking about" picker 🦋- What it's giving: "Type of the input space time dataset"
- Key:
type· Type:name - Values:
strds,stvds,str3ds - Row token:
strds - Required:
NO - Answer type:
TYPE_STRING
G_OPT_MAP_INPUT— one single input map, pls and thank you 🎀- What it's giving: "Name of the input map"
- Key:
map· Type:name - Row token:
old,map,map - Required:
YES - Answer type:
TYPE_STRING
G_OPT_MAP_INPUTS— the plural era, "Name of the input maps" 🌈 (yes, maps, we're not doing just one)- Key:
maps· Type:name - Row token:
old,map,map - Required:
YES— and the row double-stamps a secondYESright there too, it's a whole double-yes situation 😌 - Answer type:
TYPE_STRING
- Key:
G_OPT_MAP_TYPE— "Type of the input map", quick little vibe check on your map 💜- Key:
type· Type:name - Values:
raster,vector,raster_3d - Row token:
raster - Required:
NO - Answer type:
TYPE_STRING
- Key:
G_OPT_T_SUFFIX— the suffix adder, and it is serving options 🌸- What it's giving: "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)"
- Key:
suffix· Type:name - Row token:
gran - Required:
NO - Answer type:
TYPE_STRING
G_OPT_T_TYPE— "The temporal type of the space time dataset", i.e. absolute or relative, pick your timeline ⏳- Key:
temporaltype· Type:name - Values:
absolute,relative - Row token:
absolute - Required:
NO - Answer type:
TYPE_STRING
- Key:
G_OPT_T_WHERE— the SQL WHERE machine, and it goes hard 👑- What it's giving: "WHERE conditions of SQL statement without 'where' keyword used in the temporal GIS framework"
- Example the row hands you:
start_time > '2001-01-01 12:30:00' - Key:
where· Type:sql_query - Required:
NO - Answer type:
TYPE_STRING
G_OPT_T_SAMPLE— "The method to be used for sampling the input dataset" 🧚- Key:
sampling· Type:name - Values:
start,during,overlap,contain,equal,follows,precedes - Row token:
start— and aYESalso pops up in that row right before the values list, so yeah, there are two flags living in there 🙈 - Required:
NO - Answer type:
TYPE_STRING
- Key:
🦋 the index lineup
- Main index
- Topics index
- Keywords index
- Graphical index
- Full index
And that's a wrap, bestie!! 💖 This page lives in the GRASS 8.5.0 Reference Manual, copyright © 2003-2026 GRASS Development Team, and the footer tags it asGRASS 8.5.0alongsideparser_s...d_options(1grass). Go build something iconic with these 🫶✨
📦 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