Take me to pcigeomatics.com

PCI Geomatics Help Center

How can we help you today?

Create Bitmap Mask

PCI Geomatics -

(Model SubTree
  (Author String "")
  (Organization String "")
  (Version String "10.1")
  (CompatVersions String "10.0")
  (BatchInfo String "")
  (Description String "")
  (Date String "15-Apr-2013")
  (Time String "15:15:57:841")
  (Comment String "")
  (IsCompactLook Bool FALSE)
  (IsIconVisible Bool TRUE)
  (ShowGrid Bool FALSE)
  (SnapToGrid Bool FALSE)
  (XAxisGridSpacing Integer 16)
  (YAxisGridSpacing Integer 16)
  (SnapAlignment String "TopLeftSnapAlignment")
  (DrawOrderedModules SubTree
    (MModule SubTree
      (Name String "IMPORT")
      (SubModuleIndex Integer 0)
      (IsCompactLook Bool FALSE)
      (ModuleId Integer 0)
      (IsIconVisible Bool TRUE)
      (XLocation Integer 63)
      (YLocation Integer 61)
      (InputAttach String "LeftAttachment")
      (OutputAttach String "RightAttachment")
      (SecInputAttach String "TopAttachment")
      (SecOutputAttach String "BottomAttachment")
      (CompInputAttach String "TopAttachment")
      (CompOutputAttach String "BottomAttachment")
      (CompSecInputAttach String "RightAttachment")
      (CompSecOutputAttach String "LeftAttachment")
      (ResampleMode String "NEAREST")
      (OutputPortArea SubTree
        (PortArea SubTree
          (PortAreaType String "OutputPortAreaType")
          (Attachment String "RightAttachment")
          (IsSecondary Bool FALSE)
          (Ports SubTree
            (MPort SubTree
              (StaticName String "OutputTemplate")
              (Name String "OutputRaster1")
              (IsFatPort Bool TRUE)
              (Type String "Raster")
              (IsRequired Bool FALSE)
              (PortId Integer 0)
              (AttachedPipeId Integer 0)
            )
          )
        )
      )
      (InputParameters SubTree
        (MParameter SubTree
          (Name String "Filename")
          (Value String "$PCIHOME\\demo\\irvine.pix")
          (IsRequired Bool TRUE)
        )
        (MParameter SubTree
          (Name String "Local")
          (Value String "FALSE")
          (IsRequired Bool TRUE)
        )
        (MParameter SubTree
          (Name String "LayerSelection")
          (Value String "2:1,2,3")
          (IsRequired Bool TRUE)
        )
      )
      (Jobs SubTree
        (SelectedJob Integer 0)
        (MJob SubTree
          (InputParameters SubTree
            (MBatchParameter SubTree
              (MParameter SubTree
                (Name String "Filename")
                (Value String "$PCIHOME\\demo\\irvine.pix")
                (IsRequired Bool TRUE)
              )
              (Auto Bool FALSE)
            )
            (MBatchParameter SubTree
              (MParameter SubTree
                (Name String "Local")
                (Value String "FALSE")
                (IsRequired Bool TRUE)
              )
              (Auto Bool FALSE)
            )
            (MBatchParameter SubTree
              (MParameter SubTree
                (Name String "LayerSelection")
                (Value String "2:1,2,3")
                (IsRequired Bool TRUE)
              )
              (Auto Bool FALSE)
              (Auto Bool FALSE)
              (Auto Bool FALSE)
              (Auto Bool FALSE)
              (Auto Bool FALSE)
              (Auto Bool FALSE)
              (Auto Bool FALSE)
              (Auto Bool FALSE)
              (Auto Bool FALSE)
              (Auto Bool FALSE)
              (Auto Bool FALSE)
              (Auto Bool FALSE)
            )
          )
        )
      )
    )
    (MModule SubTree
      (Name String "MODEL")
      (SubModuleIndex Integer 0)
      (IsCompactLook Bool FALSE)
      (ModuleId Integer 1)
      (IsIconVisible Bool TRUE)
      (XLocation Integer 407)
      (YLocation Integer 61)
      (InputAttach String "LeftAttachment")
      (OutputAttach String "RightAttachment")
      (SecInputAttach String "TopAttachment")
      (SecOutputAttach String "BottomAttachment")
      (CompInputAttach String "TopAttachment")
      (CompOutputAttach String "BottomAttachment")
      (CompSecInputAttach String "RightAttachment")
      (CompSecOutputAttach String "LeftAttachment")
      (ResampleMode String "NEAREST")
      (InputPortArea SubTree
        (PortArea SubTree
          (PortAreaType String "InputPortAreaType")
          (Attachment String "LeftAttachment")
          (IsSecondary Bool FALSE)
          (Ports SubTree
            (MPort SubTree
              (Name String "Input")
              (IsFatPort Bool TRUE)
              (Type String "Raster")
              (IsRequired Bool FALSE)
              (PortId Integer 0)
              (AttachedPipeId Integer 0)
            )
            (MPort SubTree
              (Name String "InputBit")
              (IsFatPort Bool TRUE)
              (Type String "Bitmap")
              (IsRequired Bool FALSE)
              (PortId Integer 1)
              (AttachedPipeId Integer 5)
            )
            (MPort SubTree
              (Name String "InputText")
              (IsFatPort Bool FALSE)
              (Type String "Text")
              (IsRequired Bool FALSE)
              (PortId Integer 2)
              (AttachedPipeId Integer -1)
            )
          )
        )
      )
      (OutputPortArea SubTree
        (PortArea SubTree
          (PortAreaType String "OutputPortAreaType")
          (Attachment String "RightAttachment")
          (IsSecondary Bool FALSE)
          (Ports SubTree
            (MPort SubTree
              (Name String "Output")
              (IsFatPort Bool TRUE)
              (Type String "Raster")
              (IsRequired Bool FALSE)
              (PortId Integer 0)
              (AttachedPipeId Integer -1)
            )
            (MPort SubTree
              (Name String "OutputBit")
              (IsFatPort Bool TRUE)
              (Type String "Bitmap")
              (IsRequired Bool FALSE)
              (PortId Integer 1)
              (AttachedPipeId Integer 2)
            )
          )
        )
      )
      (InputParameters SubTree
        (MParameter SubTree
          (Name String "SOURCE")
          (Value String "")
          (IsRequired Bool TRUE)
        )
        (MParameter SubTree
          (Name String "ModelText")
          (Value String "if ( %1 > 90 & %2 >45 & %3 > 45 ) then\n%%2=1\nelse\n%%2=0\nendif")
          (IsRequired Bool TRUE)
        )
        (MParameter SubTree
          (Name String "UNDEFVAL")
          (Value String "0.0")
          (IsRequired Bool TRUE)
        )
        (MParameter SubTree
          (Name String "REPORT")
          (Value String "LOG")
          (IsRequired Bool TRUE)
        )
      )
      (Jobs SubTree
        (SelectedJob Integer 0)
        (MJob SubTree
          (InputParameters SubTree
            (MBatchParameter SubTree
              (MParameter SubTree
                (Name String "SOURCE")
                (Value String "")
                (IsRequired Bool TRUE)
              )
              (Auto Bool FALSE)
            )
            (MBatchParameter SubTree
              (MParameter SubTree
                (Name String "ModelText")
                (Value String "if ( %1 > 90 & %2 >45 & %3 > 45 ) then\n%%2=1\nelse\n%%2=0\nendif")
                (IsRequired Bool TRUE)
              )
              (Auto Bool FALSE)
            )
            (MBatchParameter SubTree
              (MParameter SubTree
                (Name String "UNDEFVAL")
                (Value String "0.0")
                (IsRequired Bool TRUE)
              )
              (Auto Bool FALSE)
            )
            (MBatchParameter SubTree
              (MParameter SubTree
                (Name String "REPORT")
                (Value String "LOG")
                (IsRequired Bool TRUE)
              )
              (Auto Bool FALSE)
            )
          )
        )
      )
    )
    (MModule SubTree
      (Name String "VIEWER")
      (SubModuleIndex Integer 0)
      (IsCompactLook Bool FALSE)
      (ModuleId Integer 2)
      (IsIconVisible Bool TRUE)
      (XLocation Integer 719)
      (YLocation Integer 69)
      (InputAttach String "LeftAttachment")
      (OutputAttach String "RightAttachment")
      (SecInputAttach String "TopAttachment")
      (SecOutputAttach String "BottomAttachment")
      (CompInputAttach String "TopAttachment")
      (CompOutputAttach String "BottomAttachment")
      (CompSecInputAttach String "RightAttachment")
      (CompSecOutputAttach String "LeftAttachment")
      (ResampleMode String "NEAREST")
      (InputPortArea SubTree
        (PortArea SubTree
          (PortAreaType String "InputPortAreaType")
          (Attachment String "LeftAttachment")
          (IsSecondary Bool FALSE)
          (Ports SubTree
            (MPort SubTree
              (Name String "Input1")
              (IsFatPort Bool TRUE)
              (Type String "Raster")
              (IsRequired Bool FALSE)
              (PortId Integer 0)
              (AttachedPipeId Integer -1)
            )
            (MPort SubTree
              (Name String "Input2")
              (IsFatPort Bool FALSE)
              (Type String "Raster")
              (IsRequired Bool FALSE)
              (PortId Integer 1)
              (AttachedPipeId Integer -1)
            )
            (MPort SubTree
              (Name String "Input3")
              (IsFatPort Bool FALSE)
              (Type String "Raster")
              (IsRequired Bool FALSE)
              (PortId Integer 2)
              (AttachedPipeId Integer -1)
            )
            (MPort SubTree
              (Name String "InputLUT1")
              (IsFatPort Bool TRUE)
              (Type String "LUT")
              (IsRequired Bool FALSE)
              (PortId Integer 3)
              (AttachedPipeId Integer -1)
            )
            (MPort SubTree
              (Name String "InputLUT2")
              (IsFatPort Bool FALSE)
              (Type String "LUT")
              (IsRequired Bool FALSE)
              (PortId Integer 4)
              (AttachedPipeId Integer -1)
            )
            (MPort SubTree
              (Name String "InputLUT3")
              (IsFatPort Bool FALSE)
              (Type String "LUT")
              (IsRequired Bool FALSE)
              (PortId Integer 5)
              (AttachedPipeId Integer -1)
            )
            (MPort SubTree
              (Name String "InputPCT")
              (IsFatPort Bool FALSE)
              (Type String "PCT")
              (IsRequired Bool FALSE)
              (PortId Integer 6)
              (AttachedPipeId Integer -1)
            )
            (MPort SubTree
              (StaticName String "InputVector")
              (Name String "InputVector1")
              (IsFatPort Bool TRUE)
              (Type String "Vector")
              (IsRequired Bool FALSE)
              (PortId Integer 7)
              (AttachedPipeId Integer -1)
            )
            (MPort SubTree
              (StaticName String "InputVector")
              (Name String "InputBitmap1")
              (IsFatPort Bool TRUE)
              (Type String "Bitmap")
              (IsRequired Bool FALSE)
              (PortId Integer 8)
              (AttachedPipeId Integer 2)
            )
            (MPort SubTree
              (StaticName String "InputVector")
              (Name String "InputBitmap2")
              (IsFatPort Bool TRUE)
              (Type String "Bitmap")
              (IsRequired Bool FALSE)
              (PortId Integer 9)
              (AttachedPipeId Integer -1)
            )
          )
        )
      )
      (InputParameters SubTree
        (MParameter SubTree
          (Name String "ViewerName")
          (Value String "Modeler Viewer")
          (IsRequired Bool TRUE)
        )
        (MParameter SubTree
          (Name String "ViewerXSize")
          (Value String "512")
          (IsRequired Bool TRUE)
        )
        (MParameter SubTree
          (Name String "ViewerYSize")
          (Value String "512")
          (IsRequired Bool TRUE)
        )
        (MParameter SubTree
          (Name String "Resample")
          (Value String "Nearest neighbor")
          (IsRequired Bool TRUE)
        )
      )
    )
    (MModule SubTree
      (Name String "SPLIT")
      (SubModuleIndex Integer 0)
      (IsCompactLook Bool FALSE)
      (ModuleId Integer 4)
      (IsIconVisible Bool TRUE)
      (XLocation Integer 116)
      (YLocation Integer 192)
      (InputAttach String "LeftAttachment")
      (OutputAttach String "RightAttachment")
      (SecInputAttach String "TopAttachment")
      (SecOutputAttach String "BottomAttachment")
      (CompInputAttach String "TopAttachment")
      (CompOutputAttach String "BottomAttachment")
      (CompSecInputAttach String "RightAttachment")
      (CompSecOutputAttach String "LeftAttachment")
      (ResampleMode String "NEAREST")
      (InputPortArea SubTree
        (PortArea SubTree
          (PortAreaType String "InputPortAreaType")
          (Attachment String "LeftAttachment")
          (IsSecondary Bool FALSE)
          (Ports SubTree
            (MPort SubTree
              (Name String "Input1")
              (IsFatPort Bool TRUE)
              (Type String "Raster")
              (IsRequired Bool FALSE)
              (PortId Integer 0)
              (AttachedPipeId Integer 0)
            )
          )
        )
      )
      (OutputPortArea SubTree
        (PortArea SubTree
          (PortAreaType String "OutputPortAreaType")
          (Attachment String "RightAttachment")
          (IsSecondary Bool FALSE)
          (Ports SubTree
            (MPort SubTree
              (StaticName String "OutputTemplate")
              (Name String "OutputRaster1")
              (IsFatPort Bool TRUE)
              (Type String "Raster")
              (IsRequired Bool FALSE)
              (PortId Integer 0)
              (AttachedPipeId Integer 4)
            )
            (MPort SubTree
              (StaticName String "OutputTemplate")
              (Name String "OutputRaster2")
              (IsFatPort Bool TRUE)
              (Type String "Raster")
              (IsRequired Bool FALSE)
              (PortId Integer 1)
              (AttachedPipeId Integer -1)
            )
          )
        )
      )
      (InputParameters SubTree
        (MParameter SubTree
          (Name String "Dummy")
          (Value String "")
          (IsRequired Bool TRUE)
        )
      )
    )
    (MModule SubTree
      (Name String "EXPORT")
      (SubModuleIndex Integer 0)
      (IsCompactLook Bool FALSE)
      (ModuleId Integer 5)
      (IsIconVisible Bool TRUE)
      (XLocation Integer 717)
      (YLocation Integer 263)
      (InputAttach String "LeftAttachment")
      (OutputAttach String "RightAttachment")
      (SecInputAttach String "TopAttachment")
      (SecOutputAttach String "BottomAttachment")
      (CompInputAttach String "TopAttachment")
      (CompOutputAttach String "BottomAttachment")
      (CompSecInputAttach String "RightAttachment")
      (CompSecOutputAttach String "LeftAttachment")
      (ResampleMode String "NEAREST")
      (InputPortArea SubTree
        (PortArea SubTree
          (PortAreaType String "InputPortAreaType")
          (Attachment String "LeftAttachment")
          (IsSecondary Bool FALSE)
          (Ports SubTree
            (MPort SubTree
              (StaticName String "InputTemplate")
              (Name String "InputBitmap1")
              (IsFatPort Bool TRUE)
              (Type String "Bitmap")
              (IsRequired Bool FALSE)
              (PortId Integer 0)
              (AttachedPipeId Integer 2)
            )
            (MPort SubTree
              (StaticName String "InputTemplate")
              (Name String "InputAny1")
              (IsFatPort Bool TRUE)
              (Type String "Any")
              (IsRequired Bool FALSE)
              (PortId Integer 1)
              (AttachedPipeId Integer -1)
            )
          )
        )
      )
      (InputParameters SubTree
        (MParameter SubTree
          (Name String "Filename")
          (Value String "$PCIHOME\\user\\model_example.pix")
          (IsRequired Bool TRUE)
        )
        (MParameter SubTree
          (Name String "OutputFormat")
          (Value String "3")
          (IsRequired Bool TRUE)
        )
        (MParameter SubTree
          (Name String "OverWrite")
          (Value String "0")
          (IsRequired Bool TRUE)
        )
        (MParameter SubTree
          (Name String "SaveToText")
          (Value String "0")
          (IsRequired Bool TRUE)
        )
        (MParameter SubTree
          (Name String "GeoWrite")
          (Value String "0")
          (IsRequired Bool TRUE)
        )
      )
      (Jobs SubTree
        (SelectedJob Integer 0)
        (MJob SubTree
          (InputParameters SubTree
            (MBatchParameter SubTree
              (MParameter SubTree
                (Name String "Filename")
                (Value String "$PCIHOME\\user\\model_example.pix")
                (IsRequired Bool TRUE)
              )
              (Auto Bool FALSE)
              (Prefix String "")
              (Suffix String "")
              (UsePrefix Bool FALSE)
              (UseSuffix Bool FALSE)
              (PrefixTS Bool FALSE)
              (SuffixTS Bool FALSE)
            )
            (MBatchParameter SubTree
              (MParameter SubTree
                (Name String "OutputFormat")
                (Value String "3")
                (IsRequired Bool TRUE)
              )
              (Auto Bool FALSE)
            )
            (MBatchParameter SubTree
              (MParameter SubTree
                (Name String "OverWrite")
                (Value String "0")
                (IsRequired Bool TRUE)
              )
              (Auto Bool FALSE)
            )
            (MBatchParameter SubTree
              (MParameter SubTree
                (Name String "SaveToText")
                (Value String "0")
                (IsRequired Bool TRUE)
              )
              (Auto Bool FALSE)
            )
            (MBatchParameter SubTree
              (MParameter SubTree
                (Name String "GeoWrite")
                (Value String "0")
                (IsRequired Bool TRUE)
              )
              (Auto Bool FALSE)
            )
          )
        )
      )
    )
    (MModule SubTree
      (Name String "RAS2BIT")
      (SubModuleIndex Integer 0)
      (IsCompactLook Bool FALSE)
      (ModuleId Integer 6)
      (IsIconVisible Bool TRUE)
      (XLocation Integer 111)
      (YLocation Integer 340)
      (InputAttach String "LeftAttachment")
      (OutputAttach String "RightAttachment")
      (SecInputAttach String "TopAttachment")
      (SecOutputAttach String "BottomAttachment")
      (CompInputAttach String "TopAttachment")
      (CompOutputAttach String "BottomAttachment")
      (CompSecInputAttach String "RightAttachment")
      (CompSecOutputAttach String "LeftAttachment")
      (ResampleMode String "NEAREST")
      (InputPortArea SubTree
        (PortArea SubTree
          (PortAreaType String "InputPortAreaType")
          (Attachment String "LeftAttachment")
          (IsSecondary Bool FALSE)
          (Ports SubTree
            (MPort SubTree
              (Name String "InputRaster")
              (IsFatPort Bool FALSE)
              (Type String "Raster")
              (IsRequired Bool FALSE)
              (PortId Integer 0)
              (AttachedPipeId Integer 4)
            )
          )
        )
      )
      (OutputPortArea SubTree
        (PortArea SubTree
          (PortAreaType String "OutputPortAreaType")
          (Attachment String "RightAttachment")
          (IsSecondary Bool FALSE)
          (Ports SubTree
            (MPort SubTree
              (Name String "OutputBitmap")
              (IsFatPort Bool FALSE)
              (Type String "Bitmap")
              (IsRequired Bool FALSE)
              (PortId Integer 0)
              (AttachedPipeId Integer 5)
            )
          )
        )
      )
      (InputParameters SubTree
        (MParameter SubTree
          (Name String "UseSelection")
          (Value String "0")
          (IsRequired Bool TRUE)
        )
        (MParameter SubTree
          (Name String "Dummy")
          (Value String "")
          (IsRequired Bool TRUE)
        )
      )
      (Jobs SubTree
        (SelectedJob Integer 0)
        (MJob SubTree
          (InputParameters SubTree
            (MBatchParameter SubTree
              (MParameter SubTree
                (Name String "UseSelection")
                (Value String "0")
                (IsRequired Bool TRUE)
              )
              (Auto Bool FALSE)
            )
            (MBatchParameter SubTree
              (MParameter SubTree
                (Name String "Dummy")
                (Value String "")
                (IsRequired Bool TRUE)
              )
              (Auto Bool FALSE)
            )
          )
        )
      )
    )
    (MModule SubTree
      (Name String "COMMENT")
      (SubModuleIndex Integer 0)
      (IsCompactLook Bool FALSE)
      (ModuleId Integer 7)
      (IsIconVisible Bool TRUE)
      (XLocation Integer 182)
      (YLocation Integer 460)
      (InputAttach String "LeftAttachment")
      (OutputAttach String "RightAttachment")
      (SecInputAttach String "TopAttachment")
      (SecOutputAttach String "BottomAttachment")
      (CompInputAttach String "TopAttachment")
      (CompOutputAttach String "BottomAttachment")
      (CompSecInputAttach String "RightAttachment")
      (CompSecOutputAttach String "LeftAttachment")
      (ResampleMode String "NEAREST")
      (CenterAreaXOff Integer 49)
      (CenterAreaYOff Integer 383)
      (CenterAreaXSize Integer 267)
      (CenterAreaYSize Integer 154)
      (InputParameters SubTree
        (MParameter SubTree
          (Name String "CommentString")
          (Value String "The bitmap segment referenced in the\nmodel (%%2) must exist before the \nmodel can be run. RAS2BITis used to \ncreate the the bitmap layer on-the-fly.")
          (IsRequired Bool TRUE)
        )
      )
    )
    (MModule SubTree
      (Name String "COMMENT")
      (SubModuleIndex Integer 0)
      (IsCompactLook Bool FALSE)
      (ModuleId Integer 7)
      (IsIconVisible Bool TRUE)
      (XLocation Integer 396)
      (YLocation Integer 172)
      (InputAttach String "LeftAttachment")
      (OutputAttach String "RightAttachment")
      (SecInputAttach String "TopAttachment")
      (SecOutputAttach String "BottomAttachment")
      (CompInputAttach String "TopAttachment")
      (CompOutputAttach String "BottomAttachment")
      (CompSecInputAttach String "RightAttachment")
      (CompSecOutputAttach String "LeftAttachment")
      (ResampleMode String "NEAREST")
      (CenterAreaXOff Integer 291)
      (CenterAreaYOff Integer 99)
      (CenterAreaXSize Integer 211)
      (CenterAreaYSize Integer 147)
      (InputParameters SubTree
        (MParameter SubTree
          (Name String "CommentString")
          (Value String "if ( %1 > 90 & %2 >45 & %3 > 45 ) then\n%%2=1\nelse\n%%2=0")
          (IsRequired Bool TRUE)
        )
      )
    )
  )
  (DrawOrderedPipes SubTree
    (MPipe SubTree
      (PipeId Integer 0)
      (IsFatPipe Bool TRUE)
      (PortDataType String "Raster")
      (IncomingPortName String "OutputRaster1")
      (IncomingModuleId Integer 0)
      (OutgoingPortName String "Input")
      (OutgoingModuleId Integer 1)
      (OutgoingPortName String "Input1")
      (OutgoingModuleId Integer 4)
    )
    (MPipe SubTree
      (PipeId Integer 2)
      (IsFatPipe Bool TRUE)
      (PortDataType String "Bitmap")
      (IncomingPortName String "OutputBit")
      (IncomingModuleId Integer 1)
      (OutgoingPortName String "InputBitmap1")
      (OutgoingModuleId Integer 2)
      (OutgoingPortName String "InputBitmap1")
      (OutgoingModuleId Integer 5)
    )
    (MPipe SubTree
      (PipeId Integer 4)
      (IsFatPipe Bool TRUE)
      (PortDataType String "Raster")
      (IncomingPortName String "OutputRaster1")
      (IncomingModuleId Integer 4)
      (OutgoingPortName String "InputRaster")
      (OutgoingModuleId Integer 6)
    )
    (MPipe SubTree
      (PipeId Integer 5)
      (IsFatPipe Bool FALSE)
      (PortDataType String "Bitmap")
      (IncomingPortName String "OutputBitmap")
      (IncomingModuleId Integer 6)
      (OutgoingPortName String "InputBit")
      (OutgoingModuleId Integer 1)
    )
  )
)
Have more questions? Submit a request

Comments

Powered by Zendesk