19 #include "parser_local_proto.h" 151 Opt->
label =
_(
"SQL SELECT statement");
153 _(
"Example: select * from towns where population > 10000");
158 Opt->
gisprompt =
"old,sql_query,sql_query";
161 Opt->
label =
_(
"WHERE conditions of SQL statement without 'where' keyword");
162 Opt->
description =
_(
"Example: income < 1000 and population >= 10000");
180 Opt->
gisprompt =
"old,dbdriver,dbdriver";
183 Opt->
key =
"database";
197 Opt->
label =
_(
"Database schema");
198 Opt->
description =
_(
"Do not use this option if schemas " 199 "are not supported by driver/database server");
208 Opt->
gisprompt =
"old,dbcolumn,dbcolumn";
211 Opt->
key =
"columns";
217 Opt->
gisprompt =
"old,dbcolumn,dbcolumn";
225 Opt->
label =
_(
"Name of key column");
226 Opt->
description =
_(
"Must refer to an integer column");
241 Opt->
key =
"subgroup";
245 Opt->
gisprompt =
"old,subgroup,subgroup";
260 if (memstr && *memstr)
263 Opt->
label =
_(
"Maximum memory to be used (in MB)");
334 Opt->
key =
"elevation";
339 Opt->
description =
_(
"Name of input elevation raster map");
342 Opt->
key =
"elevation";
348 Opt->
description =
_(
"Name of input elevation raster map(s)");
355 Opt->
label =
_(
"Type of raster map to be created");
356 Opt->
description =
_(
"Storage type for resultant raster map");
357 Opt->
options =
"CELL,FCELL,DCELL";
359 "CELL;%s;FCELL;%s;DCELL;%s",
361 _(
"Single precision floating point"),
362 _(
"Double precision floating point"));
369 Opt->
options =
"nearest,bilinear,bicubic";
371 "nearest;%s;bilinear;%s;bicubic;%s",
372 _(
"Nearest-neighbor interpolation"),
373 _(
"Bilinear interpolation"),
374 _(
"Bicubic interpolation"));
383 Opt->
description =
_(
"Name of input basename raster map(s)");
392 Opt->
description =
_(
"Name for output basename raster map(s)");
444 Opt->
options =
"default,double,float";
445 Opt->
description =
_(
"Data type used in the output raster3d map");
448 Opt->
key =
"precision";
454 _(
"Number of digits used as mantissa in the internal map storage, 0 -23 for float, 0 - 52 for double, max or default");
457 Opt->
key =
"compression";
462 Opt->
options =
"default,zip,none";
464 _(
"The compression method used in the output raster3d map");
467 Opt->
key =
"tiledimension";
474 _(
"The dimensions of the tiles used in the output raster3d map (XxYxZ or default: 16x16x8)");
484 Opt->
label =
_(
"Name of input vector map");
485 Opt->
description =
_(
"Or data source for direct OGR access");
494 Opt->
label =
_(
"Name of input vector map(s)");
495 Opt->
description =
_(
"Or data source(s) for direct OGR access");
511 Opt->
label =
_(
"Name of vector map");
512 Opt->
description =
_(
"Or data source for direct OGR access");
528 Opt->
answer =
"point,line,boundary,centroid,area";
529 Opt->
options =
"point,line,boundary,centroid,area";
537 Opt->
answer =
"point,line,boundary,centroid,area,face,kernel";
538 Opt->
options =
"point,line,boundary,centroid,area,face,kernel";
546 Opt->
label =
_(
"Layer number or name");
548 _(
"Vector features can have category values in different layers." 549 " This number determines which layer to use. " 550 "When used with direct OGR access this is the layer name.");
558 Opt->
label =
_(
"Layer number or name ('-1' for all layers)");
560 _(
"A single vector map can be connected to multiple database " 561 "tables. This number determines which table to use. " 562 "When used with direct OGR access this is the layer name.");
577 Opt->
label =
_(
"Category values");
592 Opt->
label =
_(
"Feature ids");
622 Opt->
key =
"separator";
626 Opt->
gisprompt =
"old,separator,separator";
628 Opt->
label =
_(
"Field separator");
629 Opt->
description =
_(
"Special characters: pipe, comma, space, tab, newline");
642 _(
"Either a standard color name or R:G:B triplet");
653 _(
"Either a standard color name, R:G:B triplet, or \"none\"");
673 "miles,feet,meters,kilometers,acres,hectares";
693 Opt->
label =
_(
"Name of mapset (default: current search path)");
698 Opt->
key =
"location";
702 Opt->
label =
_(
"Location name");
703 Opt->
description =
_(
"Location name (not location path)");
704 Opt->
gisprompt =
"old,location,location";
713 Opt->
label =
_(
"GRASS GIS database directory");
714 Opt->
description =
_(
"Default: path to the current GRASS GIS database");
720 Opt->
key =
"coordinates";
737 Opt->
gisprompt =
"old,colortable,colortable";
741 Opt->
key =
"null_value";
765 Opt->
description =
_(
"Name of the input space time dataset");
774 Opt->
description =
_(
"Name of the input space time datasets");
782 Opt->
description =
_(
"Name of the output space time dataset");
790 Opt->
description =
_(
"Name of the input space time raster dataset");
799 Opt->
description =
_(
"Name of the input space time raster datasets");
807 Opt->
description =
_(
"Name of the output space time raster dataset");
810 Opt->
key =
"outputs";
816 Opt->
description =
_(
"Name of the output space time raster datasets");
824 Opt->
description =
_(
"Name of the input space time vector dataset");
833 Opt->
description =
_(
"Name of the input space time vector datasets");
841 Opt->
description =
_(
"Name of the output space time vector dataset");
849 Opt->
description =
_(
"Name of the input space time raster3d dataset");
858 Opt->
description =
_(
"Name of the input space time raster3d datasets");
866 Opt->
description =
_(
"Name of the output space time raster3d dataset");
874 Opt->
options =
"strds,stvds,str3ds";
875 Opt->
description =
_(
"Type of the input space time dataset");
900 Opt->
options =
"raster,vector,raster_3d";
904 Opt->
key =
"temporaltype";
909 Opt->
options =
"absolute,relative";
910 Opt->
description =
_(
"The temporal type of the space time dataset");
917 Opt->
label =
_(
"WHERE conditions of SQL statement without 'where' keyword used in the temporal GIS framework");
918 Opt->
description =
_(
"Example: start_time > '2001-01-01 12:30:00'");
921 Opt->
key =
"sampling";
927 Opt->
options =
"start,during,overlap,contain,equal,follows,precedes";
928 Opt->
description =
_(
"The method to be used for sampling the input dataset");
966 Flg->
label =
_(
"Do not build topology");
967 Flg->
description =
_(
"Advantageous when handling a large number of points");
#define GV_KEY_COLUMN
Name of default key column.
struct Option * G_define_standard_option(int opt)
Create standardised Option structure.
char * G_color_rules_description_type(void)
Get color rules description for Option->descriptions.
const char * descriptions
struct Flag * G_define_standard_flag(int flag)
Create standardised Flag structure.
struct Option * G_define_option(void)
Initializes an Option struct.
Structure that stores flag info.
char * G_color_rules_options(void)
Get list of color rules for Option->options.
struct Flag * G_define_flag(void)
Initializes a Flag struct.
Structure that stores option information.
const char * G_getenv_nofatal(const char *)
Get environment variable.
char * G_store(const char *)
Copy string to allocated memory.
int G_asprintf(char **, const char *,...) __attribute__((format(printf