<root>
  <key>Rasterization-manual</key>
  <exec>otbcli_Rasterization</exec>
  <longname>Rasterization (manual)</longname>
  <group>Vector Data Manipulation</group>
  <description>Rasterize a vector dataset.</description>
  <parameter>
    <parameter_type source_parameter_type="ParameterType_InputVectorData">ParameterVector</parameter_type>
    <key>in</key>
    <name>Input vector dataset</name>
    <description>The input vector dataset to be rasterized</description>
    <shapetype />
    <optional>False</optional>
  </parameter>
  <parameter>
    <parameter_type source_parameter_type="ParameterType_OutputImage">OutputRaster</parameter_type>
    <key>out</key>
    <name>Output image</name>
    <description>An output image containing the rasterized vector dataset</description>
    <hidden />
  </parameter>
  <parameter>
    <parameter_type source_parameter_type="ParameterType_Int">ParameterNumber</parameter_type>
    <key>szx</key>
    <name>Output size x</name>
    <description>Output size along x axis (useless if support image is given)</description>
    <minValue />
    <maxValue />
    <default>0</default>
    <optional>True</optional>
  </parameter>
  <parameter>
    <parameter_type source_parameter_type="ParameterType_Int">ParameterNumber</parameter_type>
    <key>szy</key>
    <name>Output size y</name>
    <description>Output size along y axis (useless if support image is given)</description>
    <minValue />
    <maxValue />
    <default>0</default>
    <optional>True</optional>
  </parameter>
  <parameter>
    <parameter_type source_parameter_type="ParameterType_Int">ParameterNumber</parameter_type>
    <key>epsg</key>
    <name>Output EPSG code</name>
    <description>EPSG code for the output projection reference system (EPSG 4326 for WGS84, 32631 for UTM31N...,useless if support image is given)</description>
    <minValue />
    <maxValue />
    <default>0</default>
    <optional>True</optional>
  </parameter>
  <parameter>
    <parameter_type source_parameter_type="ParameterType_Float">ParameterNumber</parameter_type>
    <key>orx</key>
    <name>Output Upper-left x</name>
    <description>Output upper-left corner x coordinate (useless if support image is given)</description>
    <minValue />
    <maxValue />
    <default>0.0</default>
    <optional>True</optional>
  </parameter>
  <parameter>
    <parameter_type source_parameter_type="ParameterType_Float">ParameterNumber</parameter_type>
    <key>ory</key>
    <name>Output Upper-left y</name>
    <description>Output upper-left corner y coordinate (useless if support image is given)</description>
    <minValue />
    <maxValue />
    <default>0.0</default>
    <optional>True</optional>
  </parameter>
  <parameter>
    <parameter_type source_parameter_type="ParameterType_Float">ParameterNumber</parameter_type>
    <key>spx</key>
    <name>Spacing (GSD) x</name>
    <description>Spacing (ground sampling distance) along x axis (useless if support image is given)</description>
    <minValue />
    <maxValue />
    <default>0.0</default>
    <optional>True</optional>
  </parameter>
  <parameter>
    <parameter_type source_parameter_type="ParameterType_Float">ParameterNumber</parameter_type>
    <key>spy</key>
    <name>Spacing (GSD) y</name>
    <description>Spacing (ground sampling distance) along y axis (useless if support image is given)</description>
    <minValue />
    <maxValue />
    <default>0.0</default>
    <optional>True</optional>
  </parameter>
  <parameter>
    <parameter_type source_parameter_type="ParameterType_Float">ParameterNumber</parameter_type>
    <key>background</key>
    <name>Background value</name>
    <description>Default value for pixels not belonging to any geometry</description>
    <minValue />
    <maxValue />
    <default>0</default>
    <optional>False</optional>
  </parameter>
  <parameter>
    <parameter_type source_parameter_type="ParameterType_Choice">ParameterSelection</parameter_type>
    <key>mode</key>
    <name>Rasterization mode</name>
    <description>Choice of rasterization modes</description>
    <options>
      <choices>
        <choice>binary</choice>
        <choice>attribute</choice>
      </choices>
    </options>
    <default>0</default>
    <optional>False</optional>
  </parameter>
  <parameter>
    <parameter_type source_parameter_type="ParameterType_Float">ParameterNumber</parameter_type>
    <key>mode.binary.foreground</key>
    <name>Foreground value</name>
    <description>Value for pixels inside a geometry</description>
    <minValue />
    <maxValue />
    <default>255</default>
    <optional>False</optional>
  </parameter>
  <parameter>
    <parameter_type source_parameter_type="ParameterType_String">ParameterString</parameter_type>
    <key>mode.attribute.field</key>
    <name>The attribute field to burn</name>
    <description>Name of the attribute field to burn</description>
    <default>DN</default>
    <multiline />
    <optional>False</optional>
  </parameter>
  <parameter>
    <parameter_type source_parameter_type="ParameterType_RAM">ParameterNumber</parameter_type>
    <key>ram</key>
    <name>Available RAM (Mb)</name>
    <description>Available memory for processing (in MB)</description>
    <minValue />
    <maxValue />
    <default>128</default>
    <optional>True</optional>
  </parameter>
</root>
