Vector Data Transformation
Apply a transform to each vertex of the input VectorData
Vector Data Manipulation
This application iterates over each vertex in the input vector data file and performs a transformation on this vertex.
It is the equivalent of  that transforms images. For instance, if you extract the envelope of an image with , and you transform this image with , you may want to use this application to operate the same transform on the envelope.
The applied transformation is a 2D similarity. It manages translation, rotation, scaling, and can be centered or not. Note that the support image is used to define the reference coordinate system in which the transform is applied. For instance the input vector data can have WGS84 coordinates, the support image is in UTM, so a translation of 1 pixel along X corresponds to the X pixel size of the input image along the X axis of the UTM coordinates frame. This image can also be in sensor geometry.
Input Vector data (vd): Input vector data file to transform
Output Vector data (out): Output vector data with
Support image (in): Image defining the reference coordinate system in which the transform is applied. Both projected and sensor images are supported.
Transform parameters (transform): Group of parameters to define the transform
X Translation (transform.tx): Translation in the X direction (in pixels)
Y Translation (transform.ty): Translation in the Y direction (in pixels)
Rotation Angle (transform.ro): Angle of the rotation (in degrees)
Center X (transform.centerx): X coordinate of the rotation and scaling center (in physical units)
Center Y (transform.centery): Y coordinate of the rotation and scaling center (in physical units)
Scale (transform.scale): The scale coefficient to apply
Load otb application from xml file (inxml): Load otb application from xml file
Save otb application to xml file (outxml): Save otb application to xml file
Example of use
otbcli_VectorDataTransform -vd qb_RoadExtract_easyClassification.shp -in qb_RoadExtract.tif -out VectorDataTransform.shp -transform.ro 5