<?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.UNIT_YARD in a esri.tasks.DistanceParameters in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometryservice-unit-yard-in-a-esri-tasks/m-p/414626#M38163</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Check out the server REST API help for info on possible values. Starting from the &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#//02r3000000s5000000"&gt;buffer help&lt;/A&gt;&lt;SPAN&gt;, you can get to two pages that list possible units from the description for the "unit" parameter:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/arcobjects-cpp/componenthelp/index.html#/esriSRUnitType_Constants/000w00000042000000/"&gt;http://resources.arcgis.com/en/help/arcobjects-cpp/componenthelp/index.html#/esriSRUnitType_Constants/000w00000042000000/&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/arcobjects-cpp/componenthelp/index.html#//000w00000041000000"&gt;http://resources.arcgis.com/en/help/arcobjects-cpp/componenthelp/index.html#//000w00000041000000&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Feb 2014 15:21:10 GMT</pubDate>
    <dc:creator>derekswingley1</dc:creator>
    <dc:date>2014-02-11T15:21:10Z</dc:date>
    <item>
      <title>GeometryService.UNIT_YARD in a esri.tasks.DistanceParameters</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometryservice-unit-yard-in-a-esri-tasks/m-p/414625#M38162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i'm trying to finish my custom measure tool (the esri widget isn't up to the job)&amp;nbsp; and trying to allow users to change units.&amp;nbsp; I have code, not dis-similar to &lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/javascript/jssamples/util_buffergraphic.html"&gt;https://developers.arcgis.com/javascript/jssamples/util_buffergraphic.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, whilst I can happily change to UNIT_FOOT,&amp;nbsp; UNIT_METER even UNIT_US_NAUTICAL_MILE I can't seem to get UNIT_YARD to work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Looking at the DistanceParameters - it appears to store these as valies - so UNIT_METER is returned in the console as 9001. However UNIT_YARD returns UNDEFINED - surely that is a valid unit?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ACM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Feb 2014 15:09:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometryservice-unit-yard-in-a-esri-tasks/m-p/414625#M38162</guid>
      <dc:creator>AdrianMarsden</dc:creator>
      <dc:date>2014-02-11T15:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: GeometryService.UNIT_YARD in a esri.tasks.DistanceParameters</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometryservice-unit-yard-in-a-esri-tasks/m-p/414626#M38163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Check out the server REST API help for info on possible values. Starting from the &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#//02r3000000s5000000"&gt;buffer help&lt;/A&gt;&lt;SPAN&gt;, you can get to two pages that list possible units from the description for the "unit" parameter:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/arcobjects-cpp/componenthelp/index.html#/esriSRUnitType_Constants/000w00000042000000/"&gt;http://resources.arcgis.com/en/help/arcobjects-cpp/componenthelp/index.html#/esriSRUnitType_Constants/000w00000042000000/&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/arcobjects-cpp/componenthelp/index.html#//000w00000041000000"&gt;http://resources.arcgis.com/en/help/arcobjects-cpp/componenthelp/index.html#//000w00000041000000&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Feb 2014 15:21:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometryservice-unit-yard-in-a-esri-tasks/m-p/414626#M38163</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2014-02-11T15:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: GeometryService.UNIT_YARD in a esri.tasks.DistanceParameters</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometryservice-unit-yard-in-a-esri-tasks/m-p/414627#M38164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So many yards - who knew? &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So which of the 8 yards iis the good old fashioned British yard?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Feb 2014 15:56:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometryservice-unit-yard-in-a-esri-tasks/m-p/414627#M38164</guid>
      <dc:creator>AdrianMarsden</dc:creator>
      <dc:date>2014-02-11T15:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: GeometryService.UNIT_YARD in a esri.tasks.DistanceParameters</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometryservice-unit-yard-in-a-esri-tasks/m-p/414628#M38165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ah I need a esriSRUnit2Type&amp;nbsp; - so International Yard&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.esri.com/help/9.3/ArcGISDesktop/ArcObjects/esriGeometry/esriSRUnit2Type.htm"&gt;http://resources.esri.com/help/9.3/ArcGISDesktop/ArcObjects/esriGeometry/esriSRUnit2Type.htm&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Feb 2014 15:59:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometryservice-unit-yard-in-a-esri-tasks/m-p/414628#M38165</guid>
      <dc:creator>AdrianMarsden</dc:creator>
      <dc:date>2014-02-11T15:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: GeometryService.UNIT_YARD in a esri.tasks.DistanceParameters</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometryservice-unit-yard-in-a-esri-tasks/m-p/414629#M38166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yeah, I think that's the one. Or you could use use feet and multiply by three.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Feb 2014 16:23:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometryservice-unit-yard-in-a-esri-tasks/m-p/414629#M38166</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2014-02-11T16:23:25Z</dc:date>
    </item>
  </channel>
</rss>

