OTB.VectorDataTransform: Apply a transform to each vertex of the input VectorData

This application iterates over each vertex in the input vector data file and performs a transformation on this vertex.It is the equivalent of [1] that transforms images. For instance, if you extract the envelope of an image with [2], and you transform this image with [1], 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.

Inputs

Input vector data file to transform

format
href
Please set a value for vd.

Image defining the reference coordinate system in which the transform is applied. Both projected and sensor images are supported.

format
href
Please set a value for in.

Translation in the X direction (in pixels)

number
Please set a value for transform.tx.

Translation in the Y direction (in pixels)

number
Please set a value for transform.ty.

Angle of the rotation (in degrees)

number
Please set a value for transform.ro.

X coordinate of the rotation and scaling center (in physical units)

number
Please set a value for transform.centerx.

Y coordinate of the rotation and scaling center (in physical units)

number
Please set a value for transform.centery.

The scale coefficient to apply

number
Please set a value for transform.scale.

Outputs

Output vector data with

format
transmission

Execution options

successUri
inProgressUri
failedUri

format

mode

Execute End Point

View the execution endpoint of a process.

View the alternative version in HTML.

{"id": "OTB.VectorDataTransform", "title": "Apply a transform to each vertex of the input VectorData", "description": "This application iterates over each vertex in the input vector data file and performs a transformation on this vertex.It is the equivalent of [1] that transforms images. For instance, if you extract the envelope of an image with [2], and you transform this image with [1], 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.", "version": "1.0.0", "jobControlOptions": ["sync-execute", "async-execute", "dismiss"], "outputTransmission": ["value", "reference"], "links": [{"rel": "http://www.opengis.net/def/rel/ogc/1.0/execute", "type": "application/json", "title": "Execute End Point", "href": "http://demo.mapmint.com/ogc-api/processes/OTB.VectorDataTransform/execution"}, {"rel": "alternate", "type": "text/html", "title": "Execute End Point", "href": "http://demo.mapmint.com/ogc-api/processes/OTB.VectorDataTransform/execution.html"}], "inputs": {"vd": {"title": "Input vector data file to transform", "description": "Input vector data file to transform", "extended-schema": {"oneOf": [{"allOf": [{"$ref": "http://zoo-project.org/dl/link.json"}, {"type": "object", "properties": {"type": {"enum": ["text/xml", "application/vnd.google-earth.kml+xml", "application/json", "application/zip"]}}}]}, {"type": "object", "required": ["value"], "properties": {"value": {"oneOf": [{"type": "string", "contentEncoding": "utf-8", "contentMediaType": "text/xml"}, {"type": "string", "contentEncoding": "utf-8", "contentMediaType": "application/vnd.google-earth.kml+xml"}, {"type": "object"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "application/zip"}]}}}]}, "schema": {"oneOf": [{"type": "string", "contentEncoding": "utf-8", "contentMediaType": "text/xml"}, {"type": "string", "contentEncoding": "utf-8", "contentMediaType": "application/vnd.google-earth.kml+xml"}, {"type": "object"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "application/zip"}]}, "id": "vd"}, "in": {"title": "Image defining the reference coordinate system in which the transform is applied. Both projected and sensor images are supported.", "description": "Image defining the reference coordinate system in which the transform is applied. Both projected and sensor images are supported.", "extended-schema": {"oneOf": [{"allOf": [{"$ref": "http://zoo-project.org/dl/link.json"}, {"type": "object", "properties": {"type": {"enum": ["image/tiff", "image/jpeg", "image/png"]}}}]}, {"type": "object", "required": ["value"], "properties": {"value": {"oneOf": [{"type": "string", "contentEncoding": "base64", "contentMediaType": "image/tiff"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "image/jpeg"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "image/png"}]}}}]}, "schema": {"oneOf": [{"type": "string", "contentEncoding": "base64", "contentMediaType": "image/tiff"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "image/jpeg"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "image/png"}]}, "id": "in"}, "transform.tx": {"title": "Translation in the X direction (in pixels)", "description": "Translation in the X direction (in pixels)", "schema": {"type": "number", "default": 0, "format": "double"}, "id": "transform.tx"}, "transform.ty": {"title": "Translation in the Y direction (in pixels)", "description": "Translation in the Y direction (in pixels)", "schema": {"type": "number", "default": 0, "format": "double"}, "id": "transform.ty"}, "transform.ro": {"title": "Angle of the rotation (in degrees)", "description": "Angle of the rotation (in degrees)", "schema": {"type": "number", "default": 0, "format": "double"}, "id": "transform.ro"}, "transform.centerx": {"title": "X coordinate of the rotation and scaling center (in physical units)", "description": "X coordinate of the rotation and scaling center (in physical units)", "schema": {"type": "number", "default": 0, "format": "double"}, "id": "transform.centerx"}, "transform.centery": {"title": "Y coordinate of the rotation and scaling center (in physical units)", "description": "Y coordinate of the rotation and scaling center (in physical units)", "schema": {"type": "number", "default": 0, "format": "double"}, "id": "transform.centery"}, "transform.scale": {"title": "The scale coefficient to apply", "description": "The scale coefficient to apply", "schema": {"type": "number", "default": 1, "format": "double"}, "id": "transform.scale"}}, "outputs": {"out": {"title": "Output vector data with ", "description": "Output vector data with ", "extended-schema": {"oneOf": [{"allOf": [{"$ref": "http://zoo-project.org/dl/link.json"}, {"type": "object", "properties": {"type": {"enum": ["text/xml", "application/vnd.google-earth.kml+xml", "application/json", "application/zip"]}}}]}, {"type": "object", "required": ["value"], "properties": {"value": {"oneOf": [{"type": "string", "contentEncoding": "utf-8", "contentMediaType": "text/xml"}, {"type": "string", "contentEncoding": "utf-8", "contentMediaType": "application/vnd.google-earth.kml+xml"}, {"type": "object"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "application/zip"}]}}}]}, "schema": {"oneOf": [{"type": "string", "contentEncoding": "utf-8", "contentMediaType": "text/xml"}, {"type": "string", "contentEncoding": "utf-8", "contentMediaType": "application/vnd.google-earth.kml+xml"}, {"type": "object"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "application/zip"}]}, "id": "out"}}}

http://demo.mapmint.com/ogc-apihttp://localhost/ogc-api/processes/OTB.VectorDataTransform.html
Last modified: Sat Feb 19 15:43:34 CET 2022