comparison gdal_macros.xml @ 0:402131c0b42c draft

planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
author ecology
date Tue, 26 Feb 2019 11:50:55 -0500
parents
children 8c67f7a51e36
comparison
equal deleted inserted replaced
-1:000000000000 0:402131c0b42c
1 <macros>
2 <token name="@VERSION@">2.4.0</token>
3 <xml name="gdal_requirements">
4 <requirements>
5 <requirement type="package" version="2.1.0">gdal</requirement>
6 <requirement type="package" version="3.5.0">geos</requirement>
7 </requirements>
8 </xml>
9
10 <xml name="gdal_advanced_params_select">
11 <param name="advanced" type="select" label="Specify advanced parameters">
12 <option value="simple" selected="true">No, use program defaults.</option>
13 <option value="advanced">Yes, see full parameter list.</option>
14 </param>
15 <when value="simple">
16 </when>
17 </xml>
18
19 <xml name="gdal_param_te">
20 <conditional name="condi_te">
21 <param name="te" type="select" label="Georeferenced extents of output file" help="-te xmin ymin xmax ymax">
22 <option value="no_te" selected="true">Don't use the -te option</option>
23 <option value="te">Use the -te option</option>
24 </param>
25 <when value="no_te">
26 </when>
27 <when value="te">
28 <param name="xmin" type="float" label="xmin" value="0" min="0" help="In target SRS by default, or in the SRS specified with -te_srs"/>
29 <param name="ymin" type="float" label="ymin" value="0" min="0" help="In target SRS by default, or in the SRS specified with -te_srs"/>
30 <param name="xmax" type="float" label="xmax" value="0" min="0" help="In target SRS by default, or in the SRS specified with -te_srs"/>
31 <param name="ymax" type="float" label="ymax" value="0" min="0" help="In target SRS by default, or in the SRS specified with -te_srs"/>
32 </when>
33 </conditional>
34 </xml>
35
36 <xml name="gdal_param_r">
37 <conditional name="condi_resample">
38 <param label="Use a resampling method" help="-r resampling algorithm" name="resample" type="select">
39 <option value="no_resampling" selected="true">Don't use a resampling method</option>
40 <option value="resampling">Use a resampling method, option -r</option>
41 </param>
42 <when value="resampling">
43 <param name="r" type="select" label="Reseampling algorithm" >
44 <option value="nearest" selected="true"/>
45 <option value="bilinear"/>
46 <option value="cubic"/>
47 <option value="cubicspline"/>
48 <option value="lanczos"/>
49 <option value="average"/>
50 <option value="mode"/>
51 <option value="max"/>
52 <option value="min"/>
53 <option value="med">Median resampling</option>
54 <option value="q1">First quartile resampling</option>
55 <option value="q2">Third quartile resampling</option>
56 </param>
57 </when>
58 <when value="no_resampling">
59 </when>
60 </conditional>
61 </xml>
62
63 <xml name="gdal_param_tr">
64 <conditional name="condi_tr">
65 <param name="tr" type="select" label="Set the ouput file resolution" help="-tr xres yres. Set output file resolution (in target georeferenced units)">
66 <option value="no_tr" selected="true">Don't use the -tr option</option>
67 <option value="tr">Use the -tr option</option>
68 </param>
69 <when value="no_tr">
70 </when>
71 <when value="tr">
72 <param name="xres" type="float" label="xres" value="0" min="0"/>
73 <param name="yres" type="float" label="yres" value="0" min="0"/>
74 </when>
75 </conditional>
76 </xml>
77
78 <xml name="gdal_param_b">
79 <param name="b" type="text" label="Select an input band band for output" help="eg : -b band -b 1 -b 2 -b 3. Bands are numbered from 1. Multiple -b switches may be used to select a set of input bands to write to the output file, or to reorder bands." value=""/>
80 </xml>
81
82 <xml name="gdal_param_tap">
83 <param name="tap" label="Align the coordinates" help="-tap Target Aligned Pixel, align the coordinates of the extent of the output file to the values of the -tr, such that the aligned extent includes the minimum extent" type="boolean" truevalue="-tap" falsevalue="" checked="false" />
84 </xml>
85
86 <xml name="gdal_param_separate">
87 <param name="separate" type="boolean" truevalue="-separate" falsevalue="" checked="false" label="Place each input file into a separate band" help="-separate. In that case, only the first band of each dataset will be placed into a new band. Contrary to the default mode, it is not required that all bands have the same datatype" />
88 </xml>
89
90 <xml name="gdal_param_a_srs">
91 <param name="a_srs" type="text" label="Override the projection for the output file" help="-a_srs srs_def. The srs_def may be any of the usual GDAL/OGR forms, complete WKT, PROJ.4, EPSG:n or a file containing the WKT. No reprojection is done" value="" />
92 </xml>
93
94 <xml name="gdal_param_stats">
95 <param name="stats" type="boolean" truevalue="-stats" falsevalue="" checked="false" label="Force (re)computation of statistics" help="-stats. Read and display image statistics. Force computation if no statistics are sto.red in an image."/>
96 </xml>
97
98 <xml name="gdal_param_norat">
99 <param name="norat" type="boolean" truevalue="-norat" falsevalue="" checked="false" help="-norat. Do not copy source RAT into destination dataset." label="Suppress printing of raster attribute table."/>
100 </xml>
101
102 <xml name="gdal_param_of">
103 <param name="of" type="select" label="Output format -of" value="Gtiff" help="Select the output format. The default is GeoTIFF (GTiff). A short list of raster formats is currently enable in GalaxyE : GTiff, netCDF and VRT.">
104 <option value="GTiff">GTiff</option>
105 <option value="netCDF">Network Common Data Format - netCDF</option>
106 <option value="VRT">GDAL Virtual - VRT</option>
107 </param>
108 </xml>
109
110 <xml name="gdal_param_co">
111 <param name="co" type="text" label="Pass a creation option to the output format driver" help="-co NAME=VALUE. eg : COMPRESS=JPEG" value="" />
112 </xml>
113
114 <xml name="gdal_param_ot">
115 <param name="ot" type="select" label="Datatype of the output bands" help="-ot Datatype">
116 <option value="byte">Byte</option>
117 <option value="int16">Int16</option>
118 <option value="uint16">UInt16</option>
119 <option value="uint32">UInt32</option>
120 <option value="int32">Int32</option>
121 <option value="float32">Float32</option>
122 <option value="float64">Float64</option>
123 <option value="cint16">CInt16</option>
124 <option value="cint32">CInt32</option>
125 <option value="cfloat32">CFloat32</option>
126 <option value="cfloat64">CFloat64</option>
127 <option value="" selected="true">Select a datatype for the output bands (default)</option>
128 </param>
129 </xml>
130
131 <!-- need to upgrade gdal version to use
132 <xml name="gdal_param_oo">
133 <param name="oo" type="text" label="-oo NAME=VALUE" value="" />
134 </xml>
135 -->
136
137 <xml name="gdal_input_raster_multiple">
138 <param type="data" name="input" format="gtiff,tiff,netcdf,VRT,txt,xml" help="Formats currently supported are : GTiff, netCDF and VRT" label="Gdal supported input file" multiple="true"/>
139 </xml>
140
141 <xml name="gdal_output_change_format">
142 <data name="output" format="GTiff" label="${on_string}.${of}">
143 <change_format>
144 <when input="of" value="GTiff" format="tiff"/>
145 <when input="of" value="netCDF" format="netcdf"/>
146 <when input="of" value="VRT" format="txt"/>
147 </change_format>
148 </data>
149 </xml>
150
151 <xml name="gdal_citation">
152 <citations>
153 <citation type="bibtex">
154 @Manual{,
155 title = {{GDAL/OGR} Geospatial Data Abstraction software Library},
156 author = {{GDAL/OGR contributors}},
157 organization = {Open Source Geospatial Foundation},
158 year = {2018},
159 url = {http://gdal.org},
160 }
161 </citation>
162 </citations>
163 </xml>
164 </macros>