19 #include "parser_local_proto.h" 152 Opt->
label =
_(
"SQL SELECT statement");
154 _(
"Example: select * from towns where population > 10000");
159 Opt->
gisprompt =
"old,sql_query,sql_query";
162 Opt->
label =
_(
"WHERE conditions of SQL statement without 'where' keyword");
163 Opt->
description =
_(
"Example: income < 1000 and population >= 10000");
181 Opt->
gisprompt =
"old,dbdriver,dbdriver";
184 Opt->
key =
"database";
198 Opt->
label =
_(
"Database schema");
199 Opt->
description =
_(
"Do not use this option if schemas " 200 "are not supported by driver/database server");
209 Opt->
gisprompt =
"old,dbcolumn,dbcolumn";
212 Opt->
key =
"columns";
218 Opt->
gisprompt =
"old,dbcolumn,dbcolumn";
226 Opt->
label =
_(
"Name of key column");
227 Opt->
description =
_(
"Must refer to an integer column");
242 Opt->
key =
"subgroup";
246 Opt->
gisprompt =
"old,subgroup,subgroup";
261 if (memstr && *memstr)
264 Opt->
label =
_(
"Maximum memory to be used (in MB)");
335 Opt->
key =
"elevation";
340 Opt->
description =
_(
"Name of input elevation raster map");
343 Opt->
key =
"elevation";
349 Opt->
description =
_(
"Name of input elevation raster map(s)");
356 Opt->
label =
_(
"Type of raster map to be created");
357 Opt->
description =
_(
"Storage type for resultant raster map");
358 Opt->
options =
"CELL,FCELL,DCELL";
360 "CELL;%s;FCELL;%s;DCELL;%s",
362 _(
"Single precision floating point"),
363 _(
"Double precision floating point"));
370 Opt->
options =
"nearest,bilinear,bicubic";
372 "nearest;%s;bilinear;%s;bicubic;%s",
373 _(
"Nearest-neighbor interpolation"),
374 _(
"Bilinear interpolation"),
375 _(
"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, 0 -23 for float, 0 - 52 for double, max or default");
458 Opt->
key =
"compression";
463 Opt->
options =
"default,zip,none";
465 _(
"The compression method used in the output raster3d map");
468 Opt->
key =
"tiledimension";
475 _(
"The dimensions of the tiles used in the output raster3d map (XxYxZ or default: 16x16x8)");
485 Opt->
label =
_(
"Name of input vector map");
486 Opt->
description =
_(
"Or data source for direct OGR access");
495 Opt->
label =
_(
"Name of input vector map(s)");
496 Opt->
description =
_(
"Or data source(s) for direct OGR access");
512 Opt->
label =
_(
"Name of vector map");
513 Opt->
description =
_(
"Or data source for direct OGR access");
529 Opt->
answer =
"point,line,boundary,centroid,area";
530 Opt->
options =
"point,line,boundary,centroid,area";
538 Opt->
answer =
"point,line,boundary,centroid,area,face,kernel";
539 Opt->
options =
"point,line,boundary,centroid,area,face,kernel";
547 Opt->
label =
_(
"Layer number or name");
549 _(
"Vector features can have category values in different layers." 550 " This number determines which layer to use. " 551 "When used with direct OGR access this is the layer name.");
559 Opt->
label =
_(
"Layer number or name ('-1' for all layers)");
561 _(
"A single vector map can be connected to multiple database " 562 "tables. This number determines which table to use. " 563 "When used with direct OGR access this is the layer name.");
578 Opt->
label =
_(
"Category values");
593 Opt->
label =
_(
"Feature ids");
623 Opt->
key =
"separator";
627 Opt->
gisprompt =
"old,separator,separator";
629 Opt->
label =
_(
"Field separator");
630 Opt->
description =
_(
"Special characters: pipe, comma, space, tab, newline");
643 _(
"Either a standard color name or R:G:B triplet");
654 _(
"Either a standard color name, R:G:B triplet, or \"none\"");
674 "miles,feet,meters,kilometers,acres,hectares";
694 Opt->
label =
_(
"Name of mapset (default: current search path)");
699 Opt->
key =
"location";
703 Opt->
label =
_(
"Location name");
704 Opt->
description =
_(
"Location name (not location path)");
705 Opt->
gisprompt =
"old,location,location";
714 Opt->
label =
_(
"GRASS GIS database directory");
715 Opt->
description =
_(
"Default: path to the current GRASS GIS database");
721 Opt->
key =
"coordinates";
738 Opt->
gisprompt =
"old,colortable,colortable";
742 Opt->
key =
"null_value";
768 if (memstr && *memstr)
771 Opt->
description =
_(
"Number of threads for parallel computing");
781 Opt->
description =
_(
"Name of the input space time dataset");
790 Opt->
description =
_(
"Name of the input space time datasets");
798 Opt->
description =
_(
"Name of the output space time dataset");
806 Opt->
description =
_(
"Name of the input space time raster dataset");
815 Opt->
description =
_(
"Name of the input space time raster datasets");
823 Opt->
description =
_(
"Name of the output space time raster dataset");
826 Opt->
key =
"outputs";
832 Opt->
description =
_(
"Name of the output space time raster datasets");
840 Opt->
description =
_(
"Name of the input space time vector dataset");
849 Opt->
description =
_(
"Name of the input space time vector datasets");
857 Opt->
description =
_(
"Name of the output space time vector dataset");
865 Opt->
description =
_(
"Name of the input space time raster3d dataset");
874 Opt->
description =
_(
"Name of the input space time raster3d datasets");
882 Opt->
description =
_(
"Name of the output space time raster3d dataset");
890 Opt->
options =
"strds,stvds,str3ds";
891 Opt->
description =
_(
"Type of the input space time dataset");
916 Opt->
options =
"raster,vector,raster_3d";
920 Opt->
key =
"temporaltype";
925 Opt->
options =
"absolute,relative";
926 Opt->
description =
_(
"The temporal type of the space time dataset");
933 Opt->
label =
_(
"WHERE conditions of SQL statement without 'where' keyword used in the temporal GIS framework");
934 Opt->
description =
_(
"Example: start_time > '2001-01-01 12:30:00'");
937 Opt->
key =
"sampling";
943 Opt->
options =
"start,during,overlap,contain,equal,follows,precedes";
944 Opt->
description =
_(
"The method to be used for sampling the input dataset");
982 Flg->
label =
_(
"Do not build topology");
983 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