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";
163 _(
"WHERE conditions of SQL statement without 'where' keyword");
164 Opt->
description =
_(
"Example: income < 1000 and population >= 10000");
182 Opt->
gisprompt =
"old,dbdriver,dbdriver";
185 Opt->
key =
"database";
199 Opt->
label =
_(
"Database schema");
200 Opt->
description =
_(
"Do not use this option if schemas "
201 "are not supported by driver/database server");
210 Opt->
gisprompt =
"old,dbcolumn,dbcolumn";
213 Opt->
key =
"columns";
219 Opt->
gisprompt =
"old,dbcolumn,dbcolumn";
227 Opt->
label =
_(
"Name of key column");
228 Opt->
description =
_(
"Must refer to an integer column");
243 Opt->
key =
"subgroup";
247 Opt->
gisprompt =
"old,subgroup,subgroup";
262 if (memstr && *memstr)
265 Opt->
label =
_(
"Maximum memory to be used (in MB)");
336 Opt->
key =
"elevation";
341 Opt->
description =
_(
"Name of input elevation raster map");
344 Opt->
key =
"elevation";
350 Opt->
description =
_(
"Name of input elevation raster map(s)");
357 Opt->
label =
_(
"Type of raster map to be created");
358 Opt->
description =
_(
"Storage type for resultant raster map");
359 Opt->
options =
"CELL,FCELL,DCELL";
361 _(
"Integer"),
_(
"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"),
_(
"Bicubic interpolation"));
382 Opt->
description =
_(
"Name of input basename raster map(s)");
391 Opt->
description =
_(
"Name for output basename raster map(s)");
443 Opt->
options =
"default,double,float";
444 Opt->
description =
_(
"Data type used in the output raster3d map");
447 Opt->
key =
"precision";
453 _(
"Number of digits used as mantissa in the internal map storage, "
454 "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";
473 Opt->
description =
_(
"The dimensions of the tiles used in the output "
474 "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");
630 _(
"Special characters: pipe, comma, space, tab, newline");
642 Opt->
description =
_(
"Either a standard color name or R:G:B triplet");
653 _(
"Either a standard color name, R:G:B triplet, or \"none\"");
672 Opt->
options =
"miles,feet,meters,kilometers,acres,hectares";
692 Opt->
label =
_(
"Name of mapset (default: current search path)");
697 Opt->
key =
"project";
701 Opt->
label =
_(
"Project (location) name");
702 Opt->
description =
_(
"Project name (not path to project)");
703 Opt->
gisprompt =
"old,location,location";
712 Opt->
label =
_(
"GRASS GIS database directory");
713 Opt->
description =
_(
"Default: path to the current GRASS GIS database");
719 Opt->
key =
"coordinates";
736 Opt->
gisprompt =
"old,colortable,colortable";
740 Opt->
key =
"null_value";
766 if (memstr && *memstr)
769 Opt->
description =
_(
"Number of threads for parallel computing");
779 Opt->
description =
_(
"Name of the input space time dataset");
788 Opt->
description =
_(
"Name of the input space time datasets");
796 Opt->
description =
_(
"Name of the output space time dataset");
804 Opt->
description =
_(
"Name of the input space time raster dataset");
813 Opt->
description =
_(
"Name of the input space time raster datasets");
821 Opt->
description =
_(
"Name of the output space time raster dataset");
824 Opt->
key =
"outputs";
830 Opt->
description =
_(
"Name of the output space time raster datasets");
838 Opt->
description =
_(
"Name of the input space time vector dataset");
847 Opt->
description =
_(
"Name of the input space time vector datasets");
855 Opt->
description =
_(
"Name of the output space time vector dataset");
863 Opt->
description =
_(
"Name of the input space time raster3d dataset");
872 Opt->
description =
_(
"Name of the input space time raster3d datasets");
880 Opt->
description =
_(
"Name of the output space time raster3d dataset");
888 Opt->
options =
"strds,stvds,str3ds";
889 Opt->
description =
_(
"Type of the input space time dataset");
914 Opt->
options =
"raster,vector,raster_3d";
918 Opt->
key =
"temporaltype";
923 Opt->
options =
"absolute,relative";
924 Opt->
description =
_(
"The temporal type of the space time dataset");
931 Opt->
label =
_(
"WHERE conditions of SQL statement without 'where' "
932 "keyword used in the temporal GIS framework");
933 Opt->
description =
_(
"Example: start_time > '2001-01-01 12:30:00'");
936 Opt->
key =
"sampling";
942 Opt->
options =
"start,during,overlap,contain,equal,follows,precedes";
944 _(
"The method to be used for sampling the input dataset");
951 Opt->
label =
_(
"Output format");
955 "json;JSON (JavaScript Object Notation);");
993 Flg->
label =
_(
"Do not build topology");
995 _(
"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