<root>
  <key>KmzExport</key>
  <exec>otbcli_KmzExport</exec>
  <longname>Image to KMZ Export</longname>
  <group>Miscellaneous</group>
  <description>Export the input image in a KMZ product.</description>
  <parameter>
    <parameter_type source_parameter_type="ParameterType_InputImage">ParameterRaster</parameter_type>
    <key>in</key>
    <name>Input image</name>
    <description>Input image</description>
    <optional>False</optional>
  </parameter>
  <parameter>
    <parameter_type source_parameter_type="ParameterType_OutputFilename">OutputFile</parameter_type>
    <key>out</key>
    <name>Output .kmz product</name>
    <description>Output Kmz product directory (with .kmz extension)</description>
  </parameter>
  <parameter>
    <parameter_type source_parameter_type="ParameterType_Int">ParameterNumber</parameter_type>
    <key>tilesize</key>
    <name>Tile Size</name>
    <description>Size of the tiles in the kmz product, in number of pixels (default = 512).</description>
    <minValue />
    <maxValue />
    <default>512</default>
  </parameter>
  <parameter>
    <parameter_type source_parameter_type="ParameterType_InputImage">ParameterRaster</parameter_type>
    <key>logo</key>
    <name>Image logo</name>
    <description>Path to the image logo to add to the KMZ product.</description>
    <optional>True</optional>
  </parameter>
  <parameter>
    <parameter_type source_parameter_type="ParameterType_InputImage">ParameterRaster</parameter_type>
    <key>legend</key>
    <name>Image legend</name>
    <description>Path to the image legend to add to the KMZ product.</description>
    <optional>True</optional>
  </parameter>
  <parameter>
    <parameter_type source_parameter_type="ParameterType_Float">ParameterNumber</parameter_type>
    <key>elev.default</key>
    <name>Default elevation</name>
    <description>This parameter allows setting the default height above ellipsoid when there is no DEM available, no coverage for some points or pixels with no_data in the DEM tiles, and no geoid file has been set. This is also used by some application as an average elevation value.</description>
    <minValue />
    <maxValue />
    <default>0</default>
  </parameter>
</root>
