<?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 network dataset and mobile map packages in Qt Maps SDK Questions</title>
    <link>https://community.esri.com/t5/qt-maps-sdk-questions/network-dataset-and-mobile-map-packages/m-p/35822#M151</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does anyone know if it's possible to include a network dataset (routing) in a mobile map package and then access it via the MobileMapPackage qml type?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/qt/latest/qml/api-reference/qml-esri-arcgisruntime-mobilemappackage.html" title="https://developers.arcgis.com/qt/latest/qml/api-reference/qml-esri-arcgisruntime-mobilemappackage.html"&gt;MobileMapPackage QML Type | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the answer is no, but am looking for confirmation that I haven't missed anything.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The closest I could come to was that a Map object has a property&amp;nbsp;&lt;SPAN style="color: #4c4c4c; font-family: 'Avenir Next W01', 'Avenir Next W00', 'Avenir Next', Avenir, 'Helvetica Neue', sans-serif; font-size: 27.1918px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #c4bcdc; text-decoration-style: initial; text-decoration-color: initial;"&gt;transportationNetworks&lt;/SPAN&gt;&lt;SPAN style="color: #4c4c4c; font-family: 'Avenir Next W01', 'Avenir Next W00', 'Avenir Next', Avenir, 'Helvetica Neue', sans-serif; font-size: 27.1918px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #c4bcdc; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;, which is a list of "TransportationNetworkDataset" objects, which I think are referring to network datasets?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pro seems to have limited tools yet for creating network datasets and I haven't even been successful in getting a network dataset into a map in Pro, let alone a mobile map package. So I'm trying to save myself from time spent getting that to work if I can't then even use it in the runtime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;-Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Jan 2019 02:52:05 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2019-01-24T02:52:05Z</dc:date>
    <item>
      <title>network dataset and mobile map packages</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/network-dataset-and-mobile-map-packages/m-p/35822#M151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does anyone know if it's possible to include a network dataset (routing) in a mobile map package and then access it via the MobileMapPackage qml type?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/qt/latest/qml/api-reference/qml-esri-arcgisruntime-mobilemappackage.html" title="https://developers.arcgis.com/qt/latest/qml/api-reference/qml-esri-arcgisruntime-mobilemappackage.html"&gt;MobileMapPackage QML Type | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the answer is no, but am looking for confirmation that I haven't missed anything.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The closest I could come to was that a Map object has a property&amp;nbsp;&lt;SPAN style="color: #4c4c4c; font-family: 'Avenir Next W01', 'Avenir Next W00', 'Avenir Next', Avenir, 'Helvetica Neue', sans-serif; font-size: 27.1918px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #c4bcdc; text-decoration-style: initial; text-decoration-color: initial;"&gt;transportationNetworks&lt;/SPAN&gt;&lt;SPAN style="color: #4c4c4c; font-family: 'Avenir Next W01', 'Avenir Next W00', 'Avenir Next', Avenir, 'Helvetica Neue', sans-serif; font-size: 27.1918px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #c4bcdc; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;, which is a list of "TransportationNetworkDataset" objects, which I think are referring to network datasets?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pro seems to have limited tools yet for creating network datasets and I haven't even been successful in getting a network dataset into a map in Pro, let alone a mobile map package. So I'm trying to save myself from time spent getting that to work if I can't then even use it in the runtime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;-Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2019 02:52:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/network-dataset-and-mobile-map-packages/m-p/35822#M151</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-01-24T02:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: network dataset and mobile map packages</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/network-dataset-and-mobile-map-packages/m-p/35823#M152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does anyone know if it's possible to include a network dataset (routing) in a mobile map package and then access it via the MobileMapPackage qml type?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the answer is no, but am looking for confirmation that I haven't missed anything.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono, monospace;"&gt;&amp;gt;&amp;gt;&amp;gt; In ArcGIS Runtime (all SDK's including Qt\QML) you can create a Route Task from a mmpk that has a map with transportation network.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: andale mono, monospace;"&gt;&lt;A href="https://developers.arcgis.com/qt/latest/cpp/api-reference/esri-arcgisruntime-routetask.html"&gt;https://developers.arcgis.com/qt/latest/cpp/api-reference/esri-arcgisruntime-routetask.html&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono, monospace;"&gt;The route task allows you to create routes from input stops. The high level step to work with a route task are:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono, monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Create a route task (from service\transportation network\.geodatabase)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: andale mono, monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Set route parameters (e.g. set stops, plus others as needed)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: andale mono, monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Call solve on route task passing in the route parameters&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: andale mono, monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Deal with solve result&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The closest I could come to was that a Map object has a property transportationNetworks , which is a list of "TransportationNetworkDataset" objects, which I think are referring to network datasets?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono, monospace;"&gt;&amp;gt;&amp;gt;&amp;gt; When a network dataset is packaged in Pro into mmpk it is converted into what we call a transportation network.&amp;nbsp; We refer to them by different names because they have a different internally structure, and there are a few features that are supported in a network dataset that is not supported in a transportation network.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;Pro seems to have limited tools yet for creating network datasets and I haven't even been successful in getting a network dataset into a map in Pro, let alone a mobile map package. So I'm trying to save myself from time spent getting that to work if I can't then even use it in the runtime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono, monospace;"&gt;&amp;gt;&amp;gt;&amp;gt; You can add a network dataset to a map in Pro from a existing GDB or SDE, but Pro does not yet allow you to create a network dataset. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono, monospace;"&gt;To create an mmpk for routing in runtime you need to, in Pro, add the network dataset (e.g. Streets_ND) from a fgdb\sde to a map (plus any other data you want in the mmpk) then convert the map to a mmpk.&amp;nbsp; The network dataset will be &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono, monospace;"&gt;Then in runtime you need to &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: andale mono, monospace;"&gt;- open the mmpk&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: andale mono, monospace;"&gt;- load a map from the mmpk&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: andale mono, monospace;"&gt;- get the transportation network from the loaded map (map must be have been loaded)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono, monospace;"&gt;- create the route task the transportation network&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="font-family: andale mono, monospace;"&gt;General MMPK help&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: andale mono, monospace;"&gt;&amp;nbsp;&amp;nbsp; http://pro.arcgis.com/en/pro-app/help/sharing/overview/mobile-map-package.htm&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono, monospace;"&gt;Gdb with example network dataset data that can be used to packing into a mmpk:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: andale mono, monospace;"&gt;&amp;nbsp; http://www.arcgis.com/home/item.html?id=d6bd91b2fddc483b8ccbc66942db84cb &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono, monospace;"&gt;Sample at url below uses a routing service to create a route task, to use mmpk you can use the constructor for the task that takes a transportation network (acquired from a loaded map) ... &lt;EM&gt;"RouteTask::RouteTask(TransportationNetworkDataset *transportationNetworkDataset, QObject *parent = nullptr)"&lt;/EM&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: andale mono, monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; https://developers.arcgis.com/qt/latest/qml/sample-code/sample-qt-findroute.htm &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2019 17:39:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/network-dataset-and-mobile-map-packages/m-p/35823#M152</guid>
      <dc:creator>FrankKish</dc:creator>
      <dc:date>2019-01-24T17:39:35Z</dc:date>
    </item>
  </channel>
</rss>

