<?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: RouteTask: Problem with Stops in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/routetask-problem-with-stops/m-p/183377#M1705</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, you need a custom NAServer which supports your data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nimesh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Sep 2012 17:47:57 GMT</pubDate>
    <dc:creator>NimeshJarecha</dc:creator>
    <dc:date>2012-09-27T17:47:57Z</dc:date>
    <item>
      <title>RouteTask: Problem with Stops</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/routetask-problem-with-stops/m-p/183374#M1702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi there,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need some help on performing the AGSRouteTask in an iPhone app.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In my code I put 2 stops in the RouteTaskParameters and try to calculate the route, but I get the following error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;Error: Error Domain=NSCocoaErrorDomain Code=400 "Unable to complete&amp;nbsp; operation."&amp;nbsp; UserInfo=0x913940 { NSLocalizedFailureReason=&amp;nbsp; Input field [STRASSE] was not mapped to a field in the network analysis class "Stops".&amp;nbsp;&amp;nbsp;&amp;nbsp; Input field [TYP_ID] was not mapped to a field in the network analysis class "Stops".&amp;nbsp;&amp;nbsp;&amp;nbsp; "and so on..."&amp;nbsp; Location "Parkhaus Innstadt " in "Stops" is unlocated.&amp;nbsp;&amp;nbsp;&amp;nbsp; Location "Parkhaus Innstadt " in "Stops" is unlocated.&amp;nbsp;&amp;nbsp;&amp;nbsp; Invalid locations detected.,&amp;nbsp;&amp;nbsp; NSURL= "long URL in here",&amp;nbsp; NSLocalizedDescription=Unable to complete&amp;nbsp; operation.}&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The stops are initialized like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;AGSStopGraphic* stop = [[AGSStopGraphic alloc] initWithGeometry:parkingDeck._shape.geometry symbol:parkingDeck._shape.symbol attributes:parkingDeck._shape.attributes infoTemplateDelegate:parkingDeck._shape.infoTemplateDelegate];&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"_shape" contains a reference to an AGSGraphic object from a db-query (db from an arcgis server).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there something wrong with initializing the StopGraphic-objects? Or whats wrong with that?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A little hint would be very helpfull! If you need more information, please tell me!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Greetings&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Philipp&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2012 15:10:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/routetask-problem-with-stops/m-p/183374#M1702</guid>
      <dc:creator>PhilippFauser</dc:creator>
      <dc:date>2012-09-26T15:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: RouteTask: Problem with Stops</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/routetask-problem-with-stops/m-p/183375#M1703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The simplest thing to verify whether your stops are correct. Open solve route REST end point in browser and provide the same stops you are passing in the code. What result you get?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nimesh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Sep 2012 16:03:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/routetask-problem-with-stops/m-p/183375#M1703</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2012-09-27T16:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: RouteTask: Problem with Stops</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/routetask-problem-with-stops/m-p/183376#M1704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ah, thank you Nimesh, I think this helped a lot! &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So maybe, I first need some basic understanding of the whole route-task-thing!:)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to get the geometry-stop-data out of this database &lt;/SPAN&gt;&lt;A href="http://www.geoportal.passau.de/ArcGIS/rest/services/APPDATEN/MapServer/1"&gt;http://www.geoportal.passau.de/ArcGIS/rest/services/APPDATEN/MapServer/1&lt;/A&gt;&lt;SPAN&gt; and calculate a route with this NAServer: &lt;/SPAN&gt;&lt;A href="http://tasks.arcgisonline.com/ArcGIS/rest/services/NetworkAnalysis/ESRI_Route_EU/NAServer/Route"&gt;http://tasks.arcgisonline.com/ArcGIS/rest/services/NetworkAnalysis/ESRI_Route_EU/NAServer/Route&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems not to work this way! I tried the geometry-data with the "solve route" option on the NAServer as mentioned by Nimesh.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The geometry-data I extract out of the database(&lt;/SPAN&gt;&lt;A href="http://www.geoportal.passau.de/ArcGIS/rest/services/APPDATEN/MapServer/1"&gt;http://www.geoportal.passau.de/ArcGIS/rest/services/APPDATEN/MapServer/1&lt;/A&gt;&lt;SPAN&gt;) is related to this "custom" MapServer &lt;/SPAN&gt;&lt;A href="http://www.geoportal.passau.de/ArcGIS/rest/services/STADTPLAN/MapServer"&gt;http://www.geoportal.passau.de/ArcGIS/rest/services/STADTPLAN/MapServer&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does this mean I also need a "custom" NAServer to calculate a route with the geometry-data? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry, I am relatively new to ArcGIS, but it would be great to get some help here!:)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Sep 2012 16:34:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/routetask-problem-with-stops/m-p/183376#M1704</guid>
      <dc:creator>PhilippFauser</dc:creator>
      <dc:date>2012-09-27T16:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: RouteTask: Problem with Stops</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/routetask-problem-with-stops/m-p/183377#M1705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, you need a custom NAServer which supports your data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nimesh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Sep 2012 17:47:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/routetask-problem-with-stops/m-p/183377#M1705</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2012-09-27T17:47:57Z</dc:date>
    </item>
  </channel>
</rss>

