<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Remove or hide EncFeature from an electronic navigation chart in Qt Maps SDK Questions</title>
    <link>https://community.esri.com/t5/qt-maps-sdk-questions/remove-or-hide-encfeature-from-an-electronic/m-p/1588933#M5394</link>
    <description>&lt;P&gt;Hi, we are in the same issue. The proposed solution hides the ENC completely, not only the symbol specified by &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/674965"&gt;@JesDL&lt;/a&gt;. Is there any other possible solution but for this kind of symbol?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance&lt;/P&gt;</description>
    <pubDate>Tue, 25 Feb 2025 14:39:29 GMT</pubDate>
    <dc:creator>RicardoRageldelaTorre</dc:creator>
    <dc:date>2025-02-25T14:39:29Z</dc:date>
    <item>
      <title>Remove or hide EncFeature from an electronic navigation chart</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/remove-or-hide-encfeature-from-an-electronic/m-p/1521434#M5298</link>
      <description>&lt;P&gt;I am correctly reading nautical charts in my program using the example documented here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/qt/layers/display-electronic-navigational-charts/" target="_blank"&gt;https://developers.arcgis.com/qt/layers/display-electronic-navigational-charts/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I would like to hide all elements that appear on the nautical chart, and I have achieved this for almost all elements by filtering as follows:&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;  EncDisplaySettings *encDisplaySettings =
      EncEnvironmentSettings::displaySettings();

  EncMarinerSettings *encMarinerSettings =
      encDisplaySettings-&amp;gt;marinerSettings();

  encMarinerSettings-&amp;gt;setDataQuality(false);
  encMarinerSettings-&amp;gt;setLabelContours(false);
  encMarinerSettings-&amp;gt;setDisplayNobjnm(false);
  encMarinerSettings-&amp;gt;setHonorScamin(false);
  encMarinerSettings-&amp;gt;setIsolatedDangers(false);
  encMarinerSettings-&amp;gt;setLabelSafetyContours(false);
  encMarinerSettings-&amp;gt;setLowAccuracy(false);
  encMarinerSettings-&amp;gt;setShallowDepthPattern(false);
  encMarinerSettings-&amp;gt;setTwoDepthShades(false);

  EncTextGroupVisibilitySettings *encTextGroupVisibilitySettings =
      encDisplaySettings-&amp;gt;textGroupVisibilitySettings();
  encTextGroupVisibilitySettings-&amp;gt;setBerthNumber(false);
  encTextGroupVisibilitySettings-&amp;gt;setCurrentVelocity(false);
  encTextGroupVisibilitySettings-&amp;gt;setGeographicNames(false);
  encTextGroupVisibilitySettings-&amp;gt;setHeightOfIsletOrLandFeature(false);
  encTextGroupVisibilitySettings-&amp;gt;setImportantText(false);
  encTextGroupVisibilitySettings-&amp;gt;setLightDescription(false);
  encTextGroupVisibilitySettings-&amp;gt;setMagneticVariationAndSweptDepth(false);
  encTextGroupVisibilitySettings-&amp;gt;setNamesForPositionReporting(false);
  encTextGroupVisibilitySettings-&amp;gt;setNatureOfSeabed(false);
  encTextGroupVisibilitySettings-&amp;gt;setNoteOnChartData(false);

  EncViewingGroupSettings *encViewingGroupSettings =
      encDisplaySettings-&amp;gt;viewingGroupSettings();
  encViewingGroupSettings-&amp;gt;setAllIsolatedDangers(false);
  encViewingGroupSettings-&amp;gt;setArchipelagicSeaLanes(false);
  encViewingGroupSettings-&amp;gt;setBoundariesAndLimits(false);
  encViewingGroupSettings-&amp;gt;setBuoysBeaconsAidsToNavigation(false);
  encViewingGroupSettings-&amp;gt;setBuoysBeaconsStructures(false);
  encViewingGroupSettings-&amp;gt;setChartScaleBoundaries(false);
  encViewingGroupSettings-&amp;gt;setDepthContours(false);
  encViewingGroupSettings-&amp;gt;setDryingLine(false);
  encViewingGroupSettings-&amp;gt;setLights(false);
  encViewingGroupSettings-&amp;gt;setMagneticVariation(false);
  encViewingGroupSettings-&amp;gt;setOtherMiscellaneous(false);
  encViewingGroupSettings-&amp;gt;setProhibitedAndRestrictedAreas(false);
  encViewingGroupSettings-&amp;gt;setSeabed(false);
  encViewingGroupSettings-&amp;gt;setShipsRoutingSystemsAndFerryRoutes(false);
  encViewingGroupSettings-&amp;gt;setSpotSoundings(false);
  encViewingGroupSettings-&amp;gt;setStandardMiscellaneous(false);
  encViewingGroupSettings-&amp;gt;setSubmarineCablesAndPipelines(false);
  encViewingGroupSettings-&amp;gt;setTidal(false);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My problem is that there is one element that appears in several places on the nautical chart and I cannot seem to remove it:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="iamge.png" style="width: 114px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/112313iF2A469BF2B25D6BB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="iamge.png" alt="iamge.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Following the documentation example for identifying elements:&amp;nbsp;&lt;A href="https://developers.arcgis.com/qt/layers/display-electronic-navigational-charts/#identify-and-select-enc-features" target="_blank"&gt;https://developers.arcgis.com/qt/layers/display-electronic-navigational-charts/#identify-and-select-enc-features&lt;/A&gt;&amp;nbsp;I have been able to verify that clicking on it indicates:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Found EncFeature: &amp;nbsp;"Offshore platform"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I would like to know if there is any filter that I have not included in my code that could hide these EncFeatures, or if there is another way to hide or remove them from the EncLayer.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2024 12:06:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/remove-or-hide-encfeature-from-an-electronic/m-p/1521434#M5298</guid>
      <dc:creator>JesDL</dc:creator>
      <dc:date>2024-08-14T12:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: Remove or hide EncFeature from an electronic navigation chart</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/remove-or-hide-encfeature-from-an-electronic/m-p/1523975#M5299</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/674965"&gt;@JesDL&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A quick way to hide all symbols would be to set the opacity of the ENC layer to 0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;encLayer-&amp;gt;setOpacity(0);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can also achieve this using the&amp;nbsp;EncDisplayCategories API. A&lt;SPAN&gt;ll features are segregated into 3 different display categories:&amp;nbsp;&lt;/SPAN&gt;Base, Standard, Other&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;auto* displaySettings = EncEnvironmentSettings::displaySettings();
auto* marinerSettings = displaySettings-&amp;gt;marinerSettings();
auto* displayCategories = marinerSettings-&amp;gt;displayCategories();

displayCategories-&amp;gt;setDisplayBase(false);
displayCategories-&amp;gt;setStandardDisplay(false);
displayCategories-&amp;gt;setOtherDisplay(false);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2024 19:28:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/remove-or-hide-encfeature-from-an-electronic/m-p/1523975#M5299</guid>
      <dc:creator>bnoble0110</dc:creator>
      <dc:date>2024-08-19T19:28:25Z</dc:date>
    </item>
    <item>
      <title>Re: Remove or hide EncFeature from an electronic navigation chart</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/remove-or-hide-encfeature-from-an-electronic/m-p/1588933#M5394</link>
      <description>&lt;P&gt;Hi, we are in the same issue. The proposed solution hides the ENC completely, not only the symbol specified by &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/674965"&gt;@JesDL&lt;/a&gt;. Is there any other possible solution but for this kind of symbol?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2025 14:39:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/remove-or-hide-encfeature-from-an-electronic/m-p/1588933#M5394</guid>
      <dc:creator>RicardoRageldelaTorre</dc:creator>
      <dc:date>2025-02-25T14:39:29Z</dc:date>
    </item>
  </channel>
</rss>

