<?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 geometry service distance calculation between two geometries in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometry-service-distance-calculation-between-two/m-p/1097678#M74649</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am getting below error while running the geometry service to calculate distance btw two geometries.&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;&lt;SPAN&gt;Unable to complete operation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The operation was attempted on an empty geometry.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://sampleserver6.arcgisonline.com/arcgis/rest/services/Utilities/Geometry/GeometryServer/distance" target="_blank"&gt;http://sampleserver6.arcgisonline.com/arcgis/rest/services/Utilities/Geometry/GeometryServer/distance&lt;/A&gt;&lt;BR /&gt;?sr=4326&lt;BR /&gt;&amp;amp;geometry1=-106.61%2C+35.1107&lt;BR /&gt;&amp;amp;geometry2=-108.61%2C+35.1107&lt;BR /&gt;&amp;amp;geodesic=true&lt;BR /&gt;&amp;amp;distanceUnit=MILE&lt;BR /&gt;&amp;amp;f=html&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Chitra&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 13 Sep 2021 15:54:52 GMT</pubDate>
    <dc:creator>ChitraKrishnan</dc:creator>
    <dc:date>2021-09-13T15:54:52Z</dc:date>
    <item>
      <title>geometry service distance calculation between two geometries</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometry-service-distance-calculation-between-two/m-p/1097678#M74649</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am getting below error while running the geometry service to calculate distance btw two geometries.&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;&lt;SPAN&gt;Unable to complete operation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The operation was attempted on an empty geometry.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://sampleserver6.arcgisonline.com/arcgis/rest/services/Utilities/Geometry/GeometryServer/distance" target="_blank"&gt;http://sampleserver6.arcgisonline.com/arcgis/rest/services/Utilities/Geometry/GeometryServer/distance&lt;/A&gt;&lt;BR /&gt;?sr=4326&lt;BR /&gt;&amp;amp;geometry1=-106.61%2C+35.1107&lt;BR /&gt;&amp;amp;geometry2=-108.61%2C+35.1107&lt;BR /&gt;&amp;amp;geodesic=true&lt;BR /&gt;&amp;amp;distanceUnit=MILE&lt;BR /&gt;&amp;amp;f=html&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Chitra&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2021 15:54:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometry-service-distance-calculation-between-two/m-p/1097678#M74649</guid>
      <dc:creator>ChitraKrishnan</dc:creator>
      <dc:date>2021-09-13T15:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: geometry service distance calculation between two geometries</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometry-service-distance-calculation-between-two/m-p/1097679#M74650</link>
      <description>&lt;P&gt;Here is the documentation for the distance operation.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/rest/services-reference/enterprise/distance.htm" target="_blank"&gt;https://developers.arcgis.com/rest/services-reference/enterprise/distance.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You need to pass the geometries as shown.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
  "geometryType" : "esriGeometryPoint",
  "geometry" : 
  {
    "x" : -95.23, "y" : 31.71;
  }
}&lt;/LI-CODE&gt;&lt;P&gt;There's an example URL at the bottom of the page for reference.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2021 15:59:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometry-service-distance-calculation-between-two/m-p/1097679#M74650</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2021-09-13T15:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: geometry service distance calculation between two geometries</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometry-service-distance-calculation-between-two/m-p/1097714#M74655</link>
      <description>&lt;P&gt;that works. Thank you very much for the link to the documentation.&lt;/P&gt;&lt;P&gt;-Chitra&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2021 17:28:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometry-service-distance-calculation-between-two/m-p/1097714#M74655</guid>
      <dc:creator>ChitraKrishnan</dc:creator>
      <dc:date>2021-09-13T17:28:53Z</dc:date>
    </item>
  </channel>
</rss>

