<?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 Parameter: OutputLine in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/routing-parameter-outputline/m-p/290696#M3408</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lina,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for letting us know, try to go ahead and use the latest version &lt;A href="https://developers.arcgis.com/net/"&gt;10.2.5&lt;/A&gt; all OutputLine parameters works as expected, except Default value that is an issue we aware of.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Update: I apologize for the misunderstanding I thought you was talking about Online Routing, I tried LocalRouting as you mentioned and I am seeing the same behavior you described even on 10.2.5. We will work on fixing this issues. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Asser&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Apr 2015 20:19:44 GMT</pubDate>
    <dc:creator>AsserSwelam1</dc:creator>
    <dc:date>2015-04-23T20:19:44Z</dc:date>
    <item>
      <title>Routing Parameter: OutputLine</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/routing-parameter-outputline/m-p/290695#M3407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using ArcGIS Runtime for .NET 10.2.4, and doing LocalRouteTask with a .geodatabase file.&lt;/P&gt;&lt;P&gt;Geodatabase file, cost attribute is Length (Meters)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was testing the behaviour for RouteParameters.OutputLine which seems a little different from expectation based on the documentation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;Basic Config:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;RouteParameters routeParam = await routeTask.GetDefaultParametersAsync();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;routeParam.OutSpatialReference = MapView.SpatialReference;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;routeParam.ReturnRoute = true;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;routeParam.ReturnDirections = true;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;routeParam.DirectionLengthUnits = LinearUnits.Kilometers;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;routeParam.DirectionLanguage = new CultureInfo("en-US");&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;routeParam.SetStops(stops);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;routeParam.ReturnStops = true;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;routeParam.ImpedanceAttributeName = "Length";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;Varying Setting:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;routeParam.OutputLine = Default&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;Observation: RouteResult is always null.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;routeParam.OutputLine = Straight&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;Observation: RouteResult returns a route, but returns empty Geometry (a Polyline with 0 parts)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;routeParam.OutputLine = TrueShape&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;Observation:&amp;nbsp; RouteResult returns a route, with a Polyline geometry. Polyline geometry contains M values&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;routeParam.OutputLine = TrueShapeWithMeasure&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;Observation: RouteResult returns a route, with a Polyline geometry. Polyline geometry contains M values.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;My confusion here is:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;- Does OutputLine.Default not solve for routing?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;- OutputLine.Straight was suppose to return straight lines between stops, but the observation shows an empty geometry&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;- OutputLine.TrueShape and TrueShapeWithMeasure shows the same result (both has M values), should that be the case?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;Further testing:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;routeParam.OutputLine = TrueShapeWithMeasure&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;routeParameter.OutputGeometryPrecision = 0 / 10 / 1000;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;routeParameter.OutputGeometryPrecisionUnit = LinearUnits.Meters&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;The above configuration returns the same geometry result for different OutGeometryPrecision values. I was expecting higher precision values to lower the number of points/line segments in the returned Geometry. Should that be the case?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2015 06:50:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/routing-parameter-outputline/m-p/290695#M3407</guid>
      <dc:creator>LinaYap1</dc:creator>
      <dc:date>2015-04-01T06:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: Routing Parameter: OutputLine</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/routing-parameter-outputline/m-p/290696#M3408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lina,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for letting us know, try to go ahead and use the latest version &lt;A href="https://developers.arcgis.com/net/"&gt;10.2.5&lt;/A&gt; all OutputLine parameters works as expected, except Default value that is an issue we aware of.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Update: I apologize for the misunderstanding I thought you was talking about Online Routing, I tried LocalRouting as you mentioned and I am seeing the same behavior you described even on 10.2.5. We will work on fixing this issues. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Asser&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 20:19:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/routing-parameter-outputline/m-p/290696#M3408</guid>
      <dc:creator>AsserSwelam1</dc:creator>
      <dc:date>2015-04-23T20:19:44Z</dc:date>
    </item>
  </channel>
</rss>

