<?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: Issue in loading maps from local location in Offline Routing sample code in arcgis qt 100.8 in Qt Maps SDK Questions</title>
    <link>https://community.esri.com/t5/qt-maps-sdk-questions/issue-in-loading-maps-from-local-location-in/m-p/1080915#M4366</link>
    <description>&lt;P&gt;I'm glad to see you were able to resolve this and thanks for pointing this out! We recently updated the files contained in that &lt;A href="https://arcgisruntime.maps.arcgis.com/home/item.html?id=567e14f3420d40c5a206e5c0284cf8fc" target="_self"&gt;portal item zip folder&lt;/A&gt; to include a tpkx instead of a tpk but this of course causes backwards compatibility issues that I didn't foresee. Now that you've pointed this out, I can resolve this and ensure it doesn't happen to other users in the future. Thank you so much!&lt;/P&gt;</description>
    <pubDate>Tue, 20 Jul 2021 16:19:15 GMT</pubDate>
    <dc:creator>Tanner_Yould</dc:creator>
    <dc:date>2021-07-20T16:19:15Z</dc:date>
    <item>
      <title>Issue in loading maps from local location in Offline Routing sample code in arcgis qt 100.8</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/issue-in-loading-maps-from-local-location-in/m-p/1080394#M4361</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using QT 5.14.2 and Arcgis 100.8. I am trying to run the Offline Routing sample code. I downloaded the san_diego.zip folder from&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;https://arcgisruntime.maps.arcgis.com/home/item.html?id=567e14f3420d40c5a206e5c0284cf8fc&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;unzipped and Placed it in&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;C:\Users\Administrator\&lt;/SPAN&gt;ArcGIS\Runtime\Data\tpk\san_diego&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;The application is built successfully. However when I run it. The map does not load and neither do I get the warning msg:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;qWarning&lt;/SPAN&gt;() &lt;SPAN&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt; &lt;SPAN&gt;"Please&lt;/SPAN&gt; &lt;SPAN&gt;download&lt;/SPAN&gt; &lt;SPAN&gt;required&lt;/SPAN&gt; &lt;SPAN&gt;data."&lt;/SPAN&gt;;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Hence I am placing the map files at the correct location.&lt;/P&gt;&lt;P&gt;On running the application I get output as follows:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 518px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/18838iEB11FACF77C86C3E/image-dimensions/518x411?v=v2" width="518" height="411" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have also tried another sample OpenMobileScenePackage wherein I placed the .mspk files in the same Runtime directory and this sample loads the map correctly.&lt;/P&gt;&lt;P&gt;Can anyone figure out what is the issue in loading the map files from the local location in the Offline routing sample. Is there any step I am missing ??&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jul 2021 17:47:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/issue-in-loading-maps-from-local-location-in/m-p/1080394#M4361</guid>
      <dc:creator>AbhijeetSatam</dc:creator>
      <dc:date>2021-07-19T17:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in loading maps from local location in Offline Routing sample code in arcgis qt 100.8</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/issue-in-loading-maps-from-local-location-in/m-p/1080410#M4362</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/8521"&gt;@AbhijeetSatam&lt;/a&gt;, thanks for asking. It looks like you may be placing the unzipped files into the wrong directory. The sample looks for the files in `/ArcGIS/Runtime/Data/tpkx/`. Note the tpk&lt;STRONG&gt;x&lt;/STRONG&gt; instead of tpk because this sample utilizes the&amp;nbsp;&lt;SPAN&gt;Compact Cache V2 storage format tile packages which is recommended over the use of V1 .tpk tile packages.&amp;nbsp;This storage format provides better performance to retrieve tiles when accessed over network file shares and cloud storage.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;These tile package files are supported in ArcGIS Online, ArcGIS Desktop and ArcGIS Enterprise 10.7 or later, ArcGIS Pro 2.3 or later and applications built with ArcGIS Runtime SDK 100.5 or later for Android, Java, iOS, .NET, and Qt.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please let me know if updating the directory resolves your issue, and thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jul 2021 23:46:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/issue-in-loading-maps-from-local-location-in/m-p/1080410#M4362</guid>
      <dc:creator>Tanner_Yould</dc:creator>
      <dc:date>2021-07-19T23:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in loading maps from local location in Offline Routing sample code in arcgis qt 100.8</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/issue-in-loading-maps-from-local-location-in/m-p/1080841#M4365</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/100101"&gt;@Tanner_Yould&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thanks for the quick response. The issue is resolved. I tried changing the path to&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;C:\Users\Administrator\&lt;/SPAN&gt;ArcGIS\Runtime\Data\tpkx\san_diego&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;But getting the same output as earlier. Map doesn't load and no error msg is displayed in qt console.&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I noticed that the streetmap_SD was of the extension .tpkx and not .tpk. So changed the line&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;const&lt;/SPAN&gt; &lt;SPAN&gt;QString&lt;/SPAN&gt; &lt;SPAN&gt;fileLocation&lt;/SPAN&gt; = &lt;SPAN&gt;folderLocation&lt;/SPAN&gt; + &lt;SPAN&gt;QString&lt;/SPAN&gt;(&lt;SPAN&gt;"/streetmap_SD.tpk"&lt;/SPAN&gt;);&lt;/PRE&gt;&lt;P&gt;to this:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;const&lt;/SPAN&gt; &lt;SPAN&gt;QString&lt;/SPAN&gt; &lt;SPAN&gt;fileLocation&lt;/SPAN&gt; = &lt;SPAN&gt;folderLocation&lt;/SPAN&gt; + &lt;SPAN&gt;QString&lt;/SPAN&gt;(&lt;SPAN&gt;"/streetmap_SD.tpkx"&lt;/SPAN&gt;);&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;And now the sample loads the map correctly.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2021 14:41:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/issue-in-loading-maps-from-local-location-in/m-p/1080841#M4365</guid>
      <dc:creator>AbhijeetSatam</dc:creator>
      <dc:date>2021-07-20T14:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in loading maps from local location in Offline Routing sample code in arcgis qt 100.8</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/issue-in-loading-maps-from-local-location-in/m-p/1080915#M4366</link>
      <description>&lt;P&gt;I'm glad to see you were able to resolve this and thanks for pointing this out! We recently updated the files contained in that &lt;A href="https://arcgisruntime.maps.arcgis.com/home/item.html?id=567e14f3420d40c5a206e5c0284cf8fc" target="_self"&gt;portal item zip folder&lt;/A&gt; to include a tpkx instead of a tpk but this of course causes backwards compatibility issues that I didn't foresee. Now that you've pointed this out, I can resolve this and ensure it doesn't happen to other users in the future. Thank you so much!&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2021 16:19:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/issue-in-loading-maps-from-local-location-in/m-p/1080915#M4366</guid>
      <dc:creator>Tanner_Yould</dc:creator>
      <dc:date>2021-07-20T16:19:15Z</dc:date>
    </item>
  </channel>
</rss>

