CARIS HPD : Portrayal : Masking : Mask all
 

Mask all

Mask All is a special masking rule in all INT1 portrayals that masks all colours or features.

This rule is used with the $amask area feature to mask underlying features around a border. See below.

The white around the inset panel masks the display of main panel under the border. When the Mask All rule is used, all colours or features (regardless of priority) under the border are masked. Only the white border is displayed.

This is an example of the $amask entry in the asymref.dic lookup table with the “Mask All” mapping rule.

"$amask","","AC(White)","0","S","DISPLAYBASE","0","Mask_All"

This shows the raster dynamic masking Mask_All entry in the maskingrule file.

<cmr:Rule Name="Mask_All">

  <cmr:Masking>

    <cmr:Style>fill</cmr:Style>

    <cmr:Width uom="mm">0</cmr:Width>

    <cmr:Target>

      <cmr:Token>No_Data</cmr:Token>

      <cmr:Token>White</cmr:Token>

      <cmr:Token>Black</cmr:Token>

      <cmr:Token>Nautical_Purple</cmr:Token>

      <cmr:Token>Built_Up_Area</cmr:Token>

      <cmr:Token>Lights_Sectors</cmr:Token>

      <cmr:Token>Lights_Sectors_Red</cmr:Token>

      <cmr:Token>Lights_Sectors_Green</cmr:Token>

      <cmr:Token>Lights_Sectors_Yellow</cmr:Token>

      <cmr:Token>Traffic_Separation_Magenta</cmr:Token>

      <cmr:Token>Land_Area</cmr:Token>

      <cmr:Token>Land_Elevation</cmr:Token>

      <cmr:Token>Depth_Area_Deep</cmr:Token>

      <cmr:Token>Depth_Area_Med_Shallow</cmr:Token>

      <cmr:Token>Depth_Area_Shallow</cmr:Token>

      <cmr:Token>Intertidal_Area</cmr:Token>

      <cmr:Token>Grey</cmr:Token>

      <cmr:Token>Red</cmr:Token>

      <cmr:Token>Yellow</cmr:Token>

      <cmr:Token>Green</cmr:Token>

      <cmr:Token>Blue</cmr:Token>

      <cmr:Token>Light_Blue</cmr:Token>

      <cmr:Token>Orange</cmr:Token>

      <cmr:Token>Black_20p</cmr:Token>

      <cmr:Token>Grey_20p</cmr:Token>

      <cmr:Token>Bathymetric_Contour</cmr:Token>

      <cmr:Token>Blue_Green</cmr:Token>

    </cmr:Target>

  </cmr:Masking>

</cmr:Rule>

This is the same entry for vector dynamic masking in prioritymaskingrules.xml.

<pmr:Rule name="Mask_All">

  <pmr:Masking>

    <pmr:Style>fill</pmr:Style>

    <pmr:Width uom="mm">0</pmr:Width>

    <pmr:Target>

      <pmr:All/>

    </pmr:Target>

  </pmr:Masking>

</pmr:Rule>