<?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: Calculate distance between two AGSPoints in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/calculate-distance-between-two-agspoints/m-p/540805#M4645</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Thank you &lt;A href="https://community.esri.com/people/SBaskaran-esristaff"&gt;SBaskaran-esristaff&lt;/A&gt;‌. Finally used as below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;return&lt;/SPAN&gt;&lt;SPAN class=""&gt; [&lt;/SPAN&gt;&lt;SPAN class=""&gt;AGSGeometryEngine&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;geodeticDistanceBetweenPoint1&lt;SPAN class=""&gt;:point1 &lt;/SPAN&gt;point2&lt;SPAN class=""&gt;:point2 &lt;/SPAN&gt;distanceUnit&lt;SPAN class=""&gt;:&lt;/SPAN&gt;AGSLinearUnit&lt;SPAN class=""&gt;.&lt;/SPAN&gt;meters&lt;SPAN class=""&gt; &lt;/SPAN&gt;azimuthUnit&lt;SPAN class=""&gt;:&lt;/SPAN&gt;AGSAngularUnit&lt;SPAN class=""&gt;.&lt;/SPAN&gt;radians&lt;SPAN class=""&gt; &lt;/SPAN&gt;curveType&lt;SPAN class=""&gt;:&lt;/SPAN&gt;AGSGeodeticCurveTypeGeodesic&lt;SPAN class=""&gt;].&lt;/SPAN&gt;&lt;SPAN class=""&gt;distance&lt;/SPAN&gt;&lt;SPAN class=""&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Apr 2018 06:40:24 GMT</pubDate>
    <dc:creator>MuruganandhamKuppan1</dc:creator>
    <dc:date>2018-04-24T06:40:24Z</dc:date>
    <item>
      <title>Calculate distance between two AGSPoints</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/calculate-distance-between-two-agspoints/m-p/540803#M4643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can we calculate the distance between two AGSPoints. Previously in runtime SDK 10.x the method `&lt;/P&gt;&lt;P class=""&gt;distanceToPoint` is used,&lt;/P&gt;&lt;P class=""&gt;&lt;/P&gt;&lt;P class=""&gt;as &lt;SPAN style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="background-color: #ffffff; border: 0px;"&gt; float len = [agsPoint1 distanceToPoint: &lt;SPAN&gt;agsPoint&lt;/SPAN&gt;2];&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P class=""&gt;&lt;BR style="background-color: #ffffff;" /&gt;but i didn't find any related methods in runtime SDK 100.x.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2018 12:33:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/calculate-distance-between-two-agspoints/m-p/540803#M4643</guid>
      <dc:creator>MuruganandhamKuppan1</dc:creator>
      <dc:date>2018-04-23T12:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate distance between two AGSPoints</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/calculate-distance-between-two-agspoints/m-p/540804#M4644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use `AGSGeometryEngine`'s&amp;nbsp;&lt;/P&gt;&lt;H2 class="" style="color: #000000; background-color: #ece6df; border-top-width: 1px; border-left-width: 1px; border-right-width: 1px; border-top-style: solid; border-left-style: solid; border-right-style: solid; border-top-color: #c8b49f; border-left-color: #c8b49f; font-weight: 300; margin-bottom: -1px; margin-right: 15px; padding: 8px;"&gt;distanceBetweenGeometry1:geometry2:()&lt;/H2&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for simple planar distance between two points OR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H2 class="" style="color: #000000; background-color: #ece6df; border-top-width: 1px; border-left-width: 1px; border-right-width: 1px; border-top-style: solid; border-left-style: solid; border-right-style: solid; border-top-color: #c8b49f; border-left-color: #c8b49f; font-weight: 300; margin-bottom: -1px; margin-right: 15px; padding: 8px;"&gt;geodeticDistanceBetweenPoint1:point2:distanceUnit:azimuthUnit:curveType:()&lt;/H2&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to get the geodetic distance.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;Suganya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2018 14:16:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/calculate-distance-between-two-agspoints/m-p/540804#M4644</guid>
      <dc:creator>SuganyaBaskaran1</dc:creator>
      <dc:date>2018-04-23T14:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate distance between two AGSPoints</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/calculate-distance-between-two-agspoints/m-p/540805#M4645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Thank you &lt;A href="https://community.esri.com/people/SBaskaran-esristaff"&gt;SBaskaran-esristaff&lt;/A&gt;‌. Finally used as below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;return&lt;/SPAN&gt;&lt;SPAN class=""&gt; [&lt;/SPAN&gt;&lt;SPAN class=""&gt;AGSGeometryEngine&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;geodeticDistanceBetweenPoint1&lt;SPAN class=""&gt;:point1 &lt;/SPAN&gt;point2&lt;SPAN class=""&gt;:point2 &lt;/SPAN&gt;distanceUnit&lt;SPAN class=""&gt;:&lt;/SPAN&gt;AGSLinearUnit&lt;SPAN class=""&gt;.&lt;/SPAN&gt;meters&lt;SPAN class=""&gt; &lt;/SPAN&gt;azimuthUnit&lt;SPAN class=""&gt;:&lt;/SPAN&gt;AGSAngularUnit&lt;SPAN class=""&gt;.&lt;/SPAN&gt;radians&lt;SPAN class=""&gt; &lt;/SPAN&gt;curveType&lt;SPAN class=""&gt;:&lt;/SPAN&gt;AGSGeodeticCurveTypeGeodesic&lt;SPAN class=""&gt;].&lt;/SPAN&gt;&lt;SPAN class=""&gt;distance&lt;/SPAN&gt;&lt;SPAN class=""&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2018 06:40:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/calculate-distance-between-two-agspoints/m-p/540805#M4645</guid>
      <dc:creator>MuruganandhamKuppan1</dc:creator>
      <dc:date>2018-04-24T06:40:24Z</dc:date>
    </item>
  </channel>
</rss>

