<?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: Distance value of geotrace in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/distance-value-of-geotrace/m-p/823942#M16466</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure why this is, but dividing the converted value from meters into miles by 2 seems to closely match the values generated in an AGOL mapviewer using the distance measure tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would love to know reasons and/or if this is incorrect!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(distance(${geoTraceField}) div 1609.344) div 2&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 May 2019 12:59:51 GMT</pubDate>
    <dc:creator>JamesCrandall</dc:creator>
    <dc:date>2019-05-24T12:59:51Z</dc:date>
    <item>
      <title>Distance value of geotrace</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/distance-value-of-geotrace/m-p/823941#M16465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We're trying to convert the geotrace distance value into miles and not getting the correct result.&amp;nbsp; That is, when comparing our conversion to miles it's wildly different from a known segment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We thought it was a simple meters-to-miles conversion:&lt;/P&gt;&lt;P&gt;round((distance(${geotraceField}) div 1609.344), 2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this gives different result from a known line segment distance we're drawing in Survey.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Running a simple calculation on a note field:&lt;/P&gt;&lt;P&gt;(distance(${geoTraceField}) div 1609.344)&lt;/P&gt;&lt;P&gt;Value reported: 3.00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That same length using the measure tool in an AGOL webmap:&lt;/P&gt;&lt;P&gt;Value reported: 1.50 miles&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simple straight distance value:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;"&gt;distance(${geoTraceField})&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;"&gt;Value reported: 4880&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 May 2019 19:58:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/distance-value-of-geotrace/m-p/823941#M16465</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2019-05-23T19:58:00Z</dc:date>
    </item>
    <item>
      <title>Re: Distance value of geotrace</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/distance-value-of-geotrace/m-p/823942#M16466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure why this is, but dividing the converted value from meters into miles by 2 seems to closely match the values generated in an AGOL mapviewer using the distance measure tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would love to know reasons and/or if this is incorrect!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(distance(${geoTraceField}) div 1609.344) div 2&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2019 12:59:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/distance-value-of-geotrace/m-p/823942#M16466</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2019-05-24T12:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: Distance value of geotrace</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/distance-value-of-geotrace/m-p/823943#M16467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for finding this! &amp;nbsp;As you are probably aware, geotrace is still in-beta functionality, including associated functions like distance. &amp;nbsp;I can replicate what you are seeing and will file an issue to correct this before geotrace is released.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2019 16:59:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/distance-value-of-geotrace/m-p/823943#M16467</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2019-05-24T16:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: Distance value of geotrace</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/distance-value-of-geotrace/m-p/823944#M16468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW, I'm fine with having to add an additional divisor! &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2019 18:29:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/distance-value-of-geotrace/m-p/823944#M16468</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2019-05-24T18:29:09Z</dc:date>
    </item>
    <item>
      <title>Re: Distance value of geotrace</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/distance-value-of-geotrace/m-p/823945#M16469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just so you are aware, the issue is more complicated than being simply twice the expected value- the issue is that the distance function is treating the line as if it were a polygon and adding in a final segment from the last coordinate to the first coordinate. &amp;nbsp;In a straight line case&amp;nbsp;(such as a 2-point line), this will be double; other&amp;nbsp;cases may see varying amounts of additional distance recorded (for example, you should see essentially no difference if you recorded a closed object such as a square).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 May 2019 16:41:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/distance-value-of-geotrace/m-p/823945#M16469</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2019-05-28T16:41:29Z</dc:date>
    </item>
  </channel>
</rss>

