# OSMDownloader

## Brief Description

Generate a vector data from OSM on the input image extend

## Tags

Image MetaData

## Long Description

Generate a vector data from Open Street Map data. A DEM could be use. By default, the entire layer is downloaded, an image can be use as support for the OSM data. The application can provide also available classes in layers . This application required an Internet access. Information about the OSM project : http://www.openstreetmap.org/

## Parameters

- [param] -out <string> Generated output vector data path. Mandatory: True. Default Value: ""
- [param] -support <string> Image used as support to estimate the models. Mandatory: True. Default Value: ""
- [param] -key <string> OSM tag key to extract (highway, building...). Mandatory: True. Default Value: ""
- [param] -value <string> OSM tag value to extract (motorway, footway...). Mandatory: False. Default Value: ""
- [param] -elev <string> This group of parameters allows managing elevation values. Supported formats are SRTM, DTED or any geotiff processed by the DEM import application. Mandatory: True. Default Value: "0"
- [param] -printclasses <boolean> Print the key/value classes available for the bounding box of the input image ** If not used : Note that the options OSMKey (-key) and Output (-out) become mandatory. Mandatory: False. Default Value: "True"

## Limitations

None

## Authors

OTB-Team

## See Also

Convertion

## Example of use

- support: qb_RoadExtract.tif

- key: highway

- out: apTvUtOSMDownloader.shp