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