<?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: Routing on multiple layers (floors) in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/routing-on-multiple-layers-floors/m-p/361767#M3085</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;Also, I am curious about how much detail about the local network dataset you used?&amp;nbsp; Because the route task requires the service to contain a route analysis layer in order to compute routes. I am not really sure how much the code can override if the network dataset not create such detail to create different stops through the route. As a reference, here I attach the documentation about network dataset: &lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//004700000007000000"&gt;http://resources.arcgis.com/en/help/main/10.2/index.html#//004700000007000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I am still new in iOS and hope those tips can help you about this issue.&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I checked your links and did some tests. They were really helpful for my understanding, however they didn't resolve my problems. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Concerning your question: I didn't configure the ArcGIS Server myself but there is a route analysis layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll try to clarify my problem maybe you'll have another idea:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]29643[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;On this screenshot you can see the main problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There is the basement in the background to give you somewhat of an overview.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The black and red lines are the routes of the ArcGIS-Service of the two floors of the building.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The red route is the route of the visible basement. The black one is the route of the ground floor, which is not visible.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="text-decoration:underline;"&gt;the procedure&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To select the "From Room" and the "To Room" the user simply clicks on the wanted room.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Once the user has selected his rooms, I take the point in the center of the room and pass the AGSPoint encapsulated in an AGSStopGraphic object to the ArcGIS service (using the setStopsWithFeatures method).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="text-decoration:underline;"&gt;THE PROBLEM:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Obviously the ArcGIS service can't know which layer he has to take if I pass for example the center point of the blue room. So it takes the closest one i guess.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;--&amp;gt; Is there a possibility to say to the server "I want to go from this point on THIS LAYER to that point on THAT LAYER!"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I already tried various stuff:&lt;/SPAN&gt;&lt;BR /&gt;&lt;UL&gt;&lt;BR /&gt;&lt;LI&gt;I tried to pass the layer using the attributes of the AGSStopGraphic object. (keyname: F_ELEV) But obviously it didn't work I guess the attributes aren't event considered by the server during the process of finding the route. I think they are useful if you want them to be returned after the routingtask is finished.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;I passed a query to the ArcGIS service with the name of the segment of the route using the setStopsWithLayerDefinition. But that doesn't work at all I get an error&lt;/LI&gt;&lt;BR /&gt;&lt;/UL&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot for your help&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Dec 2013 08:08:29 GMT</pubDate>
    <dc:creator>MariusGächter</dc:creator>
    <dc:date>2013-12-06T08:08:29Z</dc:date>
    <item>
      <title>Routing on multiple layers (floors)</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/routing-on-multiple-layers-floors/m-p/361764#M3082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello all&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have the following task to achieve:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;general:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;iOS app which displays the rooms of a building on a map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the user can choose which floor of the building he wants to be visible.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;routing:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the user can choose 2 rooms of the building (not necessarily on the same floor)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the app shows him the shortest path between the 2 selected rooms. (including the "floor-change")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;solution:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have already a ArcGIS NAServer with the network etc. (I'm not experienced with the ArcGIS Server side, I'm only the iOS developer)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I use AGSRouteTask etc. to address the problem and it works more or less.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No my problems:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Is it possible to define on which Layer a AGSStopGraphic is? If I only pass the coordinates to the service it chooses not always the right one.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Is it possible to get multiple lines from the RoutingService? Example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to go from roomX on floor 1 to roomY on floor 2 --&amp;gt; now I would like to have a line from roomX to the elevator and another one from the elevator to roomY.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope my explanations are more or less clear. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(maybe a screenshot helps: [ATTACH=CONFIG]29527[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm glad for every answer, question or solution.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2013 13:47:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/routing-on-multiple-layers-floors/m-p/361764#M3082</guid>
      <dc:creator>MariusGächter</dc:creator>
      <dc:date>2013-12-03T13:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: Routing on multiple layers (floors)</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/routing-on-multiple-layers-floors/m-p/361765#M3083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Marius,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The AGSStopGraphic inherited from AGSGraphic, therefore the layer properties can access from AGSStopGraphic, check this link about the AGSStopGraphic API reference might be helpful to understand:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/en/ios/api-reference/interface_a_g_s_stop_graphic.html"&gt;https://developers.arcgis.com/en/ios/api-reference/interface_a_g_s_stop_graphic.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For the multiple lines route, I assume it can refer to different stops due to the level of the floor changed. I found this method in&amp;lt; AGSRouteTaskParamters&amp;gt; called �??setStopsWithLayerDefinition�?� and �??setStopsWithFeatures�?�. I think the setStopsWithFeature might be closed to resolve the question since it means about the AGSStopGraphic objects, check this link:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/en/ios/api-reference/interface_a_g_s_route_task_parameters.html"&gt;https://developers.arcgis.com/en/ios/api-reference/interface_a_g_s_route_task_parameters.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, I am curious about how much detail about the local network dataset you used?&amp;nbsp; Because the route task requires the service to contain a route analysis layer in order to compute routes. I am not really sure how much the code can override if the network dataset not create such detail to create different stops through the route. As a reference, here I attach the documentation about network dataset: &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//004700000007000000"&gt;http://resources.arcgis.com/en/help/main/10.2/index.html#//004700000007000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am still new in iOS and hope those tips can help you about this issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2013 15:32:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/routing-on-multiple-layers-floors/m-p/361765#M3083</guid>
      <dc:creator>YueWu1</dc:creator>
      <dc:date>2013-12-03T15:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: Routing on multiple layers (floors)</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/routing-on-multiple-layers-floors/m-p/361766#M3084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks a lot for your fast response.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll check the links you provided and give you a feedback whether it solved my problems.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Dec 2013 06:23:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/routing-on-multiple-layers-floors/m-p/361766#M3084</guid>
      <dc:creator>MariusGächter</dc:creator>
      <dc:date>2013-12-05T06:23:15Z</dc:date>
    </item>
    <item>
      <title>Re: Routing on multiple layers (floors)</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/routing-on-multiple-layers-floors/m-p/361767#M3085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;Also, I am curious about how much detail about the local network dataset you used?&amp;nbsp; Because the route task requires the service to contain a route analysis layer in order to compute routes. I am not really sure how much the code can override if the network dataset not create such detail to create different stops through the route. As a reference, here I attach the documentation about network dataset: &lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//004700000007000000"&gt;http://resources.arcgis.com/en/help/main/10.2/index.html#//004700000007000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I am still new in iOS and hope those tips can help you about this issue.&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I checked your links and did some tests. They were really helpful for my understanding, however they didn't resolve my problems. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Concerning your question: I didn't configure the ArcGIS Server myself but there is a route analysis layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll try to clarify my problem maybe you'll have another idea:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]29643[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;On this screenshot you can see the main problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There is the basement in the background to give you somewhat of an overview.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The black and red lines are the routes of the ArcGIS-Service of the two floors of the building.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The red route is the route of the visible basement. The black one is the route of the ground floor, which is not visible.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="text-decoration:underline;"&gt;the procedure&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To select the "From Room" and the "To Room" the user simply clicks on the wanted room.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Once the user has selected his rooms, I take the point in the center of the room and pass the AGSPoint encapsulated in an AGSStopGraphic object to the ArcGIS service (using the setStopsWithFeatures method).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="text-decoration:underline;"&gt;THE PROBLEM:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Obviously the ArcGIS service can't know which layer he has to take if I pass for example the center point of the blue room. So it takes the closest one i guess.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;--&amp;gt; Is there a possibility to say to the server "I want to go from this point on THIS LAYER to that point on THAT LAYER!"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I already tried various stuff:&lt;/SPAN&gt;&lt;BR /&gt;&lt;UL&gt;&lt;BR /&gt;&lt;LI&gt;I tried to pass the layer using the attributes of the AGSStopGraphic object. (keyname: F_ELEV) But obviously it didn't work I guess the attributes aren't event considered by the server during the process of finding the route. I think they are useful if you want them to be returned after the routingtask is finished.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;I passed a query to the ArcGIS service with the name of the segment of the route using the setStopsWithLayerDefinition. But that doesn't work at all I get an error&lt;/LI&gt;&lt;BR /&gt;&lt;/UL&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot for your help&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Dec 2013 08:08:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/routing-on-multiple-layers-floors/m-p/361767#M3085</guid>
      <dc:creator>MariusGächter</dc:creator>
      <dc:date>2013-12-06T08:08:29Z</dc:date>
    </item>
  </channel>
</rss>

