Set a field in vector data.
Set a specified field to a specified value on all features of a vector data.
This section describes in details the parameters available for this application. Table 4.36, page 470 presents a summary of these parameters and the parameters keys to be used in command-line and programming languages. Application key is VectorDataSetField.
Parameter key | Parameter type |
Parameter description |
in | Input vector data |
Input |
out | Output vector data |
Output |
fn | String |
Field |
fv | String |
Value |
inxml | XML input parameters file |
Load otb application from xml file |
outxml | XML output parameters file |
Save otb application to xml file |
|
||
|
||
|
||
|
||
|
To run this example in command-line, use the following:
To run this example from Python, use the following code snippet:
Doesn’t work with KML files yet
This application has been written by OTB-Team.