19 #include "parser_local_proto.h"
154 Opt->
label =
_(
"SQL SELECT statement");
156 _(
"Example: select * from towns where population > 10000");
161 Opt->
gisprompt =
"old,sql_query,sql_query";
165 _(
"WHERE conditions of SQL statement without 'where' keyword");
166 Opt->
description =
_(
"Example: income < 1000 and population >= 10000");
184 Opt->
gisprompt =
"old,dbdriver,dbdriver";
187 Opt->
key =
"database";
201 Opt->
label =
_(
"Database schema");
202 Opt->
description =
_(
"Do not use this option if schemas "
203 "are not supported by driver/database server");
212 Opt->
gisprompt =
"old,dbcolumn,dbcolumn";
215 Opt->
key =
"columns";
221 Opt->
gisprompt =
"old,dbcolumn,dbcolumn";
229 Opt->
label =
_(
"Name of key column");
230 Opt->
description =
_(
"Must refer to an integer column");
245 Opt->
key =
"subgroup";
249 Opt->
gisprompt =
"old,subgroup,subgroup";
264 if (memstr && *memstr)
267 Opt->
label =
_(
"Maximum memory to be used (in MB)");
338 Opt->
key =
"elevation";
343 Opt->
description =
_(
"Name of input elevation raster map");
346 Opt->
key =
"elevation";
352 Opt->
description =
_(
"Name of input elevation raster map(s)");
359 Opt->
label =
_(
"Type of raster map to be created");
360 Opt->
description =
_(
"Storage type for resultant raster map");
361 Opt->
options =
"CELL,FCELL,DCELL";
363 _(
"Integer"),
_(
"Single precision floating point"),
364 _(
"Double precision floating point"));
371 Opt->
options =
"nearest,bilinear,bicubic";
373 "nearest;%s;bilinear;%s;bicubic;%s",
374 _(
"Nearest-neighbor interpolation"),
375 _(
"Bilinear interpolation"),
_(
"Bicubic interpolation"));
384 Opt->
description =
_(
"Name of input basename raster map(s)");
393 Opt->
description =
_(
"Name for output basename raster map(s)");
445 Opt->
options =
"default,double,float";
446 Opt->
description =
_(
"Data type used in the output raster3d map");
449 Opt->
key =
"precision";
455 _(
"Number of digits used as mantissa in the internal map storage, "
456 "0 -23 for float, 0 - 52 for double, max or default");
459 Opt->
key =
"compression";
464 Opt->
options =
"default,zip,none";
466 _(
"The compression method used in the output raster3d map");
469 Opt->
key =
"tiledimension";
475 Opt->
description =
_(
"The dimensions of the tiles used in the output "
476 "raster3d map (XxYxZ or default: 16x16x8)");
486 Opt->
label =
_(
"Name of input vector map");
487 Opt->
description =
_(
"Or data source for direct OGR access");
496 Opt->
label =
_(
"Name of input vector map(s)");
497 Opt->
description =
_(
"Or data source(s) for direct OGR access");
513 Opt->
label =
_(
"Name of vector map");
514 Opt->
description =
_(
"Or data source for direct OGR access");
530 Opt->
answer =
"point,line,boundary,centroid,area";
531 Opt->
options =
"point,line,boundary,centroid,area";
539 Opt->
answer =
"point,line,boundary,centroid,area,face,kernel";
540 Opt->
options =
"point,line,boundary,centroid,area,face,kernel";
548 Opt->
label =
_(
"Layer number or name");
550 _(
"Vector features can have category values in different layers."
551 " This number determines which layer to use. "
552 "When used with direct OGR access this is the layer name.");
560 Opt->
label =
_(
"Layer number or name ('-1' for all layers)");
562 _(
"A single vector map can be connected to multiple database "
563 "tables. This number determines which table to use. "
564 "When used with direct OGR access this is the layer name.");
579 Opt->
label =
_(
"Category values");
594 Opt->
label =
_(
"Feature ids");
624 Opt->
key =
"separator";
628 Opt->
gisprompt =
"old,separator,separator";
630 Opt->
label =
_(
"Field separator");
632 _(
"Special characters: pipe, comma, space, tab, newline");
644 Opt->
description =
_(
"Either a standard color name or R:G:B triplet");
655 _(
"Either a standard color name, R:G:B triplet, or \"none\"");
658 Opt->
key =
"color_format";
664 Opt->
options =
"rgb,hex,hsv,triplet";
665 Opt->
label =
_(
"Color format");
666 Opt->
description =
_(
"Color format for output values.");
668 (
char **)&(Opt->
descriptions),
"rgb;%s;hex;%s;hsv;%s;triplet;%s",
669 _(
"output color in RGB format"),
_(
"output color in HEX format"),
670 _(
"output color in HSV format (experimental)"),
671 _(
"output color in colon-separated RGB format"));
690 Opt->
options =
"miles,feet,meters,kilometers,acres,hectares";
710 Opt->
label =
_(
"Name of mapset (default: current search path)");
715 Opt->
key =
"project";
719 Opt->
label =
_(
"Project (location) name");
720 Opt->
description =
_(
"Project name (not path to project)");
721 Opt->
gisprompt =
"old,location,location";
730 Opt->
label =
_(
"GRASS GIS database directory");
731 Opt->
description =
_(
"Default: path to the current GRASS GIS database");
737 Opt->
key =
"coordinates";
754 Opt->
gisprompt =
"old,colortable,colortable";
758 Opt->
key =
"null_value";
784 if (memstr && *memstr)
787 Opt->
description =
_(
"Number of threads for parallel computing");
794 Opt->
label =
_(
"Seed value for the random number generator");
796 _(
"Using the same seed ensures identical results, "
797 "while a randomly generated seed produces different outcomes "
808 Opt->
description =
_(
"Name of the input space time dataset");
817 Opt->
description =
_(
"Name of the input space time datasets");
825 Opt->
description =
_(
"Name of the output space time dataset");
833 Opt->
description =
_(
"Name of the input space time raster dataset");
842 Opt->
description =
_(
"Name of the input space time raster datasets");
850 Opt->
description =
_(
"Name of the output space time raster dataset");
853 Opt->
key =
"outputs";
859 Opt->
description =
_(
"Name of the output space time raster datasets");
867 Opt->
description =
_(
"Name of the input space time vector dataset");
876 Opt->
description =
_(
"Name of the input space time vector datasets");
884 Opt->
description =
_(
"Name of the output space time vector dataset");
892 Opt->
description =
_(
"Name of the input space time raster3d dataset");
901 Opt->
description =
_(
"Name of the input space time raster3d datasets");
909 Opt->
description =
_(
"Name of the output space time raster3d dataset");
917 Opt->
options =
"strds,stvds,str3ds";
918 Opt->
description =
_(
"Type of the input space time dataset");
943 Opt->
options =
"raster,vector,raster_3d";
947 Opt->
key =
"temporaltype";
952 Opt->
options =
"absolute,relative";
953 Opt->
description =
_(
"The temporal type of the space time dataset");
960 Opt->
label =
_(
"WHERE conditions of SQL statement without 'where' "
961 "keyword used in the temporal GIS framework");
962 Opt->
description =
_(
"Example: start_time > '2001-01-01 12:30:00'");
965 Opt->
key =
"sampling";
971 Opt->
options =
"start,during,overlap,contain,equal,follows,precedes";
973 _(
"The method to be used for sampling the input dataset");
980 Opt->
label =
_(
"Output format");
984 "json;JSON (JavaScript Object Notation);");
1022 Flg->
label =
_(
"Do not build topology");
1024 _(
"Advantageous when handling a large number of points");
char * G_color_rules_options(void)
Get list of color rules for Option->options.
struct Option * G_define_option(void)
Initializes an Option struct.
char * G_color_rules_description_type(void)
Get color rules description for Option->descriptions.
int G_asprintf(char **, const char *,...) __attribute__((format(printf
struct Flag * G_define_flag(void)
Initializes a Flag struct.
const char * G_getenv_nofatal(const char *)
Get environment variable.
char * G_store(const char *)
Copy string to allocated memory.
#define GV_KEY_COLUMN
Name of default key column.
@ G_OPT_R_BASENAME_OUTPUT
@ G_OPT_R3_TILE_DIMENSION
struct Option * G_define_standard_option(int opt)
Create standardised Option structure.
struct Flag * G_define_standard_flag(int flag)
Create standardised Flag structure.
Structure that stores flag info.
Structure that stores option information.
const char * descriptions