27
27
param.input = G_define_standard_option(G_OPT_R3_INPUTS);
28
28
param.input->required = NO;
29
29
param.input->description =
30
_("G3D map(s) to be converted to VTK-ASCII data format");
30
_("3D raster map(s) to be converted to VTK-ASCII data format");
32
32
param.output = G_define_standard_option(G_OPT_F_OUTPUT);
33
33
param.output->required = NO;
53
53
param.top->gisprompt = "old,cell,raster";
54
54
param.top->multiple = NO;
55
55
param.top->guisection = "Surface options";
56
param.top->description = _("top surface 2D raster map");
56
param.top->description = _("Top surface 2D raster map");
58
58
param.bottom = G_define_option();
59
59
param.bottom->key = "bottom";
62
62
param.bottom->gisprompt = "old,cell,raster";
63
63
param.bottom->multiple = NO;
64
64
param.bottom->guisection = "Surface options";
65
param.bottom->description = _("bottom surface 2D raster map");
65
param.bottom->description = _("Bottom surface 2D raster map");
67
67
param.structgrid = G_define_flag();
68
68
param.structgrid->key = 's';
69
69
param.structgrid->guisection = "Surface options";
70
70
param.structgrid->description =
71
_("Create 3d elevation output with a top and a bottom surface, both raster maps are required.");
74
param.rgbmaps = G_define_option();
71
_("Create 3D elevation output with a top and a bottom surface, both raster maps are required.");
74
param.rgbmaps = G_define_standard_option(G_OPT_R3_INPUT);
75
75
param.rgbmaps->key = "rgbmaps";
76
param.rgbmaps->type = TYPE_STRING;
77
76
param.rgbmaps->required = NO;
78
param.rgbmaps->gisprompt = "old,grid3,3d-raster";
79
77
param.rgbmaps->multiple = YES;
80
78
param.rgbmaps->guisection = "Advanced options";
81
79
param.rgbmaps->description =
82
80
_("Three (R,G,B) 3D raster maps to create RGB values [redmap,greenmap,bluemap]");
84
param.vectormaps = G_define_option();
82
param.vectormaps = G_define_standard_option(G_OPT_V_OUTPUT);
85
83
param.vectormaps->key = "vectormaps";
86
param.vectormaps->type = TYPE_STRING;
87
84
param.vectormaps->required = NO;
88
param.vectormaps->gisprompt = "old,grid3,3d-raster";
89
85
param.vectormaps->multiple = YES;
90
86
param.vectormaps->guisection = "Advanced options";
91
87
param.vectormaps->description =
92
88
_("Three (x,y,z) 3D raster maps to create vector values [xmap,ymap,zmap]");
95
90
param.elevscale = G_define_option();
96
param.elevscale->key = "elevscale";
91
param.elevscale->key = "zscale";
97
92
param.elevscale->type = TYPE_DOUBLE;
98
93
param.elevscale->required = NO;
99
94
param.elevscale->description = _("Scale factor for elevation");
101
96
param.elevscale->answer = "1.0";
103
98
param.decimals = G_define_option();
104
param.decimals->key = "dp";
99
param.decimals->key = "precision";
105
100
param.decimals->type = TYPE_INTEGER;
106
101
param.decimals->required = NO;
107
102
param.decimals->multiple = NO;
119
114
param.origin = G_define_flag();
120
115
param.origin->key = 'o';
121
116
param.origin->guisection = "Advanced options";
122
param.origin->description = _("Scale factor effects the origin");
117
param.origin->description = _("Scale factor affects the origin");
124
119
param.coorcorr = G_define_flag();
125
120
param.coorcorr->key = 'c';
126
121
param.coorcorr->guisection = "Advanced options";
127
122
param.coorcorr->description =
128
_("Correct the coordinates to fit the VTK-OpenGL precision");
123
_("Correct the coordinates to match the VTK-OpenGL precision");
125
param.scalell = G_define_flag();
126
param.scalell->key = 'l';
127
param.scalell->guisection = "Advanced options";
128
param.scalell->description =
129
_("Do not convert the top-bottom resolution in case of lat long projection to meters");
130
132
/* Maybe needed in the future
131
133
* param.xml = G_define_flag ();