changeset 0:2241ff3e5b7c draft default tip

Uploaded
author mnhn65mo
date Thu, 02 Aug 2018 06:30:23 -0400
parents
children
files gdal_merge.xml gdal_translate.xml gdaladdo.xml gdalbuildvrt.xml gdalinfo.xml gdalwarp.xml ogrinfo.xml
diffstat 7 files changed, 1735 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gdal_merge.xml	Thu Aug 02 06:30:23 2018 -0400
@@ -0,0 +1,237 @@
+<tool id="gdal_merge" name="GDAL Merge" version="0.1.0">
+    <description>mosaics a set of images.</description>
+    <requirements>
+        <requirement type="package" version="2.1.0">gdal</requirement>
+        <requirement type="package" version="3.5.0">geos</requirement>
+        <requirement type="package" version="9b">jpeg</requirement>
+        <requirement type="package" version="1.5.90">libjpeg-turbo</requirement>
+    </requirements>
+    <command detect_errors="exit_code"><![CDATA[
+        gdal_merge.py
+            -q        
+            #for $i, $s in enumerate( $series )
+                '${s.input}'
+            #end for
+            
+            #unless $of==''
+                -of '$of'
+            #end unless
+            
+            #if $settings.advanced=='advanced'
+                
+                #unless $settings.co=='NAME=VALUE'
+                    -co '$settings.co'
+                #end unless
+                
+                #unless $settings.ot=='Datatype'
+                    -ot '$settings.ot'
+                #end unless
+                
+                #if $settings.condi_ps.pixelsize=='use_ps'
+                    -ps $settings.condi_ps.pixelsize_x $settings.condi_ps.pixelsize_y
+                #end if
+                
+                $settings.tap
+                
+                #if $settings.condi_ul_lr.ul_lr=='ul_lr'
+                    -ul_lr $settings.condi_ul_lr.ulx $settings.condi_ul_lr.uly $settings.condi_ul_lr.lrx $settings.condi_ul_lr.lry
+                #end if
+                
+                $settings.v
+                
+                $settings.separate
+                
+                $settings.pct
+                
+                #unless $settings.n=='nodata_value'
+                    -n '$settings.n'
+                #end unless
+                
+                #unless $settings.a_nodata=='output_nodata_value'
+                    -a_nodata '$settings.a_nodata'
+                #end unless
+                
+                #unless $settings.init=='value(s)'
+                    -init '$settings.init'
+                #end unless
+                
+            #end if
+            
+            -o '$output'
+        ]]></command>
+        
+    <inputs>
+        
+        <repeat name="series" title="Input file">
+            <param type="data" name="input" format="data" label="Gdal supported input file" help="http://www.gdal.org/formats_list.html"/>
+        </repeat>
+        
+        <param name="of" type="text" label="Output format" value="" help="Select the output format. The default is GeoTIFF (GTiff). Use the short format name. http://www.gdal.org/formats_list.html"/>
+        
+        <conditional name="settings">
+            <param name="advanced" type="select" label="Specify advanced parameters">
+                <option value="simple" selected="true">No, use program defaults.</option>
+                <option value="advanced">Yes, see full parameter list.</option>
+            </param>        
+            <when value="simple">
+            </when>
+            <when value="advanced">
+                <param name="co" type="text" label="-co" value="NAME=VALUE"/>
+            
+                <param name="ot" type="text" label="-ot" value="Datatype" />
+            
+                <conditional name="condi_ps">
+                    <param label="-ps pixelsize_x pixelsize_y" name="pixelsize" type="boolean" truevalue="use_ps" falsevalue="no_ps" checked="false" />
+                    <when value="use_ps">
+                        <param name="pixelsize_x" type="integer" value="0"/>
+                        <param name="pixelsize_y" type="integer" value="0"/>
+                    </when>
+                    <when value="no_ps">
+                    </when>
+                </conditional>        
+            
+                <param name="tap" label="-tap" type="boolean" truevalue="-tap" falsevalue="" checked="false" />
+            
+                <conditional name="condi_ul_lr">
+                    <param name="ul_lr" type="select" label="-ul_lr ulx uly lrx lry" >
+                        <option value="no_ul_lr" selected="true">Don't use the -ul_lr option</option>
+                        <option value="ul_lr">Use the -ul_lr option</option>
+                    </param>
+                    <when value="no_ul_lr">
+                    </when>
+                    <when value="ul_lr">
+                        <param name="ulx" type="integer" label="ulx" value="0"/>
+                        <param name="uly" type="integer" label="uly" value="0"/>
+                        <param name="lrx" type="integer" label="lrx" value="0"/>
+                        <param name="lry" type="integer" label="lry" value="0"/>
+                    </when>
+                </conditional>        
+            
+                <param name="v" type="boolean" truevalue="-v" falsevalue="" checked="false" label="-v" />
+            
+                <param name="separate" type="boolean" truevalue="-separate" falsevalue="" checked="false" label="-separate" />
+            
+                <param name="pct" type="boolean" truevalue="-pct" falsevalue="" checked="false" label="-pct" />
+            
+                <param name="n" type="text" label="-n nodata_value" value="nodata_value" />
+            
+                <param name="a_nodata" type="text" label="-a_nodata" value="output_nodata_value" />
+            
+                <param name="init" type="text" label="-init" value="value(s)" />
+                
+                
+            </when>
+        </conditional>
+        
+    </inputs>
+        
+    <outputs>
+        <data name="output" auto_format="true"/> <!--label="${input.name}.${of}-->
+    </outputs>
+    
+    <tests>
+        
+        <test>
+            <param name="input" value="west.dem"/>
+            <param name="input" value="east.dem"/>
+            <param name="advanced" value="simple"/>
+            <output name="output" file="mergeddem.tif"/>
+        </test>
+        
+    </tests>
+    
+    <help><![CDATA[
+==========================
+Gdal_merge
+==========================
+**What it does**
+
+This utility will automatically mosaic a set of images. All the images must be in the same coordinate system and have a matching number of bands, but they may be overlapping, and at different resolutions. In areas of overlap, the last image will be copied over earlier ones.
+
+|
+
+**How to use it**
+
+Select as much raster files as you want from history to make the mosaic.
+
+Specifiy output format using short name (http://www.gdal.org/formats_list.html).
+
+|
+
+**Other options, advanced usage**
+
+*-co NAME=VALUE*
+   
+    Creation option for output file. Multiple options can be specified. See format specific documentation for legal creation options for each format 
+
+|
+
+*-ot datatype*
+   
+    Force the output image bands to have a specific type. Use type names (i.e. Byte, Int16,...) 
+
+|
+
+*-ps pixelsize_x pixelsize_y*
+
+    Pixel size to be used for the output file. If not specified the resolution of the first input file will be used.
+
+|
+
+*-tap*
+
+    (target aligned pixels) align the coordinates of the extent of the output file to the values of the -tr, such that the aligned extent includes the minimum extent.
+
+|
+
+*-ul_lr ulx uly lrx lry*
+   
+    The extents of the output file. If not specified the aggregate extents of all input files will be used. 
+
+|
+
+*-v*
+    
+    Generate verbose output of mosaicing operations as they are done. 
+
+|
+
+*-separate*
+    
+    Place each input file into a separate band. 
+
+|
+
+*-pct*
+    
+    Grab a pseudo-color table from the first input image, and use it for the output. Merging pseudo-colored images this way assumes that all input files use the same color table. 
+
+|
+
+*-n nodata_value*
+    
+    Ignore pixels from files being merged in with this pixel value. 
+
+|
+
+*-a_nodata output_nodata_value*
+
+    Assign a specified nodata value to output bands. 
+
+|
+
+*-init "value(s)"*
+
+    Pre-initialize the output image bands with these values. However, it is not marked as the nodata value in the output file. If only one value is given, the same value is used in all the bands.
+
+|
+        
+**Sources**
+
+http://www.gdal.org
+
+http://www.gdal.org/gdal_merge.html
+
+Raster Processing Tutorial : https://trac.osgeo.org/gdal/wiki/UserDocs/RasterProcTutorial
+    ]]></help>
+</tool>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gdal_translate.xml	Thu Aug 02 06:30:23 2018 -0400
@@ -0,0 +1,423 @@
+<tool id="gdal_translate" name="GDAL Translate" version="0.1.0">*
+    <description>converts raster data between different formats.</description>
+    <requirements>
+        <requirement type="package" version="2.1.0">gdal</requirement>
+        <requirement type="package" version="3.5.0">geos</requirement>
+        <requirement type="package" version="9b">jpeg</requirement>
+        <requirement type="package" version="1.5.90">libjpeg-turbo</requirement>
+    </requirements>
+    <command detect_errors="exit_code"><![CDATA[
+        gdal_translate 
+
+            '$typeinput.input1' '$output'
+            #if $settings.advanced=='advanced'
+                
+                #unless $settings.ot=='eg : Byte/Int16/UInt16/UInt32/Int32/Float32/Float64/CInt16/CInt32/CFloat32/CFloat64'
+                    -ot $settings.ot
+                #end unless
+
+                $settings.strict
+                
+                #unless $settings.b=='e.g : -b 1 -b 2 -b 3'
+                    $settings.b
+                #end unless
+                
+                #unless $settings.mask=='e.g : -mask 1'
+                    '$settings.mask'
+                #end unless
+                
+                #if $settings.condi_resample.resample=='resampling'
+                    -r $settings.condi_resample.r
+                #end if
+
+                #if $settings.outsize.outsize=='outsize_x'
+                    -outsize xsize $settings.outsize.outx$settings.outsize.outsize_percent
+                #else
+                    -outsize ysize $settings.outsize.outy$settings.outsize.outsize_percent
+                #end if
+                        
+                #if $settings.condi_expand.expand=='expand'
+                    -expand $settings.condi_expand.expand_value
+                #end if
+                
+                #if $settings.condi_scale.scale=='scale'
+                    -scale $settings.condi_scale.src_min $settings.condi_scale.src_max $settings.condi_scale.dst_min $settings.condi_scale.dst_max
+                #end if
+                    
+                #if $settings.condi_srcwin.srcwin=='srcwin'
+                    -srcwin $settings.condi_srcwin.xoff $settings.condi_srcwin.yoff $settings.condi_srcwin.xsize $settings.condi_srcwin.ysize
+                #end if
+                
+                #if $settings.condi_a_ullr.a_ullr=='a_ullr'
+                    -a_ullr $settings.condi_a_ullr.ulx $settings.condi_a_ullr.uly $settings.condi_a_ullr.lrx $settings.condi_a_ullr.lry
+                #end if
+                
+                $settings.epoeco
+                ## $settings.sds
+                $settings.stats
+                $settings.norat
+                
+                #unless $settings.co=='e.g : COMPRESS=JPEG'
+                    -co '$settings.co'
+                #end unless
+                
+                #unless $settings.mo=='META-TAG=VALUE'
+                    -mo '$settings.mo'
+                #end unless
+                
+                #unless $settings.oo=='NAME=VALUE'
+                    -oo '$settings.oo'
+                #end unless
+                
+                #unless $settings.a_srs==''
+                    -a_srs '$settings.a_srs'
+                #end unless
+                            
+            #end if
+            -q 
+            -of '$of'
+        
+    ]]></command>
+    <inputs>
+        <conditional name="typeinput">
+            <param type="select" name="input" display="radio" label="Gdal supported input file" help="http://www.gdal.org/formats_list.html">
+                <option value="dataset">Data file</option>
+                <option value="subdataset">Subdataset</option>
+            </param>
+            <when value="dataset">
+                <param type="data" label="Input data" name="input1"/>
+            </when>    
+            <when value="subdataset">
+                <param type="data" label="Tabular of subdatasets" name="subdata_tab"/>
+                <param name="input1" type="select" label="Chose your subdata">
+                   <options from_dataset="subdata_tab">
+                       <column name="value" index="0"/>
+                   </options>
+                   <sanitizer>
+                        <valid initial="string.printable">
+                            <add value="&quot;"/>
+                        </valid>
+                    </sanitizer>
+                </param>
+            </when>
+        </conditional>
+        <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"/>
+        <conditional name="settings">
+            <param name="advanced" type="select" label="Specify advanced parameters">
+                <option value="simple" selected="true">No, use program defaults.</option>
+                <option value="advanced">Yes, see full parameter list.</option>
+            </param>        
+            <when value="simple">
+            </when>
+            <when value="advanced">
+
+                <param name="ot" type="text" label="-ot type" value="eg : Byte/Int16/UInt16/UInt32/Int32/Float32/Float64/CInt16/CInt32/CFloat32/CFloat64"/>
+                <param name="strict" type="boolean" truevalue="-strict" falsevalue="" checked="false" label="-strict"/>
+                <param name="b" type="text" label="-b band" value="e.g : -b 1 -b 2 -b 3"/>
+                <param name="mask" type="text" label="-mask band" value="e.g : -mask 1"/>
+                
+                <conditional name="condi_resample">
+                    <param label="-r" name="resample" type="boolean" truevalue="resampling" falsevalue="no_resampling" checked="false" help="Use a resampling algorithm"/>
+                    <when value="resampling">
+                        <param name="r" type="select" label="Reseampling algorithm" >
+                            <option value="nearest" selected="true"/>
+                            <option value="bilinear"/>
+                            <option value="cubic"/>
+                            <option value="cubicspline"/>
+                            <option value="lanczos"/>
+                            <option value="average"/>
+                            <option value="mode"/>
+                        </param>
+                    </when>
+                    <when value="no_resampling">
+                    </when>
+                </conditional>
+                
+                <param name="stats" type="boolean" truevalue="-stats" falsevalue="" checked="false" label="-stats" />
+                <param name="norat" type="boolean" truevalue="-norat" falsevalue="" checked="false" label="-norat" />
+                <param name="co" type="text" label="-co" value="e.g : COMPRESS=JPEG" />
+                <param name="mo" type="text" label="-mo" value="META-TAG=VALUE" />
+                <param name="oo" type="text" label="-oo" value="NAME=VALUE" />
+                
+                <conditional name="condi_expand">
+                    <param name="expand" type="select" label="-expand gray|rgb|rgba" >
+                        <option value="no_expand" selected="true">Don't use the -expand option</option>
+                        <option value="expand">Use the -expand option</option>
+                    </param>
+                    <when value="no_expand">
+                    </when>
+                    <when value="expand">
+                        <param name="expand_value" type="select" label="Color table" display="radio" multiple="False">
+                            <option value="gray" selected="true">GRAY</option>
+                            <option value="rgb">RGB</option>
+                            <option value="rgba">RGBA</option>
+                        </param>
+                    </when>
+                </conditional>
+                
+                <conditional name="outsize">
+                    <param name="outsize" type="select" label="-outsize" >
+                        <option value="outsize_x" selected="true">xsize</option>
+                        <option value="outsize_y">ysize</option>
+                    </param>
+                    <when value="outsize_x">
+                        <param name="outsize_percent" type="boolean" truevalue="%" falsevalue="" checked="true" label="Use percentage"/>
+                        <param name="outx" label="xsize" type="integer" value="100"/>
+                    </when>
+                    <when value="outsize_y">
+                        <param name="outsize_percent" type="boolean" truevalue="%" falsevalue="" checked="true" label="Use percentage"/>
+                        <param name="outy" label="ysize" type="integer" value="100"/>
+                    </when>
+                </conditional>
+                
+                <conditional name="condi_scale">
+                    <param name="scale" type="select" label="-squale" >
+                        <option value="no_scale" selected="true">Don't use the -scale option</option>
+                        <option value="scale">Use the -scale option</option>
+                    </param>
+                    <when value="no_scale">
+                    </when>
+                    <when value="scale">
+                        <param name="src_min" type="integer" label="src_min" value="0"/>
+                        <param name="src_max" type="integer" label="src_max" value="0"/>
+                        <param name="dst_min" type="integer" label="dst_min" value="0"/>
+                        <param name="dst_max" type="integer" label="dst_max" value="0"/>
+                    </when>
+                </conditional>
+                
+                <conditional name="condi_srcwin">
+                    <param name="srcwin" type="select" label="-srcwin" >
+                        <option value="no_srcwin" selected="true">Don't use the -srcwin option</option>
+                        <option value="srcwin">Use the -srcwin option</option>
+                    </param>
+                    <when value="no_srcwin">
+                    </when>
+                    <when value="srcwin">
+                        <param name="xoff" type="integer" label="xoff" value="0"/>
+                        <param name="yoff" type="integer" label="yoff" value="0"/>
+                        <param name="xsize" type="integer" label="xsize" value="0"/>
+                        <param name="ysize" type="integer" label="ysize" value="0"/>
+                    </when>
+                </conditional>
+                
+                <conditional name="condi_a_ullr">
+                    <param name="a_ullr" type="select" label="-a_ullr" >
+                        <option value="no_a_ullr" selected="true">Don't use the -a_ullr option</option>
+                        <option value="a_ullr">Use the -a_ullr option</option>
+                    </param>
+                    <when value="no_a_ullr">
+                    </when>
+                    <when value="a_ullr">
+                        <param name="ulx" type="integer" label="ulx" value="0"/>
+                        <param name="uly" type="integer" label="uly" value="0"/>
+                        <param name="lrx" type="integer" label="lrx" value="0"/>
+                        <param name="lry" type="integer" label="lry" value="0"/>
+                    </when>
+                </conditional>
+                
+                <param name="epoeco" type="select" label="Display error when outside the source raster" display="radio" multiple="False">
+                    <option value="" selected="true">Default, no error</option>
+                    <option value="-epo">-epo : Error when partially outside</option>
+                    <option value="-eco">-eco : Error when completely outside</option>
+                </param>
+                <param name="a_srs" type="text" label="-a_srs" value="" />
+                
+                <!--
+                <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)."/>
+                Ici il y a surement une gestion de fichiers de sorties multiple à faire
+                -->
+                
+            </when>
+        </conditional>
+    </inputs>
+    
+    <outputs>
+        <data name="output" auto_format="true" label="${on_string}.${of}"/> <!--label="${input.name}.${of}-->
+    </outputs>
+    
+    
+    <tests>
+        <test>
+            <param name="input1" value="stere.tif"/>
+            <param name="of" value="JPEG" />
+            <param name="advanced" value="simple"/>
+            <output name="output" file="stere.jpg"/>
+        </test>
+        
+        <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 -->
+            <param name="input1" value="stere.tif"/>
+            <param name="of" value="JPEG" />
+            <param name="advanced" value="advanced"/>
+            <param name="b" value="-b 1"/>
+            <param name="outsize" value="outsize_x"/>
+            <param name="outx" value="75"/>
+            <param name="outsize_percent" value="%"/>
+            <output name="output" file="stere_advanced1.jpg"/>
+        </test>
+        
+        <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 -->
+            <param name="input1" value="stere.tif"/>
+            <param name="of" value="png" />
+            <param name="advanced" value="advanced"/>
+            <param name="b" value="-b 1 -b 2"/>
+            <param name="resample" value="resampling"/>
+            <param name="r" value="cubic"/>
+            <param name="outsize" value="outsize_y"/>
+            <param name="outy" value="75"/>
+            <param name="outsize_percent" value=""/>
+            <output name="output" file="stere_advanced2.png"/>
+        </test>
+        
+        <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 -->
+            <param name="input1" value="world.png"/>
+            <param name="of" value="gtiff" />
+            <param name="advanced" value="advanced"/>
+            <param name="a_ullr" value="a_ullr"/>
+            <param name="ulx" value="-180"/>
+            <param name="uly" value="90"/>
+            <param name="lrx" value="180"/>
+            <param name="lry" value="-90"/>
+            <param name="a_srs" value="WGS84"/>
+            <output name="output" file="geoworld.tif"/>
+        </test>
+        
+    </tests>
+    
+    <help><![CDATA[
+===============
+Gdal_translate
+===============
+
+**What it does**
+        
+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. 
+
+|
+
+**How to use it**
+
+Select from history a raster file/subdataset.
+
+Specifiy output format using short name (http://www.gdal.org/formats_list.html).
+
+|
+
+**Other options, advanced usage**
+
+*-ot*
+
+    For the output bands to be of the indicated data type.
+
+|
+
+*-strict*
+
+    Don't be forgiving of mismatches and lost data when translating to the output format. 
+
+|
+
+*-b band*
+
+    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. 
+    
+|
+
+*-mask band*
+
+    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. 
+
+|
+  
+*-r {nearest (default),bilinear,cubic,cubicspline,lanczos,average,mode}*
+
+    Select a resampling algorithm.    
+
+|
+    
+*-stats*
+
+    Force (re)computation of statistics.   
+
+|
+   
+*-norat*
+
+    Do not copy source RAT into destination dataset. 
+
+|
+    
+*-co "NAME=VALUE"*
+
+    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.    
+
+|
+    
+*-mo "META-TAG=VALUE"*
+
+    Passes a metadata key and value to set on the output dataset if possible.
+
+|
+    
+*-oo NAME=VALUE*
+
+    Dataset open option (format specific)
+
+|
+    
+*-expand gray|rgb|rgba*
+
+    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. 
+
+|
+
+*-outsize xsize[%]|0 ysize[%]|0*
+
+    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. 
+
+|
+
+*-scale [src_min src_max [dst_min dst_max]]*
+
+    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. 
+    
+|
+
+*-srcwin xoff yoff xsize ysize*
+
+    Selects a subwindow from the source image for copying based on pixel/line location.    
+
+|
+
+*-a_ullr ulx uly lrx lry*
+
+    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. 
+
+|
+
+*-epo: (Error when Partially Outside)*
+
+    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. 
+
+|
+
+*-eco: (Error when Completely Outside)*
+
+    Same as -epo, except that the criterion for erroring out is when the request falls completely outside the source raster extent.
+
+|
+    
+*-a_srs srs_def*
+
+    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.   
+    
+|
+
+**Sources**
+
+http://www.gdal.org
+
+http://www.gdal.org/gdal_translate.html
+
+Raster Processing Tutorial : https://trac.osgeo.org/gdal/wiki/UserDocs/RasterProcTutorial
+    ]]></help>
+</tool>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gdaladdo.xml	Thu Aug 02 06:30:23 2018 -0400
@@ -0,0 +1,75 @@
+<tool id="gdaladdo" name="GDAL addo" version="0.1.0">
+    <description>builds or rebuilds overview images</description>
+    <requirements>
+        <requirement type="package" version="2.1.0">gdal</requirement>
+        <requirement type="package" version="3.5.0">geos</requirement>
+        <requirement type="package" version="9b">jpeg</requirement>
+        <requirement type="package" version="1.5.90">libjpeg-turbo</requirement>
+    </requirements>
+    <command detect_errors="exit_code"><![CDATA[
+        gdaladdo '$input1'
+            -q
+            -ro
+            #if $levels!='e.g : 2 4 8 16'
+                #if '$levels'==''
+                    -clean 
+                #else
+                    '$levels'
+                    --config COMPRESS_OVERVIEW DEFLATE
+                    && cp '$input1''.ovr' 'output_ovr'
+                #end if
+            #else
+                -clean
+            #end if
+    ]]></command>
+    
+    <inputs>
+        <param type="data" name="input1" format="data" label="Gdal supported input file" help="http://www.gdal.org/formats_list.html"/>    
+        <param name="levels" type="text" label="levels" help="A list of integral overview levels to build." value="e.g : 2 4 8 16"/>        
+    </inputs>
+    
+    <outputs>
+        <data format="tiff" name="output" from_work_dir="output_ovr" label="${input1.name}.ovr"/>
+    </outputs>
+    
+    <tests> 
+        <test> <!-- gdaladdo '/tmp/tmpTvLDdw/files/000/dataset_1.dat' -ro 2 4 8 16  -->
+            <param name="input1" value="stere.tif"/>
+            <param name="levels" value="2 4 8 16" />
+            <output name="output" file="stere.tif.ovr"/>
+        </test>
+    </tests>
+    
+    <help><![CDATA[
+==========================
+Gdaladdo
+==========================
+**What it does**
+
+The gdaladdo utility can be used to build or rebuild overview images for most supported file formats with one of several downsampling algorithms. 
+
+|
+
+**How to use it**        
+
+Select a raster file from history and chose levels to build.
+
+|
+
+**Option**
+
+*-levels*
+
+    A list of integral overview levels to build. Ignored with -clean option. Starting with GDAL 2.3, levels are no longer required to build overviews. In which case, appropriate overview power-of-two factors will be selected until the smallest overview is smaller than the value of the -minsize switch.
+
+|
+
+**Sources**
+
+http://www.gdal.org
+
+http://www.gdal.org/gdaladdo.html
+
+Raster Processing Tutorial : https://trac.osgeo.org/gdal/wiki/UserDocs/RasterProcTutorial
+    ]]></help>
+</tool>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gdalbuildvrt.xml	Thu Aug 02 06:30:23 2018 -0400
@@ -0,0 +1,292 @@
+<tool id="gdalbuildvrt" name="GDAL Build VRT" version="0.1.0">
+    <description>builds a VRT from a list of datasets</description>
+    <requirements>
+        <requirement type="package" version="2.1.0">gdal</requirement>
+        <requirement type="package" version="9b">jpeg</requirement>
+        <requirement type="package" version="1.5.90">libjpeg-turbo</requirement>
+    </requirements>
+    <command detect_errors="exit_code"><![CDATA[
+    gdalbuildvrt 
+        '$output'
+        -q 
+        #for $i, $s in enumerate( $series )
+            '${s.input}'
+        #end for
+        
+        #if $settings.advanced=='advanced'       
+            #unless $settings.b=='e.g : -b 1 -b 2 -b 3'
+                $settings.b
+            #end unless
+            
+            #if $settings.condi_te.te=='te'
+                -te $settings.condi_te.xmin $settings.condi_te.ymin $settings.condi_te.xmax $settings.condi_te.ymax
+            #end if
+                
+            #if $condi_tr.tr=='tr'
+                -tr $condi_tr.xres $condi_tr.yres
+            #end if
+                
+            #if $settings.condi_resample.resample=='resampling'
+                -r $settings.condi_resample.r
+            #end if
+                
+            #if $settings.condi_resolution.resolution=='chose_resolution'
+                -r $settings.condi_resolution.reso
+            #end if
+                
+            #unless $settings.a_srs==''
+                -a_srs '$settings.a_srs'
+            #end unless
+                
+            $settings.tap
+            $settings.addalpha
+            $settings.hidenodata
+            $settings.separate
+             
+            #unless $settings.oo=='NAME=VALUE'
+                -oo '$settings.oo'
+            #end unless
+                
+            $settings.allow_projection_difference
+                
+            #unless $settings.tileindex=='field_name'
+                -tileindex '$settings.tileindex'
+            #end unless
+                
+            #unless $settings.sb=='subdataset'
+                -sb '$settings.sb'
+            #end unless
+                                        
+        #end if 
+        
+    ]]></command>
+    <inputs>      
+        <repeat name="series" title="Input file">
+            <param type="data" name="input" format="data" label="Gdal supported input file" help="http://www.gdal.org/formats_list.html"/>
+        </repeat>
+            
+        <conditional name="settings">
+            <param name="advanced" type="select" label="Specify advanced parameters">
+                <option value="simple" selected="true">No, use program defaults.</option>
+                <option value="advanced">Yes, see full parameter list.</option>
+            </param>        
+            <when value="simple">
+            </when>
+            <when value="advanced">
+            
+                <param name="b" type="text" label="-b band" value="e.g : -b 1 -b 2 -b 3"/>
+                
+                <conditional name="condi_te">
+                    <param name="te" type="select" label="-te">
+                        <option value="no_te" selected="true">Don't use the -te option</option>
+                        <option value="te">Use the -te option</option>
+                    </param>
+                    <when value="no_te">
+                    </when>
+                    <when value="te">
+                        <param name="xmin" type="float" label="xmin" value="0"/>
+                        <param name="ymin" type="float" label="ymin" value="0"/>
+                        <param name="xmax" type="float" label="xmax" value="0"/>
+                        <param name="ymax" type="float" label="ymax" value="0"/>
+                    </when>
+                </conditional>    
+                    
+                <conditional name="condi_tr">
+                    <param name="tr" type="select" label="-tr">
+                        <option value="no_tr" selected="true">Don't use the -tr option</option>
+                        <option value="tr">Use the -tr option</option>
+                    </param>
+                    <when value="no_tr">
+                    </when>
+                    <when value="tr">
+                        <param name="xres" type="float" label="xres" value="0"/>
+                        <param name="yres" type="float" label="yres" value="0"/>
+                    </when>
+                </conditional>
+                    
+                <conditional name="condi_resample">
+                    <param label="-r" name="resample" type="boolean" truevalue="resampling" falsevalue="no_resampling" checked="false"/>
+                    <when value="resampling">
+                        <param name="r" type="select" label="Reseampling algorithm" >
+                            <option value="nearest" selected="true"/>
+                            <option value="bilinear"/>
+                            <option value="cubic"/>
+                            <option value="cubicspline"/>
+                            <option value="lanczos"/>
+                            <option value="average"/>
+                            <option value="mode"/>
+                            <option value="max"/>
+                            <option value="min"/>
+                            <option value="med">Median resampling</option>
+                            <option value="q1">First quartile resampling</option>
+                            <option value="q2">Third quartile resampling</option>
+                        </param>
+                    </when>
+                    <when value="no_resampling">
+                    </when>
+                </conditional>
+                    
+                <conditional name="condi_resolution">
+                    <param label="-resolution" name="resolution" type="boolean" truevalue="chose_resolution" falsevalue="no_resolution" checked="false"/>
+                    <when value="chose_resolution">
+                        <param name="reso" type="select" label="Chose a resolution" >
+                            <option value="highest" selected="true"/>
+                            <option value="lowest"/>
+                            <option value="average"/>
+                            <option value="user"/>
+                        </param>
+                    </when>
+                    <when value="no_resolution">
+                    </when>
+                </conditional>
+                
+                <param name="tap" type="boolean" truevalue="-tap" falsevalue="" checked="false" label="-tap"/>
+                <param name="addalpha" type="boolean" truevalue="-addalpha" falsevalue="" checked="false" label="-addalpha"/>
+                <param name="hidenodata" type="boolean" truevalue="-hidenodata" falsevalue="" checked="false" label="-hidenodata"/>
+                <param name="separate" type="boolean" truevalue="-separate" falsevalue="" checked="false" label="-separate" />
+                <param name="allow_projection_difference" type="boolean" truevalue="-allow_projection_difference" falsevalue="" checked="false" label="-allow_projection_difference" />
+                <param name="a_srs" type="text" label="-a_srs srs_def" value=""/>
+                <param name="oo" type="text" label="-oo" value="NAME=VALUE" />
+                <param name="tileindex" type="text" label="-tileindex field_name" value="field_name"/>
+                <param name="sb" type="text" label="-sb subdataset" value="subdataset"/>
+                    
+            </when>
+        </conditional>
+    </inputs>
+    
+    <outputs>
+        <data name="output" auto_format="true" label="${on_string}.vrt"/> <!--label="${input.name}.${of}-->
+    </outputs>
+    
+    
+    <tests>
+        <test>
+            <param name="input" value="east.dem"/>
+            <param name="input" value="west.dem"/>
+            <param name="advanced" value="simple"/>
+            <output name="output" file="dem.vrt" lines_diff="4"/>
+        </test>    
+    </tests>
+    
+    <help><![CDATA[
+==========================
+Gdalbuildvrt
+==========================
+**What it does**
+
+This program builds a VRT (Virtual Dataset) that is a mosaic of the list of input GDAL datasets. 
+
+If one GDAL dataset is made of several subdatasets and has 0 raster bands, all the subdatasets will be added to the VRT rather than the dataset itself.
+
+
+gdalbuildvrt does some amount of checks to assure that all files that will be put in the resulting VRT have similar characteristics : number of bands, projection, color interpretation... If not, files that do not match the common characteristics will be skipped. (This is only true in the default mode, and not when using the -separate option)
+
+
+If there is some amount of spatial overlapping between files, the order of files appearing in the list of source matter: files that are listed at the end are the ones from which the content will be fetched. Note that nodata will be taken into account to potentially fetch data from less prioritary datasets, but currently, alpha channel is not taken into account to do alpha compositing (so a source with alpha=0 appearing on top of another source will override is content). This might be changed in later versions.
+
+
+This utility is somehow equivalent to the gdal_vrtmerge.py utility and is build by default in GDAL 1.6.1.
+
+|
+
+**How to use it**
+
+Add as much input files you want to use to create the VRT.
+
+|
+
+**Other options, advanced usage**
+
+*-tileindex*
+
+    Use the specified value as the tile index field, instead of the default value with is 'location'.
+
+|
+
+*-resolution {highest|lowest|average|user}*
+
+    In case the resolution of all input files is not the same, the -resolution flag enables the user to control the way the output resolution is computed. 'average' is the default. 'highest' will pick the smallest values of pixel dimensions within the set of source rasters. 'lowest' will pick the largest values of pixel dimensions within the set of source rasters. 'average' will compute an average of pixel dimensions within the set of source rasters. 'user' is new in GDAL 1.7.0 and must be used in combination with the -tr option to specify the target resolution.
+
+|
+
+*-tr xres yres*
+
+    (starting with GDAL 1.7.0) set target resolution. The values must be expressed in georeferenced units. Both must be positive values. Specifying those values is of course incompatible with highest|lowest|average values for -resolution option.
+
+|
+
+*-tap*
+
+    (target aligned pixels) align the coordinates of the extent of the output file to the values of the -tr, such that the aligned extent includes the minimum extent.
+
+|
+
+*-te xmin ymin xmax ymax*
+
+    (starting with GDAL 1.7.0) set georeferenced extents of VRT file. The values must be expressed in georeferenced units. If not specified, the extent of the VRT is the minimum bounding box of the set of source rasters.
+
+|
+
+*-addalpha*
+
+    Adds an alpha mask band to the VRT when the source raster have none. Mainly useful for RGB sources (or grey-level sources). The alpha band is filled on-the-fly with the value 0 in areas without any source raster, and with value 255 in areas with source raster. The effect is that a RGBA viewer will render the areas without source rasters as transparent and areas with source rasters as opaque. This option is not compatible with -separate.
+
+|
+
+*-hidenodata*
+
+    Even if any band contains nodata value, giving this option makes the VRT band not report the NoData. Useful when you want to control the background color of the dataset. By using along with the -addalpha option, you can prepare a dataset which doesn't report nodata value but is transparent in areas with no data.
+
+|
+
+*-b band*
+
+    Select an input band to be processed. Bands are numbered from 1. If input bands not set all bands will be added to vrt. Multiple -b switches may be used to select a set of input bands.
+
+|
+
+*-sd subdataset*
+
+    If the input dataset contains several subdatasets use a subdataset with the specified number (starting from 1). This is an alternative of giving the full subdataset name as an input.
+
+|
+
+*-separate*
+
+    Place each input file into a separate band. In that case, only the first band of each dataset will be placed into a new band. Contrary to the default mode, it is not required that all bands have the same datatype.
+
+|
+
+*-allow_projection_difference*
+
+    When this option is specified, the utility will accept to make a VRT even if the input datasets have not the same projection. Note: this does not mean that they will be reprojected. Their projection will just be ignored.
+
+|
+
+*-a_srs srs_def*
+
+    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.
+
+|
+
+*-r {nearest (default),bilinear,cubic,cubicspline,lanczos,average,mode}*
+
+    Select a resampling algorithm.
+
+|
+
+*-oo NAME=VALUE*
+
+    Dataset open option (format specific)
+
+|
+
+**Sources**
+
+http://www.gdal.org
+
+http://www.gdal.org/gdalbuildvrt.html
+
+Raster Processing Tutorial : https://trac.osgeo.org/gdal/wiki/UserDocs/RasterProcTutorial
+    ]]></help>
+</tool>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gdalinfo.xml	Thu Aug 02 06:30:23 2018 -0400
@@ -0,0 +1,225 @@
+<tool id="gdalinfo" name="GDAL Informations" version="0.1.0">
+    <description>lists information about a raster dataset</description>
+    <requirements>
+        <requirement type="package" version="2.1.0">gdal</requirement>
+        <requirement type="package" version="3.5.0">geos</requirement>
+        <requirement type="package" version="9b">jpeg</requirement>
+        <requirement type="package" version="1.5.90">libjpeg-turbo</requirement>
+    </requirements>
+    <command detect_errors="exit_code"><![CDATA[
+        gdalinfo '$input1'
+            #if $settings.advanced=='advanced'
+                $settings.mm
+                $settings.stats
+                $settings.approx_stats
+                $settings.hist
+                $settings.nogcp
+                $settings.nomd
+                $settings.norat
+                $settings.noct
+                $settings.checksum
+                $settings.listmdd
+                $settings.proj4
+                -mdd '$settings.mdd'
+            #end if
+            #if $format.value=='json'
+                -json > '$outputJson';
+                #if $subdataset=='subd_y'
+                    cat '$outputJson' | grep -A 1 "\"SUBDATASET_._NAME\":\".*\"," | cut -d "\"" -f4- | sed 's/..$//' | sed 's/\t//' | sed -e 'N; s/\n/\t/' > '${input1.name}_Subdatasets'
+                #end if
+            #else
+                > '$outputDefault';
+                #if $subdataset=='subd_y'
+                    cat '$outputDefault' | grep -A 1 "SUBDATASET_._NAME=.*:.*$" | cut -d "=" -f 2 | sed 's/\t//' | sed -e 'N; s/\n/\t/' > '${input1.name}_Subdatasets'
+                #end if
+            #end if
+    ]]></command>
+    <inputs>
+        <param type="data" name="input1" format="data" label="Gdal supported input file" help="http://www.gdal.org/formats_list.html"/>
+        <param name="format" type="select" label="Output format" display="radio" multiple="False">
+            <option value="default" selected="true">Text</option>
+            <option value="json">Json</option>
+        </param>
+        <param name="subdataset" type="select" label="Create list of potential subdatasets" display="radio" multiple="False">
+            <option value="subd_y">Yes</option>
+            <option value="subd_n" selected="True">No</option>
+        </param>
+        <conditional name="settings">
+            <param name="advanced" type="select" label="Specify advanced parameters">
+                <option value="simple" selected="true">No, use program defaults.</option>
+                <option value="advanced">Yes, see full parameter list.</option>
+            </param>        
+            <when value="simple">
+            </when>
+            <when value="advanced">
+                   <param name="mm" type="boolean" truevalue="-mm" falsevalue="" checked="false" label="-mm" help="Force computation of the actual min/max values for each band in the dataset."/>
+                   <param name="stats" type="boolean" truevalue="-stats" falsevalue="" checked="false" label="-stats" help="Read and display image statistics. Force computation if no statistics are stored in an image."/>
+                   <param name="approx_stats" type="boolean" truevalue="-approx_stats" falsevalue="" checked="false" label="-approx_stats" help="Read and display image statistics. Force computation if no statistics are stored in an image. However, they may be computed based on overviews or a subset of all tiles. Useful if you are in a hurry and don't want precise stats."/>
+                   <param name="hist" type="boolean" truevalue="-hist" falsevalue="" checked="false" label="-hist" help="Report histogram information for all bands."/>
+                   <param name="nogcp" type="boolean" truevalue="-nogcp" falsevalue="" checked="false" label="-nogcp" help="Suppress ground control points list printing. It may be useful for datasets with huge amount of GCPs, such as L1B AVHRR or HDF4 MODIS which contain thousands of them."/>
+                   <param name="nomd" type="boolean" truevalue="-nomd" falsevalue="" checked="false" label="-nomd" help="Suppress metadata printing. Some datasets may contain a lot of metadata strings."/>
+                   <param name="norat" type="boolean" truevalue="-norat" falsevalue="" checked="false" label="-norat" help="Suppress printing of raster attribute table."/>
+                   <param name="noct" type="boolean" truevalue="-noct" falsevalue="" checked="false" label="-noct" help="Suppress printing of color table."/>
+                   <param name="checksum" type="boolean" truevalue="-checksum" falsevalue="" checked="false" label="-checksum" help="Force computation of the checksum for each band in the dataset."/>
+                   <param name="listmdd" type="boolean" truevalue="-listmdd" falsevalue="" checked="false" label="-listmdd" help="List all metadata domains available for the dataset."/>
+                <param name="proj4" type="boolean" truevalue="-proj4" falsevalue="" checked="false" label="-proj4" help="Report a PROJ.4 string corresponding to the file's coordinate system."/> 
+                <param name="mdd" type="text" label="-mdd DOMAIN" help="Report metadata for the specified domain. Starting with GDAL 1.11, 'all' can be used to report metadata in all domains." value="all"/>
+            </when>
+        </conditional>
+        
+    </inputs>
+    <outputs>
+        <data name="outputDefault" format="txt" label="Default info file">
+            <filter>format == "default"</filter>
+        </data>
+        <data name="outputJson" format="json" label="Json formated info file">
+            <filter>format == "json"</filter>
+        </data>
+        <data name="Subdatasets" format="tabular" from_work_dir="*_Subdatasets" label="Subdatasets from ${input1.name}">
+            <filter>subdataset == "subd_y"</filter>
+        </data>
+    </outputs>
+    <tests>
+        <test>
+            <param name="input1" value="stere.tif"/>
+            <param name="format" value="json" />
+            <param name="subdataset" value="subd_n" />
+            <param name="advanced" value="simple"/>
+            <output name="outputJson" file="stere_info.json" lines_diff="6"/>
+        </test>
+        <test>
+            <param name="input1" value="stere.tif"/>
+            <param name="format" value="default" />
+            <param name="subdataset" value="subd_n" />
+            <param name="advanced" value="advanced"/>
+            <param name="stats" value="-stats"/>
+            <param name="hist" value="-hist"/>
+            <param name="checksum" value="-checksum"/>
+            <param name="mdd" value="all"/>
+            <output name="outputDefault" file="stere_advanced_info.txt" lines_diff="6"/>
+        </test>
+    </tests>
+    <help><![CDATA[
+==========================
+Gdalinfo
+==========================
+**What it does**        
+
+The gdalinfo program lists various information about a GDAL supported raster dataset. 
+
+It will report all of the following (if known):
+
+    - The format driver used to access the file.
+    - Raster size (in pixels and lines).
+    - The coordinate system for the file (in OGC WKT).
+    - The geotransform associated with the file (rotational coefficients are currently not reported).
+    - Corner coordinates in georeferenced, and if possible lat/long based on the full geotransform (but not GCPs).
+    - Ground control points.
+    - File wide (including subdatasets) metadata.
+    - Band data types.
+    - Band color interpretations.
+    - Band block size.
+    - Band descriptions.
+    - Band min/max values (internally known and possibly computed).
+    - Band checksum (if computation asked).
+    - Band NODATA value.
+    - Band overview resolutions available.
+    - Band unit type (i.e.. "meters" or "feet" for elevation bands).
+    - Band pseudo-color tables.
+
+|
+
+**How to use it**
+
+Select from history a suported raster file and choose either Json or Text format for result display.
+
+An additional option can list available subdatasets.
+
+|
+
+**Other options, advanced usage**
+
+
+*-mm*
+
+    Force computation of the actual min/max values for each band in the dataset. 
+
+|
+
+*-stats*
+
+    Read and display image statistics. Force computation if no statistics are stored in an image. 
+
+|
+
+*-approx_stats*
+
+    Read and display image statistics. Force computation if no statistics are stored in an image. However, they may be computed based on overviews or a subset of all tiles. Useful if you are in a hurry and don't want precise stats. 
+
+|
+
+*-hist*
+
+    Report histogram information for all bands. 
+
+|
+
+*-nogcp*
+
+    Suppress ground control points list printing. It may be useful for datasets with huge amount of GCPs, such as L1B AVHRR or HDF4 MODIS which contain thousands of them. 
+
+|
+
+*-nomd*
+
+    Suppress metadata printing. Some datasets may contain a lot of metadata strings. 
+
+|
+
+*-norat*
+
+    Suppress printing of raster attribute table. 
+
+|
+
+*-noct*
+
+    Suppress printing of color table. 
+
+|
+
+*-checksum*
+
+    Force computation of the checksum for each band in the dataset. 
+
+|
+
+*-listmdd*
+
+    List all metadata domains available for the dataset. 
+
+|
+
+*-mdd domain*
+
+    Report metadata for the specified domain. Starting with GDAL 1.11, "all" can be used to report metadata in all domains 
+
+|
+
+*-proj4*
+
+    Report a PROJ.4 string corresponding to the file's coordinate system.
+
+|
+
+**Sources**
+
+http://www.gdal.org
+
+http://www.gdal.org/gdalinfo.html
+
+Raster Processing Tutorial : https://trac.osgeo.org/gdal/wiki/UserDocs/RasterProcTutorial
+
+
+    ]]></help>
+</tool>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gdalwarp.xml	Thu Aug 02 06:30:23 2018 -0400
@@ -0,0 +1,388 @@
+<tool id="gdalwarp" name="GDAL Warp" version="0.1.0">
+    <description>image reprojection and warping utility</description>
+    <requirements>
+        <requirement type="package" version="2.1.0">gdal</requirement>
+        <requirement type="package" version="3.5.0">geos</requirement>
+        <requirement type="package" version="9b">jpeg</requirement>
+        <requirement type="package" version="1.5.90">libjpeg-turbo</requirement>
+    </requirements>
+    <command detect_errors="exit_code"><![CDATA[
+        gdalwarp 
+            -q
+            #for $i, $s in enumerate( $series )
+                '${s.input}'
+            #end for
+            
+            #unless $of==''
+                -of '$of'
+            #end unless
+
+            #unless $s_srs==''
+                -s_srs '$s_srs'
+            #end unless
+            
+            #unless $t_srs==''
+                -t_srs '$t_srs'
+            #end unless
+            
+            #if $settings.advanced=="advanced"
+
+                #if $settings.condi_tr.tr=='tr'
+                    -tr $settings.condi_tr.xres $settings.condi_tr.yres
+                #end if
+    
+                #unless $settings.to=='NAME=VALUE'
+                    -to '$settings.to'
+                #end unless
+                
+                #unless $settings.wo=='NAME=VALUE'
+                    -wo '$settings.wo'
+                #end unless
+            
+                #unless $settings.order=='no_value'
+                    -order '$settings.order'
+                #end unless
+
+                #if $settings.condi_resample.resample=='resampling'
+                    -r $settings.condi_resample.r
+                #end if
+                
+                #if $settings.condi_et.et=='et'
+                    -et $settings.condi_et.et
+                #end if
+            
+                #if $settings.condi_refine_gcps.refine_gcps=='refine_gcps'
+                    -refine_gcps $settings.condi_refine_gcps.tolerance $settings.condi_refine_gcps.minimum_gcps
+                #end if
+            
+                #if $settings.condi_te.te=='te'
+                    -te $settings.condi_te.xmin $settings.condi_te.ymin $settings.condi_te.xmax $settings.condi_te.ymax
+                #end if
+            
+                $settings.tps
+                $settings.rpc
+                $settings.geoloc
+                
+                #unless $settings.srcnodata==''
+                    -srcnodata '$settings.srcnodata'
+                #end unless
+                
+                $settings.dstalpha
+            #end if
+                        
+        '$output'
+
+    ]]></command>
+    
+    <inputs>
+        <repeat name="series" title="Input file">
+            <param type="data" name="input" format="data" label="Gdal supported input file" help="http://www.gdal.org/formats_list.html"/>
+        </repeat>
+            
+        <param name="of" type="text" label="Output format -of" value="" help="Select the output format. The default is GeoTIFF (GTiff). Use the short format name. http://www.gdal.org/formats_list.html"/>
+        <param name="s_srs" type="text" label="-s_srs Source spatial reference set" value="" help="The coordinate systems that can be passed are anything supported by the OGRSpatialReference."/>
+        <param name="t_srs" type="text" label="-t_srs Target spatial reference set" value="" help="The coordinate systems that can be passed are anything supported by the OGRSpatialReference."/>
+        
+        <conditional name="settings">
+            <param name="advanced" type="select" label="Specify advanced parameters">
+                <option value="simple" selected="true">No, use program defaults.</option>
+                <option value="advanced">Yes, see full parameter list.</option>
+            </param>        
+            <when value="simple">
+            </when>
+            <when value="advanced">
+                <conditional name="condi_tr">
+                    <param name="tr" type="select" label="-tr"> 
+                        <option value="no_tr" selected="true">Don't use the -tr option</option>
+                        <option value="tr">Use the -tr option</option>
+                    </param>
+                    <when value="no_tr">
+                    </when>
+                    <when value="tr">
+                        <param name="xres" type="float" label="xres" value="0"/>
+                        <param name="yres" type="float" label="yres" value="0"/>
+                    </when>
+                </conditional>
+
+
+                <param name="to" type="text" label="-to" value="NAME=VALUE"/>
+                <param name="wo" type="text" label="-wo" value="NAME=VALUE" />
+                <param name="order" type="select" label="-order n">
+                    <option value="no_value" selected="true">Select an order.</option>
+                    <option value="1">1</option>
+                    <option value="2">2</option>
+                    <option value="3">3</option>
+                </param>
+                <param name="tps" type="boolean" label="-tps" truevalue="-tps" falsevalue="" checked="false"/>
+                <param name="rpc" type="boolean" label="-rpc" truevalue="-rpc" falsevalue="" checked="false"/>
+                <param name="geoloc" type="boolean" label="-geoloc" truevalue="-geoloc" falsevalue="" checked="false"/>
+                <param name="srcnodata" type="text" label="-srcnodata value" value=""/>
+                <param name="dstalpha" type="boolean" label="-dstalpha" truevalue="-dstalpha" falsevalue="" checked="false"/>
+                
+                <conditional name="condi_et">
+                    <param name="et" label="-et" type="boolean" truevalue="et" falsevalue="no_et" checked="false"/>
+                    <when value="no_et">
+                    </when>
+                    <when value="et">
+                        <param name="et" type="float" label="-et error threshold" value=""/>
+                    </when>
+                </conditional>
+                
+                <conditional name="condi_refine_gcps">
+                    <param name="refine_gcps" type="select" label="-refine_gcps">
+                        <option value="no_refine_gcps" selected="true">Don't use the -refine_gcps option</option>
+                        <option value="refine_gcps">Use the -refine_gcps option</option>
+                    </param>
+                    <when value="no_refine_gcps">
+                    </when>
+                    <when value="refine_gcps">
+                        <param name="tolerance" type="float" label="tolerance" value="0"/>
+                        <param name="minimum_gcps" type="float" label="minimum_gcps" value="0"/>
+                    </when>
+                </conditional>
+                
+                <conditional name="condi_resample">
+                    <param name="resample" label="-r" type="boolean" truevalue="resampling" falsevalue="no_resampling" checked="false"/>
+                    <when value="resampling">
+                        <param name="r" type="select" label="Reseampling algorithm" >
+                            <option value="nearest" selected="true"/>
+                            <option value="bilinear"/>
+                            <option value="cubic"/>
+                            <option value="cubicspline"/>
+                            <option value="lanczos"/>
+                            <option value="average"/>
+                            <option value="mode"/>
+                            <option value="max"/>
+                            <option value="min"/>
+                            <option value="med">Median resampling</option>
+                            <option value="q1">First quartile resampling</option>
+                            <option value="q2">Third quartile resampling</option>
+                        </param>
+                    </when>
+                    <when value="no_resampling">
+                    </when>
+                </conditional>
+                
+                <conditional name="condi_te">
+                    <param name="te" type="select" label="-te">
+                        <option value="no_te" selected="true">Don't use the -te option</option>
+                        <option value="te">Use the -te option</option>
+                    </param>
+                    <when value="no_te">
+                    </when>
+                    <when value="te">
+                        <param name="xmin" type="float" label="xmin" value="0"/>
+                        <param name="ymin" type="float" label="ymin" value="0"/>
+                        <param name="xmax" type="float" label="xmax" value="0"/>
+                        <param name="ymax" type="float" label="ymax" value="0"/>
+                    </when>
+                </conditional>
+                
+            </when>
+        </conditional>
+        
+    </inputs>
+    
+    <outputs>
+        <data name="output" auto_format="true" label="${on_string}.${of}"/>
+    </outputs>
+    
+    <tests>
+        <test>
+            <param name="input" value="stere.tif"/>
+            <param name="of" value="Gtiff" />
+            <param name="t_srs" value="EPSG:2154" />
+            <param name="advanced" value="simple"/>
+            <output name="output" file="stere_warp1.tiff"/>
+        </test>
+        
+        <test>
+            <param name="input" value="geoworld.tif"/>
+            <param name="t_srs" value="+proj=ortho +datum=WGS84" />
+            <param name="advanced" value="simple"/>
+            <output name="output" file="ortho1.tif"/>
+        </test>
+        
+        <test>
+            <param name="input" value="geoworld.tif"/>
+            <param name="t_srs" value="+proj=ortho +datum=WGS84" />
+            <param name="advanced" value="advanced"/>
+            <param name="wo" value="SOURCE_EXTRA=125"/>
+            <output name="output" file="ortho2.tif"/>
+        </test>
+        
+        <test>
+            <param name="input" value="geoworld.tif"/>
+            <param name="t_srs" value="+proj=ortho +datum=WGS84" />
+            <param name="advanced" value="advanced"/>
+            <param name="wo" value="SOURCE_EXTRA=125"/>
+            <param name="dstalpha" value="-dstalpha"/>
+            <param name="srcnodata" value="11 10 50"/>
+            <output name="output" file="ortho3.tif"/>
+        </test>
+        
+        <test>
+            <param name="input" value="west.dem"/>
+            <param name="input" value="east.dem"/>
+            <param name="advanced" value="simple"/>
+            <output name="output" file="warpmerged.tif"/>
+        </test>     
+        
+    </tests>
+    <help><![CDATA[
+==========================
+Gdalwarp
+==========================
+**What it does**
+
+The gdalwarp utility is an image mosaicing, reprojection and warping utility. The program can reproject to any supported projection, and can also apply GCPs stored with the image if the image is "raw" with control information.        
+
+|
+
+**How to use it**
+
+Add as much input files you want to warp.
+
+Specifiy output format using short name (http://www.gdal.org/formats_list.html).
+
+Specify source and target spatial reference set.
+
+|
+
+**Other options, advanced usage**
+
+*-to NAME=VALUE*
+
+    set a transformer option suitable to pass to GDALCreateGenImgProjTransformer2(). 
+
+|
+
+*-order n*
+
+    order of polynomial used for warping (1 to 3). The default is to select a polynomial order based on the number of GCPs. 
+
+|
+
+*-tps*
+
+    Force use of thin plate spline transformer based on available GCPs. 
+
+|
+
+*-rpc*
+
+    Force use of RPCs. 
+
+|
+
+*-geoloc*
+
+    Force use of Geolocation Arrays. 
+
+|
+
+*-et err_threshold*
+
+    error threshold for transformation approximation (in pixel units - defaults to 0.125, unless, starting with GDAL 2.1, the RPC_DEM warping option is specified, in which case, an exact transformer, i.e. err_threshold=0, will be used). 
+
+|
+
+*-refine_gcps tolerance minimum_gcps*
+
+    refines the GCPs by automatically eliminating outliers. Outliers will be eliminated until minimum_gcps are left or when no outliers can be detected. The tolerance is passed to adjust when a GCP will be eliminated. Not that GCP refinement only works with polynomial interpolation. The tolerance is in pixel units if no projection is available, otherwise it is in SRS units. If minimum_gcps is not provided, the minimum GCPs according to the polynomial model is used. 
+
+|
+
+*-te xmin ymin xmax ymax*
+
+    set georeferenced extents of output file to be created (in target SRS by default, or in the SRS specified with -te_srs) 
+
+|
+
+*-tr xres yres*
+
+    set output file resolution (in target georeferenced units) 
+
+|
+
+*-wo "NAME=VALUE"*
+
+    Set a warp option. The GDALWarpOptions**papszWarpOptions docs show all options. Multiple -wo options may be listed. 
+
+|
+
+*-r resampling_method*
+
+Resampling method to use. Available methods are
+
+    *near*
+
+        nearest neighbour resampling (default, fastest algorithm, worst interpolation quality). 
+
+    *bilinear*
+
+        bilinear resampling. 
+
+    *cubic*
+
+        cubic resampling. 
+
+    *cubicspline*
+
+        cubic spline resampling. 
+
+    *lanczos*
+
+        Lanczos windowed sinc resampling. 
+
+    *average*
+
+        average resampling, computes the average of all non-NODATA contributing pixels.  
+
+    *mode*
+
+        mode resampling, selects the value which appears most often of all the sampled points. 
+
+    *max*
+
+        maximum resampling, selects the maximum value from all non-NODATA contributing pixels.  
+
+    *min*
+
+        minimum resampling, selects the minimum value from all non-NODATA contributing pixels.  
+
+    *med*
+
+        median resampling, selects the median value of all non-NODATA contributing pixels.  
+
+    *q1*
+
+        first quartile resampling, selects the first quartile value of all non-NODATA contributing pixels.  
+
+    *q3*
+
+        third quartile resampling, selects the third quartile value of all non-NODATA contributing pixels.  
+
+|
+
+*-srcnodata value [value...]*
+
+    Set nodata masking values for input bands (different values can be supplied for each band). If more than one value is supplied all values should be quoted to keep them together as a single operating system argument. Masked values will not be used in interpolation. Use a value of None to ignore intrinsic nodata settings on the source dataset. 
+
+|
+
+*-dstalpha*
+
+    Create an output alpha band to identify nodata (unset/transparent) pixels. 
+
+|
+
+**Sources**
+
+http://www.gdal.org
+
+http://www.gdal.org/gdalwarp.html
+
+Raster Processing Tutorial : https://trac.osgeo.org/gdal/wiki/UserDocs/RasterProcTutorial
+    ]]></help>
+</tool>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ogrinfo.xml	Thu Aug 02 06:30:23 2018 -0400
@@ -0,0 +1,95 @@
+<tool id="ogrinfo" name="OGR Informations" version="0.1.0">
+    <description>lists information about an OGR supported data source</description>
+    <requirements>
+        <requirement type="package" version="2.1.0">gdal</requirement>
+        <requirement type="package" version="3.5.0">geos</requirement>
+        <requirement type="package" version="9b">jpeg</requirement>
+        <requirement type="package" version="1.5.90">libjpeg-turbo</requirement>
+    </requirements>
+    <command detect_errors="exit_code"><![CDATA[
+        ogrinfo -ro '$input1.extra_files_path/Shapefile.shp' -al 
+            #if $settings.advanced=='advanced'
+
+                #unless $settings.sql=='eg : SELECT * FROM Shapefile WHERE X>10':
+                    -sql '$settings.sql'
+                #end unless
+                
+                $settings.so
+
+
+            #end if
+
+
+        > '$output'
+
+    ]]></command>
+    
+    <inputs>
+        <param type="data" name="input1" format="data" label="Gdal supported input file" help="http://www.gdal.org/ogr_formats.html"/>
+        <conditional name="settings">
+            <param name="advanced" type="select" label="Specify advanced parameters">
+                <option value="simple" selected="true">No, use program defaults.</option>
+                <option value="advanced">Yes, see full parameter list.</option>
+            </param>        
+            <when value="simple">
+            </when>
+            <when value="advanced">
+                <param name="sql" type="text" label="-sql statement" value="eg : SELECT * FROM Shapefile WHERE X>10" help="Your input is renamed Shapefile.">
+                    <sanitizer>
+                        <valid initial="string.printable">
+                            <add value=">"/>
+                        </valid>
+                    </sanitizer>
+                </param>
+
+                <param name="so" label="-so" type="boolean" truevalue="-so" falsevalue="" checked="true"/>
+            </when>
+        </conditional>
+    </inputs>
+    
+    <outputs>
+        <data name="output" format="txt" label="OGR Info file on ${on_string}"/>
+    </outputs>
+    
+    <tests>
+    </tests>
+    <help><![CDATA[
+========
+Ogrinfo
+========
+
+**What it does**
+
+The Ogrinfo program lists various information about an OGR supported vector dataset.
+
+|
+
+**How to use it**
+
+Select from history a suported vector file. 
+
+|
+
+**Other options, advanced usage**
+
+*-sql statement*
+
+    Execute the indicated SQL statement and return the result. Your input is renamed Shapefile. 
+
+|
+
+*-so*
+
+    Summary Only: suppress listing of features, show only the summary information like projection, schema, feature count and extents.
+
+|
+
+**Sources**
+
+http://www.gdal.org
+
+http://www.gdal.org/ogr_utilities.html
+
+http://download.osgeo.org/gdal/workshop/foss4ge2015/workshop_gdal.pdf
+    ]]></help>
+</tool>