~ubuntu-branches/ubuntu/vivid/grass/vivid-proposed

« back to all changes in this revision

Viewing changes to raster3d/r3.out.vtk/parameters.c

  • Committer: Package Import Robot
  • Author(s): Bas Couwenberg
  • Date: 2015-02-20 23:12:08 UTC
  • mfrom: (8.2.6 experimental)
  • Revision ID: package-import@ubuntu.com-20150220231208-1u6qvqm84v430b10
Tags: 7.0.0-1~exp1
* New upstream release.
* Update python-ctypes-ternary.patch to use if/else instead of and/or.
* Drop check4dev patch, rely on upstream check.
* Add build dependency on libpq-dev to grass-dev for libpq-fe.h.
* Drop patches applied upstream, refresh remaining patches.
* Update symlinks for images switched from jpg to png.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
* AUTHOR(S):    Original author 
7
7
*               Soeren Gebbert soerengebbert at gmx de
8
8
*               27 Feb 2006 Berlin
9
 
* PURPOSE:      Converts 3D raster maps (G3D) into the VTK-Ascii format  
 
9
* PURPOSE:      Converts 3D raster maps (RASTER3D) into the VTK-Ascii format  
10
10
*
11
11
* COPYRIGHT:    (C) 2005 by the GRASS Development Team
12
12
*
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");
31
31
 
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");
57
57
 
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");
66
66
 
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.");
72
 
 
73
 
 
74
 
    param.rgbmaps = G_define_option();
 
71
        _("Create 3D elevation output with a top and a bottom surface, both raster maps are required.");
 
72
 
 
73
 
 
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]");
83
81
 
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]");
93
89
 
94
 
 
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";
102
97
 
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");
123
118
 
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");
 
124
 
 
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
 
129
131
 
130
132
    /* Maybe needed in the future
131
133
     * param.xml = G_define_flag ();