<?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: Offline 3D Scenes and Layers in Qt Maps SDK Questions</title>
    <link>https://community.esri.com/t5/qt-maps-sdk-questions/offline-3d-scenes-and-layers/m-p/431114#M2164</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;Good news - our next release of ArcGIS Runtime (100.5) will support Mobile Scene Packages to view 3D content completely offline. The release will be available in the first week or two of April 2019. Here is a preview from our dev branch in github showcasing how to use the new API -&amp;nbsp;&lt;A href="https://github.com/Esri/arcgis-runtime-samples-qt/tree/v.next/ArcGISRuntimeSDKQt_CppSamples/Scenes/OpenMobileScenePackage"&gt;https://github.com/Esri/arcgis-runtime-samples-qt/tree/v.next/ArcGISRuntimeSDKQt_CppSamples/Scenes/OpenMobileScenePackage&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can package the elevation source directly from Pro into the Mobile Scene Package so that it is very simple to open the package, obtain a Scene, and then add it to the view, and all of the layers, elevation, etc will be carried over automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Lucas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Mar 2019 13:37:37 GMT</pubDate>
    <dc:creator>LucasDanzinger</dc:creator>
    <dc:date>2019-03-29T13:37:37Z</dc:date>
    <item>
      <title>Offline 3D Scenes and Layers</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/offline-3d-scenes-and-layers/m-p/431113#M2163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am referring to example code given at &lt;A href="https://developers.arcgis.com/qt/latest/cpp/guide/build-a-new-scene.htm"&gt;https://developers.arcgis.com/qt/latest/cpp/guide/build-a-new-scene.htm&lt;/A&gt; link.&lt;/P&gt;&lt;P&gt;Here in the code segment, two classes are called – &lt;SPAN style="font-size: 9.0pt; color: #595959; background: #F8F8F8;"&gt;Scene&lt;/SPAN&gt; and &lt;SPAN style="font-size: 9.0pt; color: #595959; background: #F8F8F8;"&gt;ArcGISTiledElevationSource&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;My understanding is that, constructor of both these classes fetch data from internet.&lt;/P&gt;&lt;P&gt;My requirement is to store some offline package locally and use it to render scene and apply elevation source.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone let me know how can we possibly achieve the same?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Related queries that I have are:&lt;/P&gt;&lt;P&gt;1. What is equivalent of Mobile Map Package for Scenes? Or can I use Mobile Map Package and display the same as a scene? If yes, how to achieve the same?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Elevation source can it be pre-applied while creating Mobile Map Package or equivalent.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Mar 2019 09:52:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/offline-3d-scenes-and-layers/m-p/431113#M2163</guid>
      <dc:creator>AbhijeetSatam</dc:creator>
      <dc:date>2019-03-29T09:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: Offline 3D Scenes and Layers</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/offline-3d-scenes-and-layers/m-p/431114#M2164</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;Good news - our next release of ArcGIS Runtime (100.5) will support Mobile Scene Packages to view 3D content completely offline. The release will be available in the first week or two of April 2019. Here is a preview from our dev branch in github showcasing how to use the new API -&amp;nbsp;&lt;A href="https://github.com/Esri/arcgis-runtime-samples-qt/tree/v.next/ArcGISRuntimeSDKQt_CppSamples/Scenes/OpenMobileScenePackage"&gt;https://github.com/Esri/arcgis-runtime-samples-qt/tree/v.next/ArcGISRuntimeSDKQt_CppSamples/Scenes/OpenMobileScenePackage&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can package the elevation source directly from Pro into the Mobile Scene Package so that it is very simple to open the package, obtain a Scene, and then add it to the view, and all of the layers, elevation, etc will be carried over automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Lucas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Mar 2019 13:37:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/offline-3d-scenes-and-layers/m-p/431114#M2164</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2019-03-29T13:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: Offline 3D Scenes and Layers</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/offline-3d-scenes-and-layers/m-p/431115#M2165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, in the meanwhile, is it possible to achieve similar offline functionality using 100.4?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, with 100.5, how would one be able to create Mobile Scene Packages in ArcGIS Pro? Where is that feature available in &lt;SPAN&gt;ArcGIS&amp;nbsp;&lt;/SPAN&gt;Pro?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Apr 2019 09:55:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/offline-3d-scenes-and-layers/m-p/431115#M2165</guid>
      <dc:creator>AbhijeetSatam</dc:creator>
      <dc:date>2019-04-02T09:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: Offline 3D Scenes and Layers</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/offline-3d-scenes-and-layers/m-p/431116#M2166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the documentation on creating a mobile scene package -&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/help/sharing/overview/mobile-scene-package.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/help/sharing/overview/mobile-scene-package.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the mean time, you can&amp;nbsp;programmatically build up a scene with its layers in code. For example,&amp;nbsp;here is the code from the help with offline equivalent&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="comment token"&gt;// Create a scene using a TPK BaseMap&lt;/SPAN&gt;
