<?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: GeometryService Yards in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometryservice-yards/m-p/37621#M3148</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I hoped this wasn't the answer &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Aug 2014 16:57:10 GMT</pubDate>
    <dc:creator>TimWitt2</dc:creator>
    <dc:date>2014-08-26T16:57:10Z</dc:date>
    <item>
      <title>GeometryService Yards</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometryservice-yards/m-p/37619#M3146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was looking at &lt;A href="https://developers.arcgis.com/javascript/jsapi/geometryservice-amd.html" title="https://developers.arcgis.com/javascript/jsapi/geometryservice-amd.html"&gt;geometryservice-amd | API Reference | ArcGIS API for JavaScript&lt;/A&gt;&amp;nbsp; and noticed that there is only a constant for UNIT_SQUARE_YARDS but not for just UNIT_YARDS. Will this be added or is there a reason why there are only square yards?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking at the &lt;A href="https://developers.arcgis.com/javascript/jssamples/widget_measurement.html" title="https://developers.arcgis.com/javascript/jssamples/widget_measurement.html"&gt;Measurement | ArcGIS API for JavaScript&lt;/A&gt;&amp;nbsp; you are able to get the length of a line in yards, so I assume there must be a process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Aug 2014 15:10:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometryservice-yards/m-p/37619#M3146</guid>
      <dc:creator>TimWitt2</dc:creator>
      <dc:date>2014-08-26T15:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: GeometryService Yards</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometryservice-yards/m-p/37620#M3147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it's because you can easily convert feet to yards on the client side so they decided not to add yards to the constants list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll double-check the measurement widget though.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Aug 2014 16:56:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometryservice-yards/m-p/37620#M3147</guid>
      <dc:creator>JonathanUihlein</dc:creator>
      <dc:date>2014-08-26T16:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: GeometryService Yards</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometryservice-yards/m-p/37621#M3148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I hoped this wasn't the answer &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Aug 2014 16:57:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometryservice-yards/m-p/37621#M3148</guid>
      <dc:creator>TimWitt2</dc:creator>
      <dc:date>2014-08-26T16:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: GeometryService Yards</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometryservice-yards/m-p/37622#M3149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tim,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I looked into how the Measurement widget handles calculating yards without invoking a geometry service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The widget calculates the geodesic length of a line in miles, then converts that result to the proper unit using a relational table of conversion values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, there are 1760 yards in a mile, so it multiples the result by 1760 for the display value.&lt;/P&gt;&lt;P&gt;If using meters, it will multiply the result by 1609.34 etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This might not be the answer you are looking for but if you have any other questions, let me know!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Aug 2014 17:07:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometryservice-yards/m-p/37622#M3149</guid>
      <dc:creator>JonathanUihlein</dc:creator>
      <dc:date>2014-08-26T17:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: GeometryService Yards</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometryservice-yards/m-p/37623#M3150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It does answer my question, because I didn't know if it was an oversight not to include yards. I'll have to go the math route then &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for looking into it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Aug 2014 17:10:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometryservice-yards/m-p/37623#M3150</guid>
      <dc:creator>TimWitt2</dc:creator>
      <dc:date>2014-08-26T17:10:18Z</dc:date>
    </item>
  </channel>
</rss>

