annotate gdal_translate.xml @ 1:e97b907e9602 draft

planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit e533a16994d9f0cbab9c5c854db3ac896e07b6e2
author ecology
date Wed, 27 Feb 2019 14:14:54 -0500
parents 1ac517097024
children 0c1062baa9a2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
1 <tool id="gdal_gdal_translate" name="GDAL Translate" version="@VERSION@">
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
2 <description>converts raster data between different formats.</description>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
3 <macros>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
4 <import>gdal_macros.xml</import>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
5 </macros>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
6 <expand macro="gdal_requirements" />
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
7
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
8 <command detect_errors="exit_code"><![CDATA[
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
9 gdal_translate
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
10
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
11 '$typeinput.input1' '$output'
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
12 #if $settings.advanced=='advanced'
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
13
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
14 #if str($settings.ot).strip()!=''
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
15 -ot $settings.ot
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
16 #end if
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
17
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
18 $settings.strict
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
19
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
20 #if str($settings.b).strip()!=''
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
21 $settings.b
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
22 #end if
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
23
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
24 #if str($settings.mask).strip()!=''
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
25 '$settings.mask'
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
26 #end if
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
27
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
28 #if $settings.condi_resample.resample=='resampling'
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
29 -r $settings.condi_resample.r
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
30 #end if
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
31
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
32 #if $settings.outsize.outsize=='outsize_x'
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
33 -outsize xsize $settings.outsize.outx$settings.outsize.outsize_percent
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
34 #else
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
35 -outsize ysize $settings.outsize.outy$settings.outsize.outsize_percent
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
36 #end if
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
37
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
38 #if $settings.condi_expand.expand=='expand'
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
39 -expand $settings.condi_expand.expand_value
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
40 #end if
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
41
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
42 #if $settings.condi_scale.scale=='scale'
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
43 -scale $settings.condi_scale.src_min $settings.condi_scale.src_max $settings.condi_scale.dst_min $settings.condi_scale.dst_max
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
44 #end if
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
45
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
46 #if $settings.condi_srcwin.srcwin=='srcwin'
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
47 -srcwin $settings.condi_srcwin.xoff $settings.condi_srcwin.yoff $settings.condi_srcwin.xsize $settings.condi_srcwin.ysize
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
48 #end if
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
49
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
50 #if $settings.condi_a_ullr.a_ullr=='a_ullr'
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
51 -a_ullr $settings.condi_a_ullr.ulx $settings.condi_a_ullr.uly $settings.condi_a_ullr.lrx $settings.condi_a_ullr.lry
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
52 #end if
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
53
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
54 $settings.epoeco
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
55 ## $settings.sds
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
56 $settings.stats
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
57 $settings.norat
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
58
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
59 #if str($settings.co).strip()!=''
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
60 -co '$settings.co'
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
61 #end if
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
62
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
63 #if str($settings.mo).strip()!=''
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
64 -mo '$settings.mo'
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
65 #end if
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
66
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
67 ## #if str($settings.oo).strip()!=''
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
68 ## -oo '$settings.oo'
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
69 ## #end if
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
70
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
71 #if str($settings.a_srs).strip()!=''
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
72 -a_srs '$settings.a_srs'
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
73 #end if
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
74
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
75 #end if
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
76 -q
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
77 -of '$of'
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
78
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
79 ]]></command>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
80 <inputs>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
81 <conditional name="typeinput">
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
82 <param type="select" name="input" label="Gdal raster supported input file" help="Choose between GTiff,VRT or netCDF. To perform a translate on a subdataset use the gdal information option 'create list of potential subdatasets' to have the usable subdatasets in a file. Then select this file and the subdataset you want to use.">
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
83 <option value="dataset">Data file</option>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
84 <option value="subdataset">Subdataset</option>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
85 </param>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
86 <when value="dataset">
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
87 <param type="data" label="Input data" format="data" help="Select a file you want to convert in GTiff, VRT or netCDF" name="input1"/>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
88 </when>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
89 <when value="subdataset">
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
90 <param type="data" label="Tabular of subdatasets" name="subdata_tab"/>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
91 <param name="input1" type="select" label="Chose your subdata">
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
92 <options from_dataset="subdata_tab">
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
93 <column name="value" index="0"/>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
94 </options>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
95 <sanitizer>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
96 <valid initial="string.printable">
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
97 <add value="&quot;"/>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
98 </valid>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
99 </sanitizer>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
100 </param>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
101 </when>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
102 </conditional>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
103 <expand macro="gdal_param_of"/>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
104 <conditional name="settings">
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
105 <expand macro="gdal_advanced_params_select"/>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
106 <when value="advanced">
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
107 <expand macro="gdal_param_ot"/>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
108 <param name="strict" type="boolean" truevalue="-strict" falsevalue="" checked="false" label="Don't be forgiving of mismatches and lost data" help="-strict"/>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
109 <expand macro="gdal_param_b"/>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
110 <param name="mask" type="text" label="Select an input band band to create output dataset mask band" help="-mask band e.g : -mask 1" value=""/>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
111 <expand macro="gdal_param_r"/>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
112 <expand macro="gdal_param_stats"/>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
113 <expand macro="gdal_param_norat"/>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
114 <expand macro="gdal_param_co"/>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
115 <param name="mo" type="text" label="Pass a metadata key and value to set on the output dataset" help="-mo META-TAG=VALUE" value="" />
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
116
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
117 <!-- commented as the gdalversion need to be upgraded
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
118 <param name="oo" type="text" label="-oo" value="NAME=VALUE" />
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
119 <expand macro="gdal_param_oo"/>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
120 -->
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
121
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
122 <conditional name="condi_expand">
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
123 <param name="expand" type="select" label="Expose a dataset with 1 band with a color table" help="-expand gray|rgb|rgba" >
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
124 <option value="no_expand" selected="true">Don't use the -expand option</option>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
125 <option value="expand">Use the -expand option</option>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
126 </param>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
127 <when value="no_expand">
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
128 </when>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
129 <when value="expand">
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
130 <param name="expand_value" type="select" label="Color table" multiple="False">
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
131 <option value="gray" selected="true">GRAY</option>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
132 <option value="rgb">RGB</option>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
133 <option value="rgba">RGBA</option>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
134 </param>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
135 </when>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
136 </conditional>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
137 <conditional name="outsize">
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
138 <param name="outsize" type="select" label="Set the size of the output file" help="-outsize in % or pixel. Default is 100%." >
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
139 <option value="outsize_x" selected="true">xsize</option>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
140 <option value="outsize_y">ysize</option>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
141 </param>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
142 <when value="outsize_x">
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
143 <param name="outsize_percent" type="boolean" truevalue="%" falsevalue="" checked="true" label="Use percentage"/>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
144 <param name="outx" label="xsize" type="integer" value="100" min="0"/>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
145 </when>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
146 <when value="outsize_y">
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
147 <param name="outsize_percent" type="boolean" truevalue="%" falsevalue="" checked="true" label="Use percentage"/>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
148 <param name="outy" label="ysize" type="integer" value="100" min="0"/>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
149 </when>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
150 </conditional>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
151 <conditional name="condi_scale">
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
152 <param name="scale" type="select" label="Rescale the input pixels values" help="-squale from the range src_min to src_max to the range dst_min to dst_max" >
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
153 <option value="no_scale" selected="true">Don't use the -scale option</option>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
154 <option value="scale">Use the -scale option</option>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
155 </param>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
156 <when value="no_scale">
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
157 </when>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
158 <when value="scale">
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
159 <param name="src_min" type="integer" label="src_min" value="0" min="0"/>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
160 <param name="src_max" type="integer" label="src_max" value="0" min="0"/>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
161 <param name="dst_min" type="integer" label="dst_min" value="0" min="0"/>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
162 <param name="dst_max" type="integer" label="dst_max" value="0" min="0"/>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
163 </when>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
164 </conditional>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
165 <conditional name="condi_srcwin">
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
166 <param name="srcwin" type="select" label="Selects a subwindow from the source image" help="-srcwin. Copying based on pixel/line location" >
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
167 <option value="no_srcwin" selected="true">Don't use the -srcwin option</option>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
168 <option value="srcwin">Use the -srcwin option</option>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
169 </param>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
170 <when value="no_srcwin">
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
171 </when>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
172 <when value="srcwin">
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
173 <param name="xoff" type="integer" label="xoff" value="0" min="0"/>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
174 <param name="yoff" type="integer" label="yoff" value="0" min="0"/>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
175 <param name="xsize" type="integer" label="xsize" value="0" min="0"/>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
176 <param name="ysize" type="integer" label="ysize" value="0" min="0"/>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
177 </when>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
178 </conditional>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
179 <conditional name="condi_a_ullr">
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
180 <param name="a_ullr" type="select" label="Assign/override the georeferenced bounds of the output file" help="-a_ullr ulx uly lrx lry. 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" >
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
181 <option value="no_a_ullr" selected="true">Don't use the -a_ullr option</option>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
182 <option value="a_ullr">Use the -a_ullr option</option>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
183 </param>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
184 <when value="no_a_ullr">
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
185 </when>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
186 <when value="a_ullr">
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
187 <param name="ulx" type="integer" label="ulx" value="0"/>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
188 <param name="uly" type="integer" label="uly" value="0"/>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
189 <param name="lrx" type="integer" label="lrx" value="0"/>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
190 <param name="lry" type="integer" label="lry" value="0"/>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
191 </when>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
192 </conditional>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
193 <param name="epoeco" type="select" label="Display error when outside the source raster" multiple="False">
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
194 <option value="" selected="true">Default, no error</option>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
195 <option value="-epo">-epo : Error when partially outside</option>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
196 <option value="-eco">-eco : Error when completely outside</option>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
197 </param>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
198 <param name="a_srs" type="text" label="Override the projection" help="-a_srs. 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="" />
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
199
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
200 <!--
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
201 <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)."/>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
202 Ici il y a surement une gestion de fichiers de sorties multiple à faire
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
203 -->
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
204
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
205 </when>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
206 </conditional>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
207 </inputs>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
208
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
209 <outputs>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
210 <expand macro="gdal_output_change_format"/>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
211 </outputs>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
212
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
213
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
214 <tests>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
215 <test>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
216 <param name="input1" value="tinyworld.png"/>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
217 <param name="of" value="GTiff" />
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
218 <param name="advanced" value="advanced"/>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
219 <param name="a_ullr" value="a_ullr"/>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
220 <param name="ulx" value="-180"/>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
221 <param name="uly" value="90"/>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
222 <param name="lrx" value="180"/>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
223 <param name="lry" value="-90"/>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
224 <param name="a_srs" value="WGS84"/>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
225 <output name="output" file="tinyworld.tif"/>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
226 </test>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
227 </tests>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
228
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
229 <help><![CDATA[
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
230 ===============
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
231 Gdal_translate
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
232 ===============
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
233
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
234 **What it does**
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
235
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
236 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.
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
237
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
238 |
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
239
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
240 **How to use it**
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
241
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
242 Select from history a raster file/subdataset.
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
243
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
244 Specifiy output format using short name (http://www.gdal.org/formats_list.html).
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
245
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
246 |
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
247
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
248 **Advanced options and sources**
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
249
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
250 To see complete details and help section please check the official gdal sources.
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
251
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
252 http://www.gdal.org
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
253
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
254 http://www.gdal.org/gdal_translate.html
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
255
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
256 Raster Processing Tutorial : https://trac.osgeo.org/gdal/wiki/UserDocs/RasterProcTutorial
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
257 ]]></help>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
258 <expand macro="gdal_citation"/>
1ac517097024 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
259 </tool>