ArcGISTiledLayer&lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt; tiledLayer &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;ArcGISTiledLayer&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;QUrl&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"pathToData/basemap.tpk"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;this&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
m_scene &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;Scene&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;Basemap&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;tiledLayer&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;this&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

&lt;SPAN class="comment token"&gt;// Create a new elevation source&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;const&lt;/SPAN&gt; QString montereyRasterElevationPath &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"pathToData/MontereyElevation.dt2"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
RasterElevationSource&lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt; elevationSrc &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; RasterElevationSource&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;QStringList&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;montereyRasterElevationPath&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;this&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
m_scene&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;baseSurface&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;elevationSources&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;append&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;elevationSrc&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

&lt;SPAN class="comment token"&gt;// add a scene service with ArcGISSceneLayer from SLPK&lt;/SPAN&gt;
m_sceneLayer &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;ArcGISSceneLayer&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;
            &lt;SPAN class="token function"&gt;QUrl&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"pathToData/lyrPkg.slpk"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
m_scene&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;operationalLayers&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;append&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;m_sceneLayer&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 19:22:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/offline-3d-scenes-and-layers/m-p/431116#M2166</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2021-12-11T19:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: Offline 3D Scenes and Layers</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/offline-3d-scenes-and-layers/m-p/431117#M2167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Lucas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per your suggestion we tried to build and execute the OpenMobileScenePackage from github site esri/arcgis-runtime-samples-qt/ArcGISRuntimeSDKQt_CppSamples/Scenes/ after installing Runtime 100.5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would build correctly but wont execute. Throwing the following runtime error:&lt;/P&gt;&lt;P style="-qt-block-indent: 0; text-indent: 0px; margin: 0px;"&gt;&lt;SPAN style="color: #7f7f7f;"&gt;QML debugging is enabled. Only use this in a safe environment.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="-qt-block-indent: 0; text-indent: 0px; margin: 0px;"&gt;&lt;SPAN style="font-weight: 600; color: #7f7f7f;"&gt;14:56:14: The program has unexpectedly finished.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="-qt-block-indent: 0; text-indent: 0px; margin: 0px;"&gt;&lt;SPAN style="font-weight: 600; color: #7f7f7f;"&gt;14:56:14: The process was ended forcefully.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="-qt-block-indent: 0; text-indent: 0px; margin: 0px;"&gt;&lt;/P&gt;&lt;P&gt;I tried to debug this and it would point me at the following line in main.cpp:&lt;/P&gt;&lt;P&gt;&amp;nbsp; QGuiApplication app(argc, argv);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you suggest a solution?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Apr 2019 09:52:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/offline-3d-scenes-and-layers/m-p/431117#M2167</guid>
      <dc:creator>AbhijeetSatam</dc:creator>
      <dc:date>2019-04-22T09:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: Offline 3D Scenes and Layers</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/offline-3d-scenes-and-layers/m-p/431118#M2168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's a tough one to diagnose. Hard to say what the problem is. Do any of the samples work for you on that system? Can you try creating a new template app? I am wondering if something is not setup correctly in your environment?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Apr 2019 14:10:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/offline-3d-scenes-and-layers/m-p/431118#M2168</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2019-04-22T14:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: Offline 3D Scenes and Layers</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/offline-3d-scenes-and-layers/m-p/431119#M2169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tried to create a new template app but the problem re-occurs. None of the samples compiled are able to execute.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2019 04:09:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/offline-3d-scenes-and-layers/m-p/431119#M2169</guid>
      <dc:creator>AbhijeetSatam</dc:creator>
      <dc:date>2019-04-23T04:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: Offline 3D Scenes and Layers</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/offline-3d-scenes-and-layers/m-p/431120#M2170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In that case, sounds like something is likely not quite right in your environment. Have you gone through the install and setup guide documentation?&amp;nbsp;&lt;A href="https://developers.arcgis.com/qt/latest/qml/guide/install-and-set-up-on-windows.htm"&gt;https://developers.arcgis.com/qt/latest/qml/guide/install-and-set-up-on-windows.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It might be good to verify you have the correct MSVC compiler version as well as the proper OpenSSL version.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2019 14:13:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/offline-3d-scenes-and-layers/m-p/431120#M2170</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2019-04-23T14:13:24Z</dc:date>
    </item>
  </channel>
</rss>

