annotate gdaladdo.xml @ 0:ea0416ac16d0 draft

planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
author ecology
date Tue, 26 Feb 2019 11:51:19 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
ea0416ac16d0 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
1 <tool id="gdal_gdaladdo" name="GDAL addo" version="@VERSION@">
ea0416ac16d0 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
2 <description>builds or rebuilds overview images</description>
ea0416ac16d0 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
3 <macros>
ea0416ac16d0 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
4 <import>gdal_macros.xml</import>
ea0416ac16d0 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
5 </macros>
ea0416ac16d0 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
6 <expand macro="gdal_requirements" />
ea0416ac16d0 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
7 <command detect_errors="exit_code"><![CDATA[
ea0416ac16d0 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
8 gdaladdo '$input1'
ea0416ac16d0 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
9 -q
ea0416ac16d0 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
10 -ro
ea0416ac16d0 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
11 #if str($levels).strip()==''
ea0416ac16d0 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
12 -clean
ea0416ac16d0 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
13 #else
ea0416ac16d0 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
14 '$levels'
ea0416ac16d0 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
15 --config COMPRESS_OVERVIEW DEFLATE
ea0416ac16d0 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
16 && cp '$input1''.ovr' 'output_ovr'
ea0416ac16d0 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
17 #end if
ea0416ac16d0 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
18 ]]></command>
ea0416ac16d0 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
19
ea0416ac16d0 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
20 <inputs>
ea0416ac16d0 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
21 <param type="data" name="input1" label="Gdal supported raster input file" format="gtiff,tiff" help="Chose a GeoTIFF file"/>
ea0416ac16d0 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
22 <param name="levels" type="text" label="levels" help="A list of integral overview levels to build. eg : 2 4 8 16" value=""/>
ea0416ac16d0 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
23 </inputs>
ea0416ac16d0 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
24
ea0416ac16d0 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
25 <outputs>
ea0416ac16d0 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
26 <data format="tiff" name="output" from_work_dir="output_ovr" label="${input1.name}.ovr"/>
ea0416ac16d0 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
27 </outputs>
ea0416ac16d0 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
28
ea0416ac16d0 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
29 <tests>
ea0416ac16d0 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
30 <test>
ea0416ac16d0 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
31 <param name="input1" value="stere.tif"/>
ea0416ac16d0 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
32 <param name="levels" value="2 4 8 16" />
ea0416ac16d0 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
33 <output name="output" file="stere.tif.ovr"/>
ea0416ac16d0 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
34 </test>
ea0416ac16d0 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
35 </tests>
ea0416ac16d0 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
36
ea0416ac16d0 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
37 <help><![CDATA[
ea0416ac16d0 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
38 ==========================
ea0416ac16d0 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
39 Gdaladdo
ea0416ac16d0 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
40 ==========================
ea0416ac16d0 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
41 **What it does**
ea0416ac16d0 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
42
ea0416ac16d0 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
43 The gdaladdo utility can be used to build or rebuild overview images for most supported file formats with one of several downsampling algorithms.
ea0416ac16d0 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
44
ea0416ac16d0 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
45 |
ea0416ac16d0 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
46
ea0416ac16d0 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
47 **How to use it**
ea0416ac16d0 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
48
ea0416ac16d0 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
49 Select a raster file from history and chose levels to build.
ea0416ac16d0 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
50
ea0416ac16d0 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
51 |
ea0416ac16d0 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
52
ea0416ac16d0 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
53 **Advanced options and sources**
ea0416ac16d0 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
54
ea0416ac16d0 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
55 To see complete details and help section please check the official gdal sources.
ea0416ac16d0 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
56
ea0416ac16d0 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
57 http://www.gdal.org
ea0416ac16d0 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
58
ea0416ac16d0 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
59 http://www.gdal.org/gdaladdo.html
ea0416ac16d0 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
60
ea0416ac16d0 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
61 Raster Processing Tutorial : https://trac.osgeo.org/gdal/wiki/UserDocs/RasterProcTutorial
ea0416ac16d0 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
62 ]]></help>
ea0416ac16d0 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
63 <expand macro="gdal_citation"/>
ea0416ac16d0 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
64 </tool>