<?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: Display ENC data using QML in Qt Maps SDK Questions</title>
    <link>https://community.esri.com/t5/qt-maps-sdk-questions/display-enc-data-using-qml/m-p/670925#M3422</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Stephen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While putting together an example for you, we've discovered a bug that needs to be addressed before it can work properly. We will try to address this as soon as possible. Thank you for your patience!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Nov 2018 23:25:13 GMT</pubDate>
    <dc:creator>EricBader</dc:creator>
    <dc:date>2018-11-21T23:25:13Z</dc:date>
    <item>
      <title>Display ENC data using QML</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/display-enc-data-using-qml/m-p/670924#M3421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm attempting to display ENC data using QML but being new to both Qt creator and the ArcGIS SDK, I'm having trouble following the sparse documentation. It's not clear to me if/when I'm supposed to be calling the component load functions, how to create an EncCell from an EncExchangeSet dataset, and how to add an EncLayer to a map view. I believe I have loaded an EncExchangeSet component, but I'm not sure where to go from there. Is there sample code that I can look at somewhere for displaying ENC data using QML?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2018 04:18:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/display-enc-data-using-qml/m-p/670924#M3421</guid>
      <dc:creator>StephenKrauss</dc:creator>
      <dc:date>2018-11-19T04:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: Display ENC data using QML</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/display-enc-data-using-qml/m-p/670925#M3422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Stephen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While putting together an example for you, we've discovered a bug that needs to be addressed before it can work properly. We will try to address this as soon as possible. Thank you for your patience!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2018 23:25:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/display-enc-data-using-qml/m-p/670925#M3422</guid>
      <dc:creator>EricBader</dc:creator>
      <dc:date>2018-11-21T23:25:13Z</dc:date>
    </item>
    <item>
      <title>Re: Display ENC data using QML</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/display-enc-data-using-qml/m-p/670926#M3423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Eric,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help, I look forward to the bugfix and example.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Nov 2018 00:11:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/display-enc-data-using-qml/m-p/670926#M3423</guid>
      <dc:creator>StephenKrauss</dc:creator>
      <dc:date>2018-11-22T00:11:09Z</dc:date>
    </item>
    <item>
      <title>Re: Display ENC data using QML</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/display-enc-data-using-qml/m-p/670927#M3424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If it helps at all, the C++ API is working brilliantly...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp; // create EncExchangeSet using paths
 encExchangeSet = new EncExchangeSet(QStringList("D:\\Enc\\ExchangeSetwithoutUpdates\\ENC_ROOT\\CATALOG.031"), this);

 connect(encExchangeSet, &amp;amp;EncExchangeSet::doneLoading, this, [this]{

 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// get the list of EncDataset
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;QList&amp;lt;EncDataset*&amp;gt; EncDatasets = encExchangeSet-&amp;gt;datasets();

 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// display the names of EncDataset
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;for (EncDataset* EncDataset: EncDatasets)
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{

 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// Create the cell and layer
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;myEncLayer = new EncLayer(new EncCell(EncDataset));

 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// Add the layer to the map
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; m_map-&amp;gt;operationalLayers()-&amp;gt;append(myEncLayer);

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
 });

 // Load the EncExchangeSet
 encExchangeSet-&amp;gt;load();

 // Set map to map view
 m_mapView-&amp;gt;setMap(m_map);&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 16:45:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/display-enc-data-using-qml/m-p/670927#M3424</guid>
      <dc:creator>EricBader</dc:creator>
      <dc:date>2021-12-12T16:45:31Z</dc:date>
    </item>
    <item>
      <title>Re: Display ENC data using QML</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/display-enc-data-using-qml/m-p/670928#M3425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Eric, I did manage to get it working with the C++ API and your example.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Nov 2018 19:46:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/display-enc-data-using-qml/m-p/670928#M3425</guid>
      <dc:creator>StephenKrauss</dc:creator>
      <dc:date>2018-11-24T19:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: Display ENC data using QML</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/display-enc-data-using-qml/m-p/670929#M3426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you describe what the bug is? Will it completely prevent us form using the ENC, or does it cause some edge case crashes?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it's a completely showstopper, what's the approximate ETA on the bugfix?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Nov 2018 20:41:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/display-enc-data-using-qml/m-p/670929#M3426</guid>
      <dc:creator>TMPTMP1</dc:creator>
      <dc:date>2018-11-30T20:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: Display ENC data using QML</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/display-enc-data-using-qml/m-p/670930#M3427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any update on this? I was using the ENC today and noticed that I get different results depending on whether I use QQuickView or QQMLApplicationEngine. &lt;span class="lia-unicode-emoji" title=":face_with_open_mouth:"&gt;😮&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a nutshell, if I use QQuickView, then setting the map's extents works correctly. If I use QQMLApplicationEngine, then the extents are off by some skewing factor. It's almost as if the ENC layer draws itself into a separate larger bounding box.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;It'd be nice to know if this was related to the bug&amp;nbsp;mentioned above. It's driving me crazy right now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Jan 2019 22:38:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/display-enc-data-using-qml/m-p/670930#M3427</guid>
      <dc:creator>KennSebesta</dc:creator>
      <dc:date>2019-01-12T22:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: Display ENC data using QML</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/display-enc-data-using-qml/m-p/670931#M3428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you please message me a simple project that demonstrates the issues you are seeing? Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2019 20:22:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/display-enc-data-using-qml/m-p/670931#M3428</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2019-01-23T20:22:46Z</dc:date>
    </item>
    <item>
      <title>Re: Display ENC data using QML</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/display-enc-data-using-qml/m-p/670932#M3429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The bug Eric was referring to was in the QML API only (no C++ issues). The issue was that the load cycle in QML was not working correctly which could cause the EncLayer to not display at all.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2019 20:24:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/display-enc-data-using-qml/m-p/670932#M3429</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2019-01-23T20:24:44Z</dc:date>
    </item>
    <item>
      <title>Re: Display ENC data using QML</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/display-enc-data-using-qml/m-p/1061061#M4157</link>
      <description>&lt;P&gt;Just curious if there is any final resolution on whatever the bug was. I think it's resolved now because there's a QML example for the AddEncExchangeSet, but it would be nice to close out this topic since it still is at the top of the search engines.&lt;/P&gt;</description>
      <pubDate>Mon, 24 May 2021 18:30:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/display-enc-data-using-qml/m-p/1061061#M4157</guid>
      <dc:creator>KennSebesta</dc:creator>
      <dc:date>2021-05-24T18:30:35Z</dc:date>
    </item>
  </channel>
</rss>

