# GeneratePlyFile

## Brief Description

Generate a 3D Ply file from a DEM and a color image.

## Tags

Geometry

## Long Description

Generate a 3D Ply file from a DEM and a color image.

## Parameters

- [param] -indem <string> The input DEM. Mandatory: True. Default Value: ""
- [param] -incolor <string> The input color image. Mandatory: True. Default Value: ""
- [param] -out <string> The output Ply file. Mandatory: True. Default Value: ""
[choice] -mode dem,3dgrid. Mandatory: True. Default Value: "dem"

- [group] -dem

- [group] -3dgrid

[choice] -map Parameters of the output map projection to be used. utm,lambert2,lambert93,wgs,epsg. Mandatory: True. Default Value: "utm"

- [group] -utm

- [param] -map.utm.zone <int32> The zone number ranges from 1 to 60 and allows defining the transverse mercator projection (along with the hemisphere). Mandatory: True. Default Value: "31"
- [param] -map.utm.northhem <boolean> The transverse mercator projections are defined by their zone number as well as the hemisphere. Activate this parameter if your image is in the northern hemisphere.. Mandatory: False. Default Value: "True"

- [group] -lambert2

- [group] -lambert93

- [group] -wgs

- [group] -epsg

- [param] -map.epsg.code <int32> See www.spatialreference.org to find which EPSG code is associated to your projection. Mandatory: True. Default Value: "4326"

## Limitations

## Authors

OTB-Team

## See Also

## Example of use

- indem: image_dem.tif

- out: out.ply

- incolor: image_color.tif