<?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: Error in Solving Route in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/error-in-solving-route/m-p/587741#M7206</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the same parameters on the rest endpoint and it's giving me the result, below is the URL to the result with parameters. My NAS, Output SR and the supplied stop features are in the same Spatial reference (state plane wkid 2247). But when using in Xamarin Forms ArcGIS Runtime, it is throwing exception.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;A href="https://comgistest.memphistn.gov/arcgis/rest/services/Routing/StreetsRouting/NAServer/Route/solve?stops=%7B+%22features%22++%3A+%5B%0D%0A%7B%0D%0A++%22geometry%22+%3A+%7B%22x%22+%3A+353066.935438531%2C+%22y%22+%3A+1235910.117936%2C%22spatialReference%22+%3A+%7B%0D%0A++++++%22wkid%22+%3A+2247%0D%0A++++%7D%7D%2C%0D%0A++%22attributes%22+%3A+%7B%22Name%22+%3A+%22From%22%2C+%22RouteName%22+%3A+%22Route+A%22%7D%0D%0A%7D%2C%0D%0A%7B%0D%0A++%22geometry%22+%3A+%7B%22x%22+%3A+352842.612571882%2C+%22y%22+%3A+1236096.60001199%2C%22spatialReference%22+%3A+%7B%0D%0A++++++%22wkid%22+%3A+2247%0D%0A++++%7D%7D%2C%0D%0A++%22attributes%22+%3A+%7B%22Name%22+%3A+%22To%22%2C+%22RouteName%22+%3A+%22Route+A%22%7D%0D%0A%7D%0D%0A%5D%0D%0A%7D%0D%0A&amp;amp;barriers=&amp;amp;polylineBarriers=&amp;amp;polygonBarriers=&amp;amp;outSR=2247&amp;amp;ignoreInvalidLocations=true&amp;amp;accumulateAttributeNames=&amp;amp;impedanceAttributeName=DriveTime&amp;amp;restrictionAttributeNames=Oneway&amp;amp;attributeParameterValues=&amp;amp;restrictUTurns=esriNFSBAllowBacktrack&amp;amp;useHierarchy=false&amp;amp;returnDirections=true&amp;amp;returnRoutes=true&amp;amp;returnStops=false&amp;amp;returnBarriers=false&amp;amp;returnPolylineBarriers=false&amp;amp;returnPolygonBarriers=false&amp;amp;directionsLanguage=en&amp;amp;directionsStyleName=&amp;amp;outputLines=esriNAOutputLineTrueShapeWithMeasure&amp;amp;findBestSequence=false&amp;amp;preserveFirstStop=true&amp;amp;preserveLastStop=true&amp;amp;useTimeWindows=false&amp;amp;timeWindowsAreUTC=false&amp;amp;startTime=0&amp;amp;startTimeIsUTC=false&amp;amp;outputGeometryPrecision=&amp;amp;outputGeometryPrecisionUnits=esriMeters&amp;amp;directionsOutputType=esriDOTComplete&amp;amp;directionsTimeAttributeName=DriveTime&amp;amp;directionsLengthUnits=esriNAUMiles&amp;amp;returnZ=true&amp;amp;travelMode=&amp;amp;overrides=&amp;amp;f=html"&gt;https://comgistest.memphistn.gov/arcgis/rest/services/Routing/StreetsRouting/NAServer/Route/solve?stops=%7B+%22features%22++%3A+%5B%0D%0A%7B%0D%0A++%22geometry%22+%3A+%7B%22x%22+%3A+353066.935438531%2C+%22y%22+%3A+1235910.117936%2C%22spatialReference%22+%3A+%7B%0D%0A++++++%22wkid%22+%3A+2247%0D%0A++++%7D%7D%2C%0D%0A++%22attributes%22+%3A+%7B%22Name%22+%3A+%22From%22%2C+%22RouteName%22+%3A+%22Route+A%22%7D%0D%0A%7D%2C%0D%0A%7B%0D%0A++%22geometry%22+%3A+%7B%22x%22+%3A+352842.612571882%2C+%22y%22+%3A+1236096.60001199%2C%22spatialReference%22+%3A+%7B%0D%0A++++++%22wkid%22+%3A+2247%0D%0A++++%7D%7D%2C%0D%0A++%22attributes%22+%3A+%7B%22Name%22+%3A+%22To%22%2C+%22RouteName%22+%3A+%22Route+A%22%7D%0D%0A%7D%0D%0A%5D%0D%0A%7D%0D%0A&amp;amp;barriers=&amp;amp;polylineBarriers=&amp;amp;polygonBarriers=&amp;amp;outSR=2247&amp;amp;ignoreInvalidLocations=true&amp;amp;accumulateAttributeNames=&amp;amp;impedanceAttributeName=DriveTime&amp;amp;restrictionAttributeNames=Oneway&amp;amp;attributeParameterValues=&amp;amp;restrictUTurns=esriNFSBAllowBacktrack&amp;amp;useHierarchy=false&amp;amp;returnDirections=true&amp;amp;returnRoutes=true&amp;amp;returnStops=false&amp;amp;returnBarriers=false&amp;amp;returnPolylineBarriers=false&amp;amp;returnPolygonBarriers=false&amp;amp;directionsLanguage=en&amp;amp;directionsStyleName=&amp;amp;outputLines=esriNAOutputLineTrueShapeWithMeasure&amp;amp;findBestSequence=false&amp;amp;preserveFirstStop=true&amp;amp;preserveLastStop=true&amp;amp;useTimeWindows=false&amp;amp;timeWindowsAreUTC=false&amp;amp;startTime=0&amp;amp;startTimeIsUTC=false&amp;amp;outputGeometryPrecision=&amp;amp;outputGeometryPrecisionUnits=esriMeters&amp;amp;directionsOutputType=esriDOTComplete&amp;amp;directionsTimeAttributeName=DriveTime&amp;amp;directionsLengthUnits=esriNAUMiles&amp;amp;returnZ=true&amp;amp;travelMode=&amp;amp;overrides=&amp;amp;f=html&lt;/A&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Jan 2020 18:28:29 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2020-01-17T18:28:29Z</dc:date>
    <item>
      <title>Error in Solving Route</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/error-in-solving-route/m-p/587739#M7204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/4061"&gt;Michael Branscomb&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Hello,&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;I'm writing a mobile Xamarin Android app that uses a network analysis service (NAS) to find routes.&lt;BR /&gt;This is my work environment:&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Windows 7 Pro&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Visual Studio 2019 Professional&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;ArcGIS Runtime SDK 100.7&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;ArcGIS Server 10.7.1&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="border: 0px;"&gt;The NAS uri is&lt;SPAN&gt; &lt;A class="link-titled" href="https://comgistest.memphistn.gov/arcgis/rest/services/Routing/StreetsRouting/NAServer/Route" title="https://comgistest.memphistn.gov/arcgis/rest/services/Routing/StreetsRouting/NAServer/Route"&gt;Route (NAServer)&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;&lt;SPAN&gt;This Routing Service has no GTFS, just the street routing information.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="border: 0px;"&gt;&lt;/P&gt;&lt;P style="border: 0px;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;To create a route task and solve it, I use this code:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="border: 0px;"&gt;&lt;/P&gt;&lt;P&gt;RouteTask solveRouteTask = await RouteTask.CreateAsync(_routeServiceUri);&lt;/P&gt;&lt;P&gt;// Get the default parameters from the route task (defined with the service)&lt;BR /&gt; RouteParameters routeParams = await solveRouteTask.CreateDefaultParametersAsync();&lt;/P&gt;&lt;P&gt;// Make some changes to the default parameters&lt;BR /&gt; routeParams.ReturnStops = true;&lt;BR /&gt; routeParams.ReturnDirections = true;&lt;/P&gt;&lt;P&gt;// Set the list of route stops that were defined at startup&lt;BR /&gt; routeParams.SetStops(_routeStops);&lt;/P&gt;&lt;P&gt;// Solve for the best route between the stops and store the result&lt;BR /&gt; RouteResult solveRouteResult = await solveRouteTask.SolveRouteAsync(routeParams);&lt;/P&gt;&lt;P&gt;// Get the first (should be only) route from the result&lt;BR /&gt; Route firstRoute = solveRouteResult.Routes.First();&lt;/P&gt;&lt;P&gt;// Get the route geometry (polyline)&lt;BR /&gt; Polyline routePolyline = firstRoute.RouteGeometry;&lt;/P&gt;&lt;P&gt;// Create a thick purple line symbol for the route&lt;BR /&gt; SimpleLineSymbol routeSymbol = new SimpleLineSymbol(SimpleLineSymbolStyle.Solid, Colors.Purple, 8.0);&lt;/P&gt;&lt;P&gt;// Create a new graphic for the route geometry and add it to the graphics overlay&lt;BR /&gt; Graphic routeGraphic = new Graphic(routePolyline, routeSymbol);&lt;BR /&gt; _routeGraphicsOverlay.Graphics.Add(routeGraphic);&lt;/P&gt;&lt;P&gt;// Get a list of directions for the route and display it in the list box&lt;BR /&gt; DirectionsListBox.ItemsSource = firstRoute.DirectionManeuvers.Select(direction =&amp;gt; direction.DirectionText);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Route Stop Parameters:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;MapPoint fromPoint = (MapPoint)GeometryEngine.Project(currentLoc, new SpatialReference(2247));&lt;BR /&gt; MapPoint toPoint = (MapPoint)GeometryEngine.Project(tappedpoint, new SpatialReference(2247));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From and To Points are in Stateplane.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting the below exception at :&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN&gt;await solveRouteTask.SolveRouteAsync(routeParams);&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Exception:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{Esri.ArcGISRuntime.Http.ArcGISWebException: Unable to complete operation.&lt;BR /&gt; at Esri.ArcGISRuntime.Http.ArcGISHttpClientHandler+ArcGISClientHandlerInternal.SendAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x00a1a] in &amp;lt;fe6820dba09a468695234a822154bd83&amp;gt;:0 &lt;BR /&gt; at System.Net.Http.HttpClient.FinishSendAsyncUnbuffered (System.Threading.Tasks.Task`1[TResult] sendTask, System.Net.Http.HttpRequestMessage request, System.Threading.CancellationTokenSource cts, System.Boolean disposeCts) [0x000b3] in /Users/builder/jenkins/workspace/archive-mono/2019-08/android/release/external/corefx/src/System.Net.Http/src/System/Net/Http/HttpClient.cs:531 &lt;BR /&gt; at Esri.ArcGISRuntime.ArcGISException.HandleCoreError (RuntimeCoreNet.GeneratedWrappers.CoreError error, System.Boolean throwException) [0x00013] in &amp;lt;fe6820dba09a468695234a822154bd83&amp;gt;:0 &lt;BR /&gt; at RuntimeCoreNet.GeneratedWrappers.Interop.CheckError (System.IntPtr errorHandle, System.Boolean throwOnFailure, System.Runtime.InteropServices.GCHandle wrapperHandle) [0x0002e] in &amp;lt;fe6820dba09a468695234a822154bd83&amp;gt;:0 &lt;BR /&gt; at RuntimeCoreNet.GeneratedWrappers.CoreTask.Get () [0x00019] in &amp;lt;fe6820dba09a468695234a822154bd83&amp;gt;:0 &lt;BR /&gt; at Esri.ArcGISRuntime.Internal.CoreTaskExtensions+TaskCompletedCallbackHandler`1&lt;T&gt;.OnCompleted (System.Object sender, System.EventArgs e) [0x00034] in &amp;lt;fe6820dba09a468695234a822154bd83&amp;gt;:0 &lt;BR /&gt;--- End of stack trace from previous location where exception was thrown ---&lt;/T&gt;&lt;/P&gt;&lt;P&gt;at Esri.ArcGISRuntime.Internal.CoreTaskExtensions+TaskCompletedCallbackHandler`1&lt;T&gt;.CreateInternal (RuntimeCoreNet.GeneratedWrappers.CoreTask task, System.Threading.CancellationToken cancellationToken) [0x0007f] in &amp;lt;fe6820dba09a468695234a822154bd83&amp;gt;:0&lt;/T&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/space/2089"&gt;Network Analyst&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jan 2020 15:18:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/error-in-solving-route/m-p/587739#M7204</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-01-17T15:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Solving Route</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/error-in-solving-route/m-p/587740#M7205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error message `Unable to complete operation.` is the error received from from the service.&amp;nbsp;It usually indicates that there is a problem with the parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could try going to the REST endpoint for your server (e.g. &lt;A class="link-titled" href="http://sampleserver6.arcgisonline.com/arcgis/rest/services/NetworkAnalysis/SanDiego/NAServer" title="http://sampleserver6.arcgisonline.com/arcgis/rest/services/NetworkAnalysis/SanDiego/NAServer"&gt;NetworkAnalysis/SanDiego (NAServer)&lt;/A&gt;) and&amp;nbsp;entering the same values to determine if it still fails. Then iterate on the values you're entering to determine what the issue&amp;nbsp;might be. For example, what is the spatial reference of the stops and versus the spatial reference of the network?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since you mention Windows 7, note that our current 100.7 release is the last release that is certified for Windows 7. At the next release (100.8) the minimum requirement will be Windows 10 version 1803 (April 2018).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jan 2020 17:28:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/error-in-solving-route/m-p/587740#M7205</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2020-01-17T17:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Solving Route</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/error-in-solving-route/m-p/587741#M7206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the same parameters on the rest endpoint and it's giving me the result, below is the URL to the result with parameters. My NAS, Output SR and the supplied stop features are in the same Spatial reference (state plane wkid 2247). But when using in Xamarin Forms ArcGIS Runtime, it is throwing exception.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;A href="https://comgistest.memphistn.gov/arcgis/rest/services/Routing/StreetsRouting/NAServer/Route/solve?stops=%7B+%22features%22++%3A+%5B%0D%0A%7B%0D%0A++%22geometry%22+%3A+%7B%22x%22+%3A+353066.935438531%2C+%22y%22+%3A+1235910.117936%2C%22spatialReference%22+%3A+%7B%0D%0A++++++%22wkid%22+%3A+2247%0D%0A++++%7D%7D%2C%0D%0A++%22attributes%22+%3A+%7B%22Name%22+%3A+%22From%22%2C+%22RouteName%22+%3A+%22Route+A%22%7D%0D%0A%7D%2C%0D%0A%7B%0D%0A++%22geometry%22+%3A+%7B%22x%22+%3A+352842.612571882%2C+%22y%22+%3A+1236096.60001199%2C%22spatialReference%22+%3A+%7B%0D%0A++++++%22wkid%22+%3A+2247%0D%0A++++%7D%7D%2C%0D%0A++%22attributes%22+%3A+%7B%22Name%22+%3A+%22To%22%2C+%22RouteName%22+%3A+%22Route+A%22%7D%0D%0A%7D%0D%0A%5D%0D%0A%7D%0D%0A&amp;amp;barriers=&amp;amp;polylineBarriers=&amp;amp;polygonBarriers=&amp;amp;outSR=2247&amp;amp;ignoreInvalidLocations=true&amp;amp;accumulateAttributeNames=&amp;amp;impedanceAttributeName=DriveTime&amp;amp;restrictionAttributeNames=Oneway&amp;amp;attributeParameterValues=&amp;amp;restrictUTurns=esriNFSBAllowBacktrack&amp;amp;useHierarchy=false&amp;amp;returnDirections=true&amp;amp;returnRoutes=true&amp;amp;returnStops=false&amp;amp;returnBarriers=false&amp;amp;returnPolylineBarriers=false&amp;amp;returnPolygonBarriers=false&amp;amp;directionsLanguage=en&amp;amp;directionsStyleName=&amp;amp;outputLines=esriNAOutputLineTrueShapeWithMeasure&amp;amp;findBestSequence=false&amp;amp;preserveFirstStop=true&amp;amp;preserveLastStop=true&amp;amp;useTimeWindows=false&amp;amp;timeWindowsAreUTC=false&amp;amp;startTime=0&amp;amp;startTimeIsUTC=false&amp;amp;outputGeometryPrecision=&amp;amp;outputGeometryPrecisionUnits=esriMeters&amp;amp;directionsOutputType=esriDOTComplete&amp;amp;directionsTimeAttributeName=DriveTime&amp;amp;directionsLengthUnits=esriNAUMiles&amp;amp;returnZ=true&amp;amp;travelMode=&amp;amp;overrides=&amp;amp;f=html"&gt;https://comgistest.memphistn.gov/arcgis/rest/services/Routing/StreetsRouting/NAServer/Route/solve?stops=%7B+%22features%22++%3A+%5B%0D%0A%7B%0D%0A++%22geometry%22+%3A+%7B%22x%22+%3A+353066.935438531%2C+%22y%22+%3A+1235910.117936%2C%22spatialReference%22+%3A+%7B%0D%0A++++++%22wkid%22+%3A+2247%0D%0A++++%7D%7D%2C%0D%0A++%22attributes%22+%3A+%7B%22Name%22+%3A+%22From%22%2C+%22RouteName%22+%3A+%22Route+A%22%7D%0D%0A%7D%2C%0D%0A%7B%0D%0A++%22geometry%22+%3A+%7B%22x%22+%3A+352842.612571882%2C+%22y%22+%3A+1236096.60001199%2C%22spatialReference%22+%3A+%7B%0D%0A++++++%22wkid%22+%3A+2247%0D%0A++++%7D%7D%2C%0D%0A++%22attributes%22+%3A+%7B%22Name%22+%3A+%22To%22%2C+%22RouteName%22+%3A+%22Route+A%22%7D%0D%0A%7D%0D%0A%5D%0D%0A%7D%0D%0A&amp;amp;barriers=&amp;amp;polylineBarriers=&amp;amp;polygonBarriers=&amp;amp;outSR=2247&amp;amp;ignoreInvalidLocations=true&amp;amp;accumulateAttributeNames=&amp;amp;impedanceAttributeName=DriveTime&amp;amp;restrictionAttributeNames=Oneway&amp;amp;attributeParameterValues=&amp;amp;restrictUTurns=esriNFSBAllowBacktrack&amp;amp;useHierarchy=false&amp;amp;returnDirections=true&amp;amp;returnRoutes=true&amp;amp;returnStops=false&amp;amp;returnBarriers=false&amp;amp;returnPolylineBarriers=false&amp;amp;returnPolygonBarriers=false&amp;amp;directionsLanguage=en&amp;amp;directionsStyleName=&amp;amp;outputLines=esriNAOutputLineTrueShapeWithMeasure&amp;amp;findBestSequence=false&amp;amp;preserveFirstStop=true&amp;amp;preserveLastStop=true&amp;amp;useTimeWindows=false&amp;amp;timeWindowsAreUTC=false&amp;amp;startTime=0&amp;amp;startTimeIsUTC=false&amp;amp;outputGeometryPrecision=&amp;amp;outputGeometryPrecisionUnits=esriMeters&amp;amp;directionsOutputType=esriDOTComplete&amp;amp;directionsTimeAttributeName=DriveTime&amp;amp;directionsLengthUnits=esriNAUMiles&amp;amp;returnZ=true&amp;amp;travelMode=&amp;amp;overrides=&amp;amp;f=html&lt;/A&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jan 2020 18:28:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/error-in-solving-route/m-p/587741#M7206</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-01-17T18:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Solving Route</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/error-in-solving-route/m-p/587742#M7207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/4061" target="_blank"&gt;Michael Branscomb&lt;/A&gt;‌&amp;nbsp;&lt;/P&gt;&lt;P&gt;Fixed the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Issue was that when using Xamarin Forms and real android and iOS devices instead of simulators, will return Z value when getting current location and one of my stops does not have a Z value.&lt;/P&gt;&lt;P&gt;To fix this I had to parse XY to a mappoint and then project it to state plane, so that they can be used as stops.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;MapPoint tappedpoint &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; e&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Location&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; MapPoint currentLoc &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;MapPoint&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;MyMapView&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;LocationDisplay&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Location&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Position&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;X&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; MyMapView&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;LocationDisplay&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Location&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Position&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Y&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;SpatialReference&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;4326&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;
MapPoint fromPoint &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;MapPoint&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;GeometryEngine&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;Project&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;currentLoc&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;SpatialReference&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;2247&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;
MapPoint toPoint &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;MapPoint&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;GeometryEngine&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;Project&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;tappedpoint&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;SpatialReference&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;2247&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;‍‍‍‍‍‍‍‍‍&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;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 01:15:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/error-in-solving-route/m-p/587742#M7207</guid>
      <dc:creator>AbhinavReddy1</dc:creator>
      <dc:date>2021-12-12T01:15:12Z</dc:date>
    </item>
  </channel>
</rss>

