<?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: How to find distance between to points (long,lat) in arcGis Javascript 3.16? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-find-distance-between-to-points-long-lat-in/m-p/664012#M61973</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0in; font-family: arial; font-size: 10.5pt; color: #3d3d3d;"&gt;&lt;SPAN style="background: white;"&gt;Hi Fancy - &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; background: white;"&gt;Thanks for asking your questions and welcome to the GeoNet community! I wanted to let you know that we're moving your question to the &lt;A href="https://community.esri.com/space/2128"&gt;ArcGIS API for JavaScript&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; background: white;"&gt;space so our Esri and user subject matter experts can further help answer this and future questions. &amp;nbsp;So you're aware on how and where to post your questions, here's a few quick tips and reminders:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL style="margin-left: .375in; direction: ltr; unicode-bidi: embed; margin-top: 0in; margin-bottom: 0in;" type="disc"&gt;&lt;LI style="margin-top: 0; margin-bottom: 0; vertical-align: middle; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'Helvetica Neue'; font-size: 10.5pt; background: white;"&gt;First, use the GeoNet search (top right corner by your profile icon) to search and see if your question has already by asked/answered previously.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;UL style="margin-left: .375in; direction: ltr; unicode-bidi: embed; margin-top: 0in; margin-bottom: 0in;" type="disc"&gt;&lt;LI style="margin-top: 0; margin-bottom: 0; vertical-align: middle; color: black;"&gt;&lt;SPAN style="font-family: 'Helvetica Neue'; font-size: 11.0pt; color: black;"&gt;If not, than we suggest reviewing the&amp;nbsp;&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.esri.com/docs/DOC-1544-geonet-community-structure"&gt;&lt;SPAN style="font-family: 'Helvetica Neue'; font-size: 11.25pt; background: white;"&gt;GeoNet Community Structure&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="font-family: 'Helvetica Neue'; font-size: 11.0pt; color: black;"&gt;, to find the most relevant space to post your question.&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;UL style="margin-left: .375in; direction: ltr; unicode-bidi: embed; margin-top: 0in; margin-bottom: 0in;" type="disc"&gt;&lt;LI style="margin-top: 0; margin-bottom: 0; vertical-align: middle; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'Helvetica Neue'; font-size: 10.5pt; color: #3d3d3d; background: white;"&gt;The GeoNet&amp;nbsp;&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.esri.com/community/help-and-feedback?sr=search&amp;amp;searchId=61184e1f-ac27-4180-b62a-99a9c2c1fc87&amp;amp;searchIndex=0"&gt;&lt;SPAN style="font-family: 'Helvetica Neue'; font-size: 10.5pt; background: white;"&gt;GeoNet Help&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="font-family: 'Helvetica Neue'; font-size: 10.5pt; color: #3d3d3d; background: white;"&gt;&amp;nbsp;group is for questions and tips on how to use the GeoNet community platform not the Esri ArcGIS platform. Following steps 1 &amp;amp; 2 above will give you the best results for getting Esri product questions answered.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="margin-top: 0; margin-bottom: 0; vertical-align: middle; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'Helvetica Neue'; font-size: 10.5pt; color: #3d3d3d; background: white;"&gt;This GeoNet 101 "How to Ask Questions on GeoNet" post is also a helpful guide to asking questions:&amp;nbsp;&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.esri.com/community/help-and-feedback/blog/2016/08/15/community-news-and-tips-how-to-ask-questions-and-get-answers"&gt;&lt;SPAN style="font-family: 'Helvetica Neue'; font-size: 11.0pt;"&gt;https://community.esri.com/community/help-and-feedback/blog/2016/08/15/community-news-and-tips-how-to-ask-questions-and-get-answers&lt;/SPAN&gt;&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P style="margin: 0in; font-family: 'Helvetica Neue'; font-size: 10.5pt; color: #3d3d3d;"&gt;&lt;SPAN style="background: white;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-family: 'Helvetica Neue'; font-size: 10.5pt; color: #3d3d3d;"&gt;&lt;SPAN style="background: white;"&gt;Thanks again for contributing and I hope this helps and let us know if you have any questions.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Jun 2017 17:32:16 GMT</pubDate>
    <dc:creator>ChrisCatania</dc:creator>
    <dc:date>2017-06-14T17:32:16Z</dc:date>
    <item>
      <title>How to find distance between to points (long,lat) in arcGis Javascript 3.16?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-find-distance-between-to-points-long-lat-in/m-p/664008#M61969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to find radius of circle,i got x min and x max,&lt;/P&gt;&lt;P&gt;My logic is to find difference and divide that by two to get radius?&lt;/P&gt;&lt;P&gt;Can i know how to find distance between to coordinates?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2017 10:02:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-find-distance-between-to-points-long-lat-in/m-p/664008#M61969</guid>
      <dc:creator>FancyAugustin</dc:creator>
      <dc:date>2017-06-14T10:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to find distance between to points (long,lat) in arcGis Javascript 3.16?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-find-distance-between-to-points-long-lat-in/m-p/664009#M61970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi. This question should have been posted &lt;A _jive_internal="true" href="https://community.esri.com/community/developers/web-developers/arcgis-api-for-javascript"&gt;here&lt;/A&gt;&amp;nbsp;in Javascript api forum. &amp;nbsp;However, in order to find distance between two coordinates in Api 3.16, a function called as &lt;A href="https://developers.arcgis.com/javascript/3/jsapi/geometryservice-amd.html#distance"&gt;distance&lt;/A&gt;&amp;nbsp;could be used from Geometry Service.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2017 12:13:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-find-distance-between-to-points-long-lat-in/m-p/664009#M61970</guid>
      <dc:creator>MirHashmi</dc:creator>
      <dc:date>2017-06-14T12:13:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to find distance between to points (long,lat) in arcGis Javascript 3.16?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-find-distance-between-to-points-long-lat-in/m-p/664010#M61971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply,&lt;/P&gt;&lt;P&gt;I am new to arcgis api,Could you please tell me how can i get&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;Geometry Service.Is this any paid service? If not how it is used for finding distance?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2017 12:37:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-find-distance-between-to-points-long-lat-in/m-p/664010#M61971</guid>
      <dc:creator>FancyAugustin</dc:creator>
      <dc:date>2017-06-14T12:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to find distance between to points (long,lat) in arcGis Javascript 3.16?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-find-distance-between-to-points-long-lat-in/m-p/664011#M61972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a free Geometry Service, but in many cases now you do not need it since the &lt;A href="https://developers.arcgis.com/javascript/3/jsapi/esri.geometry.geometryengine-amd.html"&gt;3.x geometryEngine&lt;/A&gt;&amp;nbsp;and &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-geometryEngine.html"&gt;4.x geometryEngine&lt;/A&gt;&amp;nbsp;can do much of the work in the browser. It's quicker that way and doesn't require a network request.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you still need functionality of the GeometryService, you can find a reference to a&amp;nbsp;hosted GeometryService in the documentation for the GeometryService task (&lt;A href="https://developers.arcgis.com/javascript/3/jsapi/geometryservice-amd.html"&gt;3.x&lt;/A&gt;, &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-GeometryService.html"&gt;4.x&lt;/A&gt;). However, I recommend using the geometryEngine where possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S.&amp;nbsp;I'll see if we can get this thread moved to the JS API forum.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2017 13:04:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-find-distance-between-to-points-long-lat-in/m-p/664011#M61972</guid>
      <dc:creator>Nicholas-Furness</dc:creator>
      <dc:date>2017-06-14T13:04:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to find distance between to points (long,lat) in arcGis Javascript 3.16?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-find-distance-between-to-points-long-lat-in/m-p/664012#M61973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0in; font-family: arial; font-size: 10.5pt; color: #3d3d3d;"&gt;&lt;SPAN style="background: white;"&gt;Hi Fancy - &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; background: white;"&gt;Thanks for asking your questions and welcome to the GeoNet community! I wanted to let you know that we're moving your question to the &lt;A href="https://community.esri.com/space/2128"&gt;ArcGIS API for JavaScript&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; background: white;"&gt;space so our Esri and user subject matter experts can further help answer this and future questions. &amp;nbsp;So you're aware on how and where to post your questions, here's a few quick tips and reminders:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL style="margin-left: .375in; direction: ltr; unicode-bidi: embed; margin-top: 0in; margin-bottom: 0in;" type="disc"&gt;&lt;LI style="margin-top: 0; margin-bottom: 0; vertical-align: middle; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'Helvetica Neue'; font-size: 10.5pt; background: white;"&gt;First, use the GeoNet search (top right corner by your profile icon) to search and see if your question has already by asked/answered previously.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;UL style="margin-left: .375in; direction: ltr; unicode-bidi: embed; margin-top: 0in; margin-bottom: 0in;" type="disc"&gt;&lt;LI style="margin-top: 0; margin-bottom: 0; vertical-align: middle; color: black;"&gt;&lt;SPAN style="font-family: 'Helvetica Neue'; font-size: 11.0pt; color: black;"&gt;If not, than we suggest reviewing the&amp;nbsp;&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.esri.com/docs/DOC-1544-geonet-community-structure"&gt;&lt;SPAN style="font-family: 'Helvetica Neue'; font-size: 11.25pt; background: white;"&gt;GeoNet Community Structure&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="font-family: 'Helvetica Neue'; font-size: 11.0pt; color: black;"&gt;, to find the most relevant space to post your question.&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;UL style="margin-left: .375in; direction: ltr; unicode-bidi: embed; margin-top: 0in; margin-bottom: 0in;" type="disc"&gt;&lt;LI style="margin-top: 0; margin-bottom: 0; vertical-align: middle; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'Helvetica Neue'; font-size: 10.5pt; color: #3d3d3d; background: white;"&gt;The GeoNet&amp;nbsp;&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.esri.com/community/help-and-feedback?sr=search&amp;amp;searchId=61184e1f-ac27-4180-b62a-99a9c2c1fc87&amp;amp;searchIndex=0"&gt;&lt;SPAN style="font-family: 'Helvetica Neue'; font-size: 10.5pt; background: white;"&gt;GeoNet Help&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="font-family: 'Helvetica Neue'; font-size: 10.5pt; color: #3d3d3d; background: white;"&gt;&amp;nbsp;group is for questions and tips on how to use the GeoNet community platform not the Esri ArcGIS platform. Following steps 1 &amp;amp; 2 above will give you the best results for getting Esri product questions answered.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="margin-top: 0; margin-bottom: 0; vertical-align: middle; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'Helvetica Neue'; font-size: 10.5pt; color: #3d3d3d; background: white;"&gt;This GeoNet 101 "How to Ask Questions on GeoNet" post is also a helpful guide to asking questions:&amp;nbsp;&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.esri.com/community/help-and-feedback/blog/2016/08/15/community-news-and-tips-how-to-ask-questions-and-get-answers"&gt;&lt;SPAN style="font-family: 'Helvetica Neue'; font-size: 11.0pt;"&gt;https://community.esri.com/community/help-and-feedback/blog/2016/08/15/community-news-and-tips-how-to-ask-questions-and-get-answers&lt;/SPAN&gt;&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P style="margin: 0in; font-family: 'Helvetica Neue'; font-size: 10.5pt; color: #3d3d3d;"&gt;&lt;SPAN style="background: white;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-family: 'Helvetica Neue'; font-size: 10.5pt; color: #3d3d3d;"&gt;&lt;SPAN style="background: white;"&gt;Thanks again for contributing and I hope this helps and let us know if you have any questions.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2017 17:32:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-find-distance-between-to-points-long-lat-in/m-p/664012#M61973</guid>
      <dc:creator>ChrisCatania</dc:creator>
      <dc:date>2017-06-14T17:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to find distance between to points (long,lat) in arcGis Javascript 3.16?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-find-distance-between-to-points-long-lat-in/m-p/664013#M61974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could find the difference between xmin and xmax and divide by 2. &amp;nbsp;If you convert xmin and xmax to web mercator, this will the radius in meters. &amp;nbsp;This will be the planar distance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to find the geodesic distance, you could create a polyline with two points and use geometryEngine.length(&amp;lt;polyline geometry&amp;gt;).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2017 17:37:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-find-distance-between-to-points-long-lat-in/m-p/664013#M61974</guid>
      <dc:creator>ThomasSolow</dc:creator>
      <dc:date>2017-06-14T17:37:40Z</dc:date>
    </item>
  </channel>
</rss>

