parser_standard_options.1grass - Man Page

Parser standard options

optionanswerdescriptiondescriptionsgispromptkeykey_desclabelmultipleoptionsrequiredtype
G_OPT_DB_SQLExample: select * from towns where population > 10000sqlsql_querySQL SELECT statementNOTYPE_STRING
G_OPT_DB_WHEREExample: income < 1000 and population >= 10000old,sql_query,sql_querywheresql_queryWHERE conditions of SQL statement without ’where’ keywordNOTYPE_STRING
G_OPT_DB_TABLEName of attribute tableold,dbtable,dbtabletablenameNONOTYPE_STRING
G_OPT_DB_DRIVERName of database driverold,dbdriver,dbdriverdrivernameNONOTYPE_STRING
G_OPT_DB_DATABASEName of databaseold,dbname,dbnamedatabasenameNONOTYPE_STRING
G_OPT_DB_SCHEMADo not use this option if schemas are not supported by driver/database serverschemanameDatabase schemaNONOTYPE_STRING
G_OPT_DB_COLUMNName of attribute columnold,dbcolumn,dbcolumncolumnnameNONOTYPE_STRING
G_OPT_DB_COLUMNSName of attribute column(s)old,dbcolumn,dbcolumncolumnsnameYESNOTYPE_STRING
G_OPT_DB_KEYCOLUMNGV_KEY_COLUMNMust refer to an integer columnkeynameName of key columnNONOTYPE_STRING
G_OPT_I_GROUPName of input imagery groupold,group,groupgroupnameYESTYPE_STRING
G_OPT_I_SUBGROUPName of input imagery subgroupold,subgroup,subgroupsubgroupnameYESTYPE_STRING
G_OPT_MEMORYMB300Cache size for raster rowsmemorymemory in MBMaximum memory to be used (in MB)NONOTYPE_INTEGER
G_OPT_R_INPUTName of input raster mapold,cell,rasterinputnameYESTYPE_STRING
G_OPT_R_INPUTSName of input raster map(s)old,cell,rasterinputnameYESYESTYPE_STRING
G_OPT_R_OUTPUTName for output raster mapnew,cell,rasteroutputnameYESTYPE_STRING
G_OPT_R_OUTPUTSName for output raster map(s)new,cell,rasteroutputnameYESYESTYPE_STRING
G_OPT_R_MAPName of raster mapold,cell,rastermapnameYESTYPE_STRING
G_OPT_R_MAPSName of raster map(s)old,cell,rastermapnameYESYESTYPE_STRING
G_OPT_R_BASEName of base raster mapold,cell,rasterbasenameYESTYPE_STRING
G_OPT_R_COVERName of cover raster mapold,cell,rastercovernameYESTYPE_STRING
G_OPT_R_ELEVName of input elevation raster mapold,cell,rasterelevationnameYESTYPE_STRING
G_OPT_R_ELEVSName of input elevation raster map(s)old,cell,rasterelevationnameYESYESTYPE_STRING
G_OPT_R_TYPEStorage type for resultant raster maptypeType of raster map to be createdNOCELL,FCELL,DCELLYESTYPE_STRING
G_OPT_R_INTERP_TYPESampling interpolation methodmethodnearest,bilinear,bicubicNOTYPE_STRING
G_OPT_R_BASENAME_INPUTName of input basename raster map(s)old,cell,rasterinputbasenameNOYESTYPE_STRING
G_OPT_R_BASENAME_OUTPUTName for output basename raster map(s)new,cell,rasteroutputbasenameNOYESTYPE_STRING
G_OPT_R3_INPUTName of input 3D raster mapold,grid3,raster_3dinputnameYESTYPE_STRING
G_OPT_R3_INPUTSName of input 3D raster map(s)old,grid3,raster_3dinputnameYESYESTYPE_STRING
G_OPT_R3_OUTPUTName for output 3D raster mapnew,grid3,raster_3doutputnameYESTYPE_STRING
G_OPT_R3_MAPName of 3D raster mapold,grid3,raster_3dmapnameYESTYPE_STRING
G_OPT_R3_MAPSName of 3D raster map(s)old,grid3,raster_3dmapnameYESYESTYPE_STRING
G_OPT_R3_TYPEdefaultData type used in the output raster3d maptypeNOdefault,double,floatNOTYPE_STRING
G_OPT_R3_PRECISIONdefaultNumber of digits used as mantissa in the internal map storage, 0 -23 for float, 0 - 52 for double, max or defaultprecisionNONOTYPE_STRING
G_OPT_R3_COMPRESSIONdefaultThe compression method used in the output raster3d mapcompressionNOdefault,zip,noneNOTYPE_STRING
G_OPT_R3_TILE_DIMENSIONdefaultThe dimensions of the tiles used in the output raster3d map (XxYxZ or default: 16x16x8)tiledimensionXxYxZNONOTYPE_STRING
G_OPT_V_INPUTOr data source for direct OGR accessold,vector,vectorinputnameName of input vector mapYESTYPE_STRING
G_OPT_V_INPUTSOr data source(s) for direct OGR accessold,vector,vectorinputnameName of input vector map(s)YESYESTYPE_STRING
G_OPT_V_OUTPUTName for output vector mapnew,vector,vectoroutputnameYESTYPE_STRING
G_OPT_V_MAPOr data source for direct OGR accessold,vector,vectormapnameName of vector mapYESTYPE_STRING
G_OPT_V_MAPSName of vector map(s)old,vector,vectormapnameYESYESTYPE_STRING
G_OPT_V_TYPEpoint,line,boundary,centroid,areaInput feature typetypeYESpoint,line,boundary,centroid,areaNOTYPE_STRING
G_OPT_V3_TYPEpoint,line,boundary,centroid,area,face,kernelInput feature typetypeYESpoint,line,boundary,centroid,area,face,kernelNOTYPE_STRING
G_OPT_V_FIELD1Vector 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.old,layer,layerlayerLayer number or nameNOTYPE_STRING
G_OPT_V_FIELD_ALL-1A 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.old,layer_all,layerlayerLayer number or name (’-1’ for all layers)NOTYPE_STRING
G_OPT_V_CATCategory valueold,cat,catscatNOTYPE_INTEGER
G_OPT_V_CATSExample: 1,3,7-9,13old,cats,catscatsrangeCategory valuesNOTYPE_STRING
G_OPT_V_IDFeature ididNOTYPE_INTEGER
G_OPT_V_IDSExample: 1,3,7-9,13idsrangeFeature idsNOTYPE_STRING
G_OPT_F_INPUTName of input fileold,file,fileinputnameYESTYPE_STRING
G_OPT_F_BIN_INPUTName of input fileold,bin,fileinputnameYESTYPE_STRING
G_OPT_F_OUTPUTName for output filenew,file,fileoutputnameYESTYPE_STRING
G_OPT_F_SEPpipeSpecial characters: pipe, comma, space, tab, newlineold,separator,separatorseparatorcharacterField separatorNOTYPE_STRING
G_OPT_F_FORMATplainplain;Plain text output;json;JSON (JavaScript Object Notation);formatnameOutput formatplain,jsonYESTYPE_STRING
G_OPT_CDEFAULT_FG_COLOREither a standard color name or R:G:B tripletold,color,colorcolornameColorNOTYPE_STRING
G_OPT_CNDEFAULT_FG_COLOREither a standard color name, R:G:B triplet, or "none"old,color_none,colorcolornameColorNOTYPE_STRING
G_OPT_C_FORMAThexColor format for output values.color_formatnameColor formatNOrgb,hex,hsv,tripletYESTYPE_STRING
G_OPT_M_DIRName of input directoryold,dir,dirinputnameYESTYPE_STRING
G_OPT_M_UNITSUnitsunitsNOmiles,feet,meters,kilometers,acres,hectaresNOTYPE_STRING
G_OPT_M_DATATYPEData type(s)typedatatypeYESYESTYPE_STRING
G_OPT_M_MAPSET’.’ for current mapsetold,mapset,mapsetmapsetnameName of mapset (default: current search path)NONOTYPE_STRING
G_OPT_M_LOCATIONProject name (not path to project)old,location,locationprojectnameProject (location) nameNONOTYPE_STRING
G_OPT_M_DBASEDefault: path to the current GRASS databaseold,dbase,dbasedbasepathGRASS database directoryNONOTYPE_STRING
G_OPT_M_COORDSCoordinatesold,coords,coordscoordinateseast,northNONOTYPE_DOUBLE
G_OPT_M_COLRName of color tableG_color_rules_description_type()old,colortable,colortablecolorstyleG_color_rules_options()NOTYPE_STRING
G_OPT_M_NULL_VALUEString representing NULL valuenull_valuestringNONOTYPE_STRING
G_OPT_M_REGIONName of saved regionold,windows,regionregionnameNOTYPE_STRING
G_OPT_M_NPROCS00: use OpenMP default; >0: use nprocs; <0: use MAX-nprocsnprocsNumber of threads for parallel computingNONOTYPE_INTEGER
G_OPT_M_SEEDUsing the same seed ensures identical results, while a randomly generated seed produces different outcomes in each run.seedSeed value for the random number generatorNOTYPE_INTEGER
G_OPT_STDS_INPUTName of the input space time datasetold,stds,stdsinputnameYESTYPE_STRING
G_OPT_STDS_INPUTSName of the input space time datasetsold,stds,stdsinputsnameYESYESTYPE_STRING
G_OPT_STDS_OUTPUTName of the output space time datasetnew,stds,stdsoutputnameYESTYPE_STRING
G_OPT_STRDS_INPUTName of the input space time raster datasetold,strds,strdsinputnameYESTYPE_STRING
G_OPT_STRDS_INPUTSName of the input space time raster datasetsold,strds,strdsinputsnameYESYESTYPE_STRING
G_OPT_STRDS_OUTPUTName of the output space time raster datasetnew,strds,strdsoutputnameYESTYPE_STRING
G_OPT_STRDS_OUTPUTSName of the output space time raster datasetsnew,strds,strdsoutputsnameYESYESTYPE_STRING
G_OPT_STVDS_INPUTName of the input space time vector datasetold,stvds,stvdsinputnameYESTYPE_STRING
G_OPT_STVDS_INPUTSName of the input space time vector datasetsold,stvds,stvdsinputsnameYESYESTYPE_STRING
G_OPT_STVDS_OUTPUTName of the output space time vector datasetnew,stvds,stvdsoutputnameYESTYPE_STRING
G_OPT_STR3DS_INPUTName of the input space time raster3d datasetold,str3ds,str3dsinputnameYESTYPE_STRING
G_OPT_STR3DS_INPUTSName of the input space time raster3d datasetsold,str3ds,str3dsinputsnameYESYESTYPE_STRING
G_OPT_STR3DS_OUTPUTName of the output space time raster3d datasetnew,str3ds,str3dsoutputnameYESTYPE_STRING
G_OPT_STDS_TYPEstrdsType of the input space time datasettypenamestrds,stvds,str3dsNOTYPE_STRING
G_OPT_MAP_INPUTName of the input mapold,map,mapmapnameYESTYPE_STRING
G_OPT_MAP_INPUTSName of the input mapsold,map,mapmapsnameYESYESTYPE_STRING
G_OPT_MAP_TYPErasterType of the input maptypenameraster,vector,raster_3dNOTYPE_STRING
G_OPT_T_SUFFIXgranSuffix 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)suffixnameNOTYPE_STRING
G_OPT_T_TYPEabsoluteThe temporal type of the space time datasettemporaltypenameabsolute,relativeNOTYPE_STRING
G_OPT_T_WHEREExample: start_time > ’2001-01-01 12:30:00’wheresql_queryWHERE conditions of SQL statement without ’where’ keyword used in the temporal GIS frameworkNOTYPE_STRING
G_OPT_T_SAMPLEstartThe method to be used for sampling the input datasetsamplingnameYESstart,during,overlap,contain,equal,follows,precedesNOTYPE_STRING

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

© 2003-2026 GRASS Development Team, GRASS 8.5.0 Reference Manual

Info

GRASS 8.5.0 GRASS User's Manual