Skip to content

ENH: Adding an application to perform mask intersection operations

Jordi Inglada requested to merge mask_intersection_app into mpi_scheduler
$ otbcli iota2MasksIntersection
ERROR: Waiting for at least one parameter.


This is the Masks intersection (iota2MasksIntersection) application, version 6.2.0

Performs intersection of several input masks
Parameters:
        -progress          <boolean>        Report progress
        -help              <string list>    Display long help (empty list), or help for given parameters keys
        -edg               <string list>    Sentinel2 edge masks (EDG files)  (optional, off by default)
        -div               <string list>    Landsat div masks (DIV files)  (optional, off by default)
        -nodata            <string list>    Landsat no data masks (NODATA files)  (optional, off by default)
        -mode              <string>         Output mode (vector or raster) [raster/vector] (mandatory, default value is raster)
MISSING -mode.raster.out   <string> [pixel] Output mask as a raster  [pixel=uint8/uint16/int16/uint32/int32/float/double] (default value is uint8) (mandatory)
        -mode.raster.inv   <int32>          Value for pixel inside mask  (mandatory, default value is 255)
        -mode.raster.outv  <int32>          Value for pixel outside mask  (mandatory, default value is 0)
        -mode.vector.out   <string>         Output mask as a vector  (mandatory)
        -mode.vector.8conn <boolean>        Use 8 connexity for vectorisation  (optional, off by default)
        -mode.vector.field <string>         Name of the field associated with polygons  (mandatory, default value is DN)
        -ram               <int32>          Available RAM (Mb)  (optional, off by default, default value is 128)
        -inxml             <string>         Load otb application from xml file  (optional, off by default)

Use -help param1 [... paramN] to see detailed documentation of those parameters.
Edited by Jordi Inglada

Merge request reports