Vector Data Transformation Application

Brief Description

Apply a transform to each vertex of the input VectorData

Tags

Vector data Manipulation

Long Description

This application performs a transformation to an input vector data transforming each vertex that composed the vector data. The applied transformation manages translation, rotation and scale, and be be centered or not.

Parameters

- [param] Input Vector data (-vd):

- [param] Output Vector data (-out):

- [param] Support image (-in): Image needed as a support of the VectorData

- [group] Transform parameters (-transform):

  - [param] Translation X (-tx): Translation in the X direction

  - [param] Translation Y (-ty): Translation in the Y direction

  - [param] Rotation Angle (-ro): Angle of the rotation to apply in degrees

  - [param] Center X (-centerx): The first coordinate of the rotation center

  - [param] Center Y (-centery): The second coordinate of the rotation center

  - [param] Scale (-scale): The scale to apply

Limitations

None

Authors

OTB-Team

See also

Example of use

- Parameters to set value:

- Output Vector data: transformVectorData.tif

- Support image: ToulouseRoad-examples.shp

- Rotation Angle: 15

- Command line to execute:

otbcli_VectorDataTransform -out transformVectorData.tif -in ToulouseRoad-examples.shp -transform.ro 15