<?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: geometryEngine planarArea Units in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometryengine-planararea-units/m-p/1095999#M74581</link>
    <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;Looks like you need to pass in&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;"&lt;EM&gt;square-kilometers&lt;/EM&gt;" as&amp;nbsp;documented in the SDK doc: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3.x:&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/3/jsapi/esri.geometry.geometryengine-amd.html#planararea" target="_blank"&gt;https://developers.arcgis.com/javascript/3/jsapi/esri.geometry.geometryengine-amd.html#planararea&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;4.x:&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-geometryEngine.html#ArealUnits" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-geometryEngine.html#ArealUnits&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;-Undral&lt;/P&gt;</description>
    <pubDate>Tue, 07 Sep 2021 16:24:59 GMT</pubDate>
    <dc:creator>UndralBatsukh</dc:creator>
    <dc:date>2021-09-07T16:24:59Z</dc:date>
    <item>
      <title>geometryEngine planarArea Units</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometryengine-planararea-units/m-p/1095890#M74575</link>
      <description>&lt;P&gt;Dear,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to calculate Area of geometry by geometry engine Planar Area function, but I have problem with units measurement.&lt;/P&gt;&lt;P&gt;My code is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var area=geometryEngine.planarArea(geometry.geometry, units.SQUARE_KILOMETERS)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but i get an error in console:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KiroAndreevGDI_0-1631016460016.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/22507i1A75B7B8B78DA88C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KiroAndreevGDI_0-1631016460016.png" alt="KiroAndreevGDI_0-1631016460016.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea to solved this problem please?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regard.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Sep 2021 12:09:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometryengine-planararea-units/m-p/1095890#M74575</guid>
      <dc:creator>KiroAndreevGDI</dc:creator>
      <dc:date>2021-09-07T12:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: geometryEngine planarArea Units</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometryengine-planararea-units/m-p/1095999#M74581</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;Looks like you need to pass in&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;"&lt;EM&gt;square-kilometers&lt;/EM&gt;" as&amp;nbsp;documented in the SDK doc: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3.x:&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/3/jsapi/esri.geometry.geometryengine-amd.html#planararea" target="_blank"&gt;https://developers.arcgis.com/javascript/3/jsapi/esri.geometry.geometryengine-amd.html#planararea&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;4.x:&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-geometryEngine.html#ArealUnits" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-geometryEngine.html#ArealUnits&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;-Undral&lt;/P&gt;</description>
      <pubDate>Tue, 07 Sep 2021 16:24:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometryengine-planararea-units/m-p/1095999#M74581</guid>
      <dc:creator>UndralBatsukh</dc:creator>
      <dc:date>2021-09-07T16:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: geometryEngine planarArea Units</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometryengine-planararea-units/m-p/1096402#M74600</link>
      <description>&lt;P&gt;Dear&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Esri-Regular-Contributor lia-component-message-view-widget-author-username"&gt;&lt;A href="https://community.esri.com/t5/user/viewprofilepage/user-id/53756" target="_self"&gt;&lt;SPAN class=""&gt;UndralBatsukh,&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Esri-Regular-Contributor lia-component-message-view-widget-author-username"&gt;&lt;SPAN class=""&gt;I changed code into:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt; var area = geometryEngine.planarArea(geometry.geometry, "square-kilometers")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and message in console is in Attached file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to solved this problem?&lt;/P&gt;&lt;P&gt;Best regard.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Sep 2021 14:48:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometryengine-planararea-units/m-p/1096402#M74600</guid>
      <dc:creator>KiroAndreevGDI</dc:creator>
      <dc:date>2021-09-08T14:48:32Z</dc:date>
    </item>
  </channel>
</rss>

