annotate gdal_translate.xml @ 0:2241ff3e5b7c draft default tip

Uploaded
author mnhn65mo
date Thu, 02 Aug 2018 06:30:23 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
1 <tool id="gdal_translate" name="GDAL Translate" version="0.1.0">*
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
2 <description>converts raster data between different formats.</description>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
3 <requirements>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
4 <requirement type="package" version="2.1.0">gdal</requirement>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
5 <requirement type="package" version="3.5.0">geos</requirement>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
6 <requirement type="package" version="9b">jpeg</requirement>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
7 <requirement type="package" version="1.5.90">libjpeg-turbo</requirement>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
8 </requirements>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
9 <command detect_errors="exit_code"><![CDATA[
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
10 gdal_translate
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
11
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
12 '$typeinput.input1' '$output'
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
13 #if $settings.advanced=='advanced'
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
14
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
15 #unless $settings.ot=='eg : Byte/Int16/UInt16/UInt32/Int32/Float32/Float64/CInt16/CInt32/CFloat32/CFloat64'
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
16 -ot $settings.ot
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
17 #end unless
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
18
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
19 $settings.strict
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
20
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
21 #unless $settings.b=='e.g : -b 1 -b 2 -b 3'
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
22 $settings.b
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
23 #end unless
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
24
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
25 #unless $settings.mask=='e.g : -mask 1'
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
26 '$settings.mask'
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
27 #end unless
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
28
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
29 #if $settings.condi_resample.resample=='resampling'
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
30 -r $settings.condi_resample.r
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
31 #end if
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
32
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
33 #if $settings.outsize.outsize=='outsize_x'
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
34 -outsize xsize $settings.outsize.outx$settings.outsize.outsize_percent
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
35 #else
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
36 -outsize ysize $settings.outsize.outy$settings.outsize.outsize_percent
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
37 #end if
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
38
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
39 #if $settings.condi_expand.expand=='expand'
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
40 -expand $settings.condi_expand.expand_value
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
41 #end if
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
42
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
43 #if $settings.condi_scale.scale=='scale'
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
44 -scale $settings.condi_scale.src_min $settings.condi_scale.src_max $settings.condi_scale.dst_min $settings.condi_scale.dst_max
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
45 #end if
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
46
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
47 #if $settings.condi_srcwin.srcwin=='srcwin'
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
48 -srcwin $settings.condi_srcwin.xoff $settings.condi_srcwin.yoff $settings.condi_srcwin.xsize $settings.condi_srcwin.ysize
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
49 #end if
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
50
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
51 #if $settings.condi_a_ullr.a_ullr=='a_ullr'
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
52 -a_ullr $settings.condi_a_ullr.ulx $settings.condi_a_ullr.uly $settings.condi_a_ullr.lrx $settings.condi_a_ullr.lry
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
53 #end if
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
54
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
55 $settings.epoeco
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
56 ## $settings.sds
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
57 $settings.stats
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
58 $settings.norat
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
59
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
60 #unless $settings.co=='e.g : COMPRESS=JPEG'
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
61 -co '$settings.co'
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
62 #end unless
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
63
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
64 #unless $settings.mo=='META-TAG=VALUE'
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
65 -mo '$settings.mo'
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
66 #end unless
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
67
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
68 #unless $settings.oo=='NAME=VALUE'
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
69 -oo '$settings.oo'
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
70 #end unless
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
71
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
72 #unless $settings.a_srs==''
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
73 -a_srs '$settings.a_srs'
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
74 #end unless
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
75
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
76 #end if
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
77 -q
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
78 -of '$of'
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
79
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
80 ]]></command>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
81 <inputs>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
82 <conditional name="typeinput">
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
83 <param type="select" name="input" display="radio" label="Gdal supported input file" help="http://www.gdal.org/formats_list.html">
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
84 <option value="dataset">Data file</option>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
85 <option value="subdataset">Subdataset</option>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
86 </param>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
87 <when value="dataset">
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
88 <param type="data" label="Input data" name="input1"/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
89 </when>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
90 <when value="subdataset">
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
91 <param type="data" label="Tabular of subdatasets" name="subdata_tab"/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
92 <param name="input1" type="select" label="Chose your subdata">
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
93 <options from_dataset="subdata_tab">
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
94 <column name="value" index="0"/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
95 </options>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
96 <sanitizer>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
97 <valid initial="string.printable">
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
98 <add value="&quot;"/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
99 </valid>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
100 </sanitizer>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
101 </param>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
102 </when>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
103 </conditional>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
104 <param name="of" type="text" label="Output format" value="gtiff" help="Select the output format. The default is GeoTIFF (GTiff). Use the short format name. http://www.gdal.org/formats_list.html"/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
105 <conditional name="settings">
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
106 <param name="advanced" type="select" label="Specify advanced parameters">
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
107 <option value="simple" selected="true">No, use program defaults.</option>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
108 <option value="advanced">Yes, see full parameter list.</option>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
109 </param>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
110 <when value="simple">
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
111 </when>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
112 <when value="advanced">
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
113
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
114 <param name="ot" type="text" label="-ot type" value="eg : Byte/Int16/UInt16/UInt32/Int32/Float32/Float64/CInt16/CInt32/CFloat32/CFloat64"/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
115 <param name="strict" type="boolean" truevalue="-strict" falsevalue="" checked="false" label="-strict"/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
116 <param name="b" type="text" label="-b band" value="e.g : -b 1 -b 2 -b 3"/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
117 <param name="mask" type="text" label="-mask band" value="e.g : -mask 1"/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
118
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
119 <conditional name="condi_resample">
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
120 <param label="-r" name="resample" type="boolean" truevalue="resampling" falsevalue="no_resampling" checked="false" help="Use a resampling algorithm"/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
121 <when value="resampling">
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
122 <param name="r" type="select" label="Reseampling algorithm" >
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
123 <option value="nearest" selected="true"/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
124 <option value="bilinear"/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
125 <option value="cubic"/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
126 <option value="cubicspline"/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
127 <option value="lanczos"/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
128 <option value="average"/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
129 <option value="mode"/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
130 </param>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
131 </when>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
132 <when value="no_resampling">
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
133 </when>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
134 </conditional>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
135
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
136 <param name="stats" type="boolean" truevalue="-stats" falsevalue="" checked="false" label="-stats" />
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
137 <param name="norat" type="boolean" truevalue="-norat" falsevalue="" checked="false" label="-norat" />
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
138 <param name="co" type="text" label="-co" value="e.g : COMPRESS=JPEG" />
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
139 <param name="mo" type="text" label="-mo" value="META-TAG=VALUE" />
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
140 <param name="oo" type="text" label="-oo" value="NAME=VALUE" />
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
141
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
142 <conditional name="condi_expand">
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
143 <param name="expand" type="select" label="-expand gray|rgb|rgba" >
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
144 <option value="no_expand" selected="true">Don't use the -expand option</option>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
145 <option value="expand">Use the -expand option</option>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
146 </param>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
147 <when value="no_expand">
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
148 </when>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
149 <when value="expand">
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
150 <param name="expand_value" type="select" label="Color table" display="radio" multiple="False">
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
151 <option value="gray" selected="true">GRAY</option>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
152 <option value="rgb">RGB</option>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
153 <option value="rgba">RGBA</option>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
154 </param>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
155 </when>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
156 </conditional>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
157
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
158 <conditional name="outsize">
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
159 <param name="outsize" type="select" label="-outsize" >
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
160 <option value="outsize_x" selected="true">xsize</option>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
161 <option value="outsize_y">ysize</option>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
162 </param>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
163 <when value="outsize_x">
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
164 <param name="outsize_percent" type="boolean" truevalue="%" falsevalue="" checked="true" label="Use percentage"/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
165 <param name="outx" label="xsize" type="integer" value="100"/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
166 </when>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
167 <when value="outsize_y">
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
168 <param name="outsize_percent" type="boolean" truevalue="%" falsevalue="" checked="true" label="Use percentage"/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
169 <param name="outy" label="ysize" type="integer" value="100"/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
170 </when>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
171 </conditional>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
172
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
173 <conditional name="condi_scale">
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
174 <param name="scale" type="select" label="-squale" >
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
175 <option value="no_scale" selected="true">Don't use the -scale option</option>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
176 <option value="scale">Use the -scale option</option>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
177 </param>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
178 <when value="no_scale">
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
179 </when>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
180 <when value="scale">
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
181 <param name="src_min" type="integer" label="src_min" value="0"/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
182 <param name="src_max" type="integer" label="src_max" value="0"/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
183 <param name="dst_min" type="integer" label="dst_min" value="0"/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
184 <param name="dst_max" type="integer" label="dst_max" value="0"/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
185 </when>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
186 </conditional>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
187
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
188 <conditional name="condi_srcwin">
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
189 <param name="srcwin" type="select" label="-srcwin" >
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
190 <option value="no_srcwin" selected="true">Don't use the -srcwin option</option>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
191 <option value="srcwin">Use the -srcwin option</option>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
192 </param>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
193 <when value="no_srcwin">
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
194 </when>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
195 <when value="srcwin">
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
196 <param name="xoff" type="integer" label="xoff" value="0"/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
197 <param name="yoff" type="integer" label="yoff" value="0"/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
198 <param name="xsize" type="integer" label="xsize" value="0"/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
199 <param name="ysize" type="integer" label="ysize" value="0"/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
200 </when>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
201 </conditional>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
202
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
203 <conditional name="condi_a_ullr">
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
204 <param name="a_ullr" type="select" label="-a_ullr" >
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
205 <option value="no_a_ullr" selected="true">Don't use the -a_ullr option</option>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
206 <option value="a_ullr">Use the -a_ullr option</option>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
207 </param>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
208 <when value="no_a_ullr">
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
209 </when>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
210 <when value="a_ullr">
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
211 <param name="ulx" type="integer" label="ulx" value="0"/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
212 <param name="uly" type="integer" label="uly" value="0"/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
213 <param name="lrx" type="integer" label="lrx" value="0"/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
214 <param name="lry" type="integer" label="lry" value="0"/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
215 </when>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
216 </conditional>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
217
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
218 <param name="epoeco" type="select" label="Display error when outside the source raster" display="radio" multiple="False">
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
219 <option value="" selected="true">Default, no error</option>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
220 <option value="-epo">-epo : Error when partially outside</option>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
221 <option value="-eco">-eco : Error when completely outside</option>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
222 </param>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
223 <param name="a_srs" type="text" label="-a_srs" value="" />
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
224
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
225 <!--
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
226 <param name="sds" type="boolean" truevalue="-sds" falsevalue="" checked="false" label="-sds" help="Copy all subdatasets of this file to individual output files. Use with formats like HDF or OGDI that have subdatasets. The output file naming scheme has changed in GDAL 1.11 (e.g. ofile_1.tif, ofile_2.tif)."/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
227 Ici il y a surement une gestion de fichiers de sorties multiple à faire
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
228 -->
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
229
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
230 </when>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
231 </conditional>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
232 </inputs>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
233
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
234 <outputs>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
235 <data name="output" auto_format="true" label="${on_string}.${of}"/> <!--label="${input.name}.${of}-->
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
236 </outputs>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
237
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
238
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
239 <tests>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
240 <test>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
241 <param name="input1" value="stere.tif"/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
242 <param name="of" value="JPEG" />
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
243 <param name="advanced" value="simple"/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
244 <output name="output" file="stere.jpg"/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
245 </test>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
246
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
247 <test> <!-- gdal_translate "/tmp/tmpt_qdGu/files/000/dataset_1.dat" "/tmp/tmpt_qdGu/files/000/dataset_2.dat" -b 1 -outsize xsize 75% -of jpeg -->
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
248 <param name="input1" value="stere.tif"/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
249 <param name="of" value="JPEG" />
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
250 <param name="advanced" value="advanced"/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
251 <param name="b" value="-b 1"/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
252 <param name="outsize" value="outsize_x"/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
253 <param name="outx" value="75"/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
254 <param name="outsize_percent" value="%"/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
255 <output name="output" file="stere_advanced1.jpg"/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
256 </test>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
257
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
258 <test> <!-- gdal_translate "/tmp/tmpt_qdGu/files/000/dataset_1.dat" "/tmp/tmpt_qdGu/files/000/dataset_2.dat" -b 1 -b 2 -r cubic -outsize ysize 75 -of png -->
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
259 <param name="input1" value="stere.tif"/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
260 <param name="of" value="png" />
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
261 <param name="advanced" value="advanced"/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
262 <param name="b" value="-b 1 -b 2"/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
263 <param name="resample" value="resampling"/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
264 <param name="r" value="cubic"/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
265 <param name="outsize" value="outsize_y"/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
266 <param name="outy" value="75"/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
267 <param name="outsize_percent" value=""/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
268 <output name="output" file="stere_advanced2.png"/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
269 </test>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
270
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
271 <test> <!-- gdal_translate "/tmp/tmpki1Dk8/files/000/dataset_1.dat" "/tmp/tmpki1Dk8/files/000/dataset_4.dat" -outsize xsize 100% -a_ullr -180 90 180 -90 -a_srs 'WGS84' -of gtiff -->
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
272 <param name="input1" value="world.png"/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
273 <param name="of" value="gtiff" />
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
274 <param name="advanced" value="advanced"/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
275 <param name="a_ullr" value="a_ullr"/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
276 <param name="ulx" value="-180"/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
277 <param name="uly" value="90"/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
278 <param name="lrx" value="180"/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
279 <param name="lry" value="-90"/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
280 <param name="a_srs" value="WGS84"/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
281 <output name="output" file="geoworld.tif"/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
282 </test>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
283
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
284 </tests>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
285
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
286 <help><![CDATA[
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
287 ===============
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
288 Gdal_translate
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
289 ===============
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
290
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
291 **What it does**
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
292
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
293 The gdal_translate utility can be used to convert raster data between different formats, potentially performing some operations like subsettings, resampling, and rescaling pixels in the process.
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
294
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
295 |
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
296
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
297 **How to use it**
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
298
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
299 Select from history a raster file/subdataset.
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
300
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
301 Specifiy output format using short name (http://www.gdal.org/formats_list.html).
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
302
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
303 |
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
304
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
305 **Other options, advanced usage**
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
306
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
307 *-ot*
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
308
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
309 For the output bands to be of the indicated data type.
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
310
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
311 |
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
312
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
313 *-strict*
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
314
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
315 Don't be forgiving of mismatches and lost data when translating to the output format.
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
316
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
317 |
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
318
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
319 *-b band*
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
320
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
321 Select an input band band for output. 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. Starting with GDAL 1.8.0, band can also be set to "mask,1" (or just "mask") to mean the mask band of the first band of the input dataset.
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
322
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
323 |
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
324
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
325 *-mask band*
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
326
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
327 Select an input band band to create output dataset mask band. Bands are numbered from 1. band can be set to "none" to avoid copying the global mask of the input dataset if it exists. Otherwise it is copied by default ("auto"), unless the mask is an alpha channel, or if it is explicitly used to be a regular band of the output dataset ("-b mask"). band can also be set to "mask,1" (or just "mask") to mean the mask band of the 1st band of the input dataset.
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
328
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
329 |
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
330
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
331 *-r {nearest (default),bilinear,cubic,cubicspline,lanczos,average,mode}*
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
332
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
333 Select a resampling algorithm.
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
334
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
335 |
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
336
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
337 *-stats*
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
338
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
339 Force (re)computation of statistics.
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
340
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
341 |
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
342
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
343 *-norat*
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
344
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
345 Do not copy source RAT into destination dataset.
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
346
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
347 |
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
348
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
349 *-co "NAME=VALUE"*
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
350
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
351 Passes a creation option to the output format driver. Multiple -co options may be listed. See format specific documentation for legal creation options for each format.
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
352
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
353 |
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
354
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
355 *-mo "META-TAG=VALUE"*
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
356
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
357 Passes a metadata key and value to set on the output dataset if possible.
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
358
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
359 |
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
360
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
361 *-oo NAME=VALUE*
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
362
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
363 Dataset open option (format specific)
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
364
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
365 |
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
366
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
367 *-expand gray|rgb|rgba*
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
368
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
369 To expose a dataset with 1 band with a color table as a dataset with 3 (RGB) or 4 (RGBA) bands. Useful for output drivers such as JPEG, JPEG2000, MrSID, ECW that don't support color indexed datasets. The 'gray' value enables to expand a dataset with a color table that only contains gray levels to a gray indexed dataset.
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
370
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
371 |
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
372
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
373 *-outsize xsize[%]|0 ysize[%]|0*
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
374
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
375 Set the size of the output file. Outsize is in pixels and lines unless '%' is attached in which case it is as a fraction of the input image size. Starting with GDAL 2.0, if one of the 2 values is set to 0, its value will be determined from the other one, while maintaining the aspect ratio of the source dataset.
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
376
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
377 |
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
378
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
379 *-scale [src_min src_max [dst_min dst_max]]*
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
380
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
381 Rescale the input pixels values from the range src_min to src_max to the range dst_min to dst_max. If omitted the output range is 0 to 255. If omitted the input range is automatically computed from the source data. Before GDAL 1.11, it can be specified only once, and in that case, it applies to all bands of the output dataset. Starting with GDAL 1.11, -scale can be repeated several times (if specified only once, it also applies to all bands of the output dataset), so as to specify per band parameters. It is also possible to use the "-scale_bn" syntax where bn is a band number (e.g. "-scale_2" for the 2nd band of the output dataset) to specify the parameters of one or several specific bands.
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
382
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
383 |
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
384
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
385 *-srcwin xoff yoff xsize ysize*
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
386
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
387 Selects a subwindow from the source image for copying based on pixel/line location.
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
388
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
389 |
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
390
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
391 *-a_ullr ulx uly lrx lry*
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
392
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
393 Assign/override the georeferenced bounds of the output file. This assigns georeferenced bounds to the output file, ignoring what would have been derived from the source file. So this does not cause reprojection to the specified SRS.
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
394
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
395 |
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
396
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
397 *-epo: (Error when Partially Outside)*
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
398
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
399 If this option is set, -srcwin or -projwin values that falls partially outside the source raster extent will be considered as an error. The default behaviour starting with GDAL 1.10 is to accept such requests, when they were considered as an error before.
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
400
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
401 |
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
402
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
403 *-eco: (Error when Completely Outside)*
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
404
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
405 Same as -epo, except that the criterion for erroring out is when the request falls completely outside the source raster extent.
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
406
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
407 |
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
408
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
409 *-a_srs srs_def*
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
410
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
411 Override the projection for the output file. 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.
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
412
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
413 |
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
414
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
415 **Sources**
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
416
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
417 http://www.gdal.org
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
418
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
419 http://www.gdal.org/gdal_translate.html
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
420
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
421 Raster Processing Tutorial : https://trac.osgeo.org/gdal/wiki/UserDocs/RasterProcTutorial
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
422 ]]></help>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
423 </tool>