<?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: What are the units of the M value from MapPoint? in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/what-are-the-units-of-the-m-value-from-mappoint/m-p/583422#M7150</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;M is a relative measure of length and can represent any unit of measure.&amp;nbsp; It could be length in feet, or it could be the time it takes a turtle to walk from one point to the next.&amp;nbsp; It is&amp;nbsp;what the creator of the data meant it to mean.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Oct 2019 21:30:54 GMT</pubDate>
    <dc:creator>JoeHershman</dc:creator>
    <dc:date>2019-10-16T21:30:54Z</dc:date>
    <item>
      <title>What are the units of the M value from MapPoint?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/what-are-the-units-of-the-m-value-from-mappoint/m-p/583421#M7149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using Esri libraries in a Xamarin Android (C#) project. I'm pulling a list of MapPoints from a PolyLine and examining the M value. As the number is increasing while I traverse the list, I assume it is a cumulative total distance measure of some sort from the origin point. No matter what kind of tweaking and torking I do though, I can't make this value look like the total distance, or even get to the same order of magnitude. I've tried degrees -&amp;gt; km, and various other attempts at conversion. (I'm in WGS84 spatial reference).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2019 19:30:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/what-are-the-units-of-the-m-value-from-mappoint/m-p/583421#M7149</guid>
      <dc:creator>ITS_JohnColaneri</dc:creator>
      <dc:date>2019-10-16T19:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: What are the units of the M value from MapPoint?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/what-are-the-units-of-the-m-value-from-mappoint/m-p/583422#M7150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;M is a relative measure of length and can represent any unit of measure.&amp;nbsp; It could be length in feet, or it could be the time it takes a turtle to walk from one point to the next.&amp;nbsp; It is&amp;nbsp;what the creator of the data meant it to mean.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2019 21:30:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/what-are-the-units-of-the-m-value-from-mappoint/m-p/583422#M7150</guid>
      <dc:creator>JoeHershman</dc:creator>
      <dc:date>2019-10-16T21:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: What are the units of the M value from MapPoint?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/what-are-the-units-of-the-m-value-from-mappoint/m-p/583423#M7151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Interesting. This is consistent with something I saw elsewhere as I was researching the problem. So the question becomes: If I perform a route solve, and look at the&amp;nbsp;&lt;SPAN&gt;DirectionManeuvers, I got these numbers from Esri. How do I then covert the "arbitrary" units to miles, or meters? Will they be consistent sized units across different routes or executions of the app?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;foreach(var i in firstRoute.DirectionManeuvers)&lt;BR /&gt; {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;Console.WriteLine("\n\n&amp;gt;&amp;gt; Spacial Reference &amp;gt;&amp;gt;" + i.Geometry.SpatialReference + "\n\n");&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;Console.WriteLine(i.Geometry.ToJson());&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;if(i.Geometry.GeometryType == GeometryType.Polyline) { &lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;foreach(var j in ((Polyline)i.Geometry).Parts)&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;foreach(var k in j.Points)&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Console.WriteLine(k.M);&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;BR /&gt; }&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2019 21:43:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/what-are-the-units-of-the-m-value-from-mappoint/m-p/583423#M7151</guid>
      <dc:creator>ITS_JohnColaneri</dc:creator>
      <dc:date>2019-10-16T21:43:06Z</dc:date>
    </item>
    <item>
      <title>Re: What are the units of the M value from MapPoint?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/what-are-the-units-of-the-m-value-from-mappoint/m-p/583424#M7152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If it's from routing, it depends on how the routing was configured. See the outputLines section here for a few suggestions of what it might be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-bare" href="https://developers.arcgis.com/rest/network/api-reference/route-synchronous-service.htm#ESRI_SECTION3_2EC32173379B498E9DF7D039DF9BE4A2" title="https://developers.arcgis.com/rest/network/api-reference/route-synchronous-service.htm#ESRI_SECTION3_2EC32173379B498E9DF7D039DF9BE4A2"&gt;https://developers.arcgis.com/rest/network/api-reference/route-synchronous-service.htm#ESRI_SECTION3_2EC32173379B498E9DF7D039DF9BE4A2&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2019 21:48:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/what-are-the-units-of-the-m-value-from-mappoint/m-p/583424#M7152</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2019-10-16T21:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: What are the units of the M value from MapPoint?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/what-are-the-units-of-the-m-value-from-mappoint/m-p/583425#M7153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't do much routing, but my understanding is the M corresponds to a weight of that route.&amp;nbsp; So a two lane hwy would have a higher weight than an interstate, and that is used to compute the best route.&amp;nbsp; Shortest not always being the best&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2019 21:51:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/what-are-the-units-of-the-m-value-from-mappoint/m-p/583425#M7153</guid>
      <dc:creator>JoeHershman</dc:creator>
      <dc:date>2019-10-16T21:51:40Z</dc:date>
    </item>
    <item>
      <title>Re: What are the units of the M value from MapPoint?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/what-are-the-units-of-the-m-value-from-mappoint/m-p/583426#M7154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, Thanks. It looks like, from the link you sent, you can set it to be different things. Let me chew on this for a while...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2019 22:04:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/what-are-the-units-of-the-m-value-from-mappoint/m-p/583426#M7154</guid>
      <dc:creator>ITS_JohnColaneri</dc:creator>
      <dc:date>2019-10-16T22:04:45Z</dc:date>
    </item>
    <item>
      <title>Re: What are the units of the M value from MapPoint?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/what-are-the-units-of-the-m-value-from-mappoint/m-p/583427#M7155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, unfortunately, as is the case with many of these APIs, there isn't really a 1 to 1 correspondence between the settings in the rest article listed above, and the C# Xamarin Android API. Indeed, there doesn't seem to be a consistent correlation between the&amp;nbsp;DirectionManeuver.Length, and the sum of it's parts' M values. Will call Joe the winner on this one. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2019 23:08:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/what-are-the-units-of-the-m-value-from-mappoint/m-p/583427#M7155</guid>
      <dc:creator>ITS_JohnColaneri</dc:creator>
      <dc:date>2019-10-16T23:08:52Z</dc:date>
    </item>
    <item>
      <title>Re: What are the units of the M value from MapPoint?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/what-are-the-units-of-the-m-value-from-mappoint/m-p/583428#M7156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joe is correct: the M values are in the units of the impedance. For example, using Streetmap Premium California and using 2 stops at -13048589, 4036266 &amp;amp; -13049065, 4036270 with the default travel mode of "Driving Time" the impedance is in Minutes. The output route geometry polyline (ToJson) provides:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;`[-13048589.117193095, 4036266.1880055116, 0]` =&amp;gt; Start therefore 0 minutes &lt;BR /&gt;`[-13048820.616989916, 4036267.50599994, 0.32905645174046566]` =&amp;gt; 0.33 min or approx 19 sec&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="ArcGIS Network Dataset Travel Mode dialog" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/462147_TravelMode.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Oct 2019 20:44:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/what-are-the-units-of-the-m-value-from-mappoint/m-p/583428#M7156</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2019-10-17T20:44:45Z</dc:date>
    </item>
    <item>
      <title>Re: What are the units of the M value from MapPoint?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/what-are-the-units-of-the-m-value-from-mappoint/m-p/583429#M7157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, Thanks for the details.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Oct 2019 20:50:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/what-are-the-units-of-the-m-value-from-mappoint/m-p/583429#M7157</guid>
      <dc:creator>ITS_JohnColaneri</dc:creator>
      <dc:date>2019-10-17T20:50:58Z</dc:date>
    </item>
  </channel>
</rss>

