# DownloadSRTMTiles

## Brief Description

Download or list SRTM tiles related to a set of images

## Tags

Utilities,Image Manipulation

## Long Description

This application allows selecting the appropriate SRTM tiles that covers a list of images. It builds a list of the required tiles. Two modes are available: the first one download those tiles from the USGS SRTM3 website (http://dds.cr.usgs.gov/srtm/version2_1/SRTM3/), the second one list those tiles in a local directory. In both cases, you need to indicate the directory in which directory tiles will be download or the location of local SRTM files.

## Parameters

- [param] -il <string> The list of images on which you want to determine corresponding SRTM tiles.. Mandatory: True. Default Value: "0"
- [param] -inxml <string> Load otb application from xml file. Mandatory: False. Default Value: ""
- [param] -outxml <string> Save otb application to xml file. Mandatory: False. Default Value: ""
[choice] -mode download,list. Mandatory: True. Default Value: "download"

- [group] -download

- [param] -mode.download.outdir <string> Directory where zipped tiles will be save. You'll need to unzip all tile files before using them in your application.. Mandatory: True. Default Value: ""

- [group] -list

- [param] -mode.list.indir <string> Input directory where SRTM tiles can are located.. Mandatory: True. Default Value: ""

## Limitations

None

## Authors

OTB-Team

## See Also

## Example of use

- il: QB_Toulouse_Ortho_XS.tif

- mode: list

- mode.list.indir: /home/user/srtm_dir/