<?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 GeometryEngine shapePreservingAreaOfGeometry in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/geometryengine-shapepreservingareaofgeometry/m-p/542785#M4648</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Guys,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have an app that lets the user record a polygon and writes it to a file. One of the attributes included is the Area of the polygon, i am using the following code to calculate the area:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[self.geometryEngine shapePreservingAreaOfGeometry:&amp;lt;PolygonGeometry&amp;gt; inUnit:AGSAreaUnitsHectares];&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Although, this codes gives out the area. I am not sure if it is the right calculation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone tell me if my calculation is correct? or how to accurately calculate the area of a polygon in hectares.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;EDIT:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems that i just need to project my polygon first to an Equal Area Projected Coordinate System and then use the shapePreservingAreaOfGeometry function.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Jul 2013 15:45:57 GMT</pubDate>
    <dc:creator>DavidMorrison1</dc:creator>
    <dc:date>2013-07-24T15:45:57Z</dc:date>
    <item>
      <title>GeometryEngine shapePreservingAreaOfGeometry</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/geometryengine-shapepreservingareaofgeometry/m-p/542785#M4648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Guys,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have an app that lets the user record a polygon and writes it to a file. One of the attributes included is the Area of the polygon, i am using the following code to calculate the area:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[self.geometryEngine shapePreservingAreaOfGeometry:&amp;lt;PolygonGeometry&amp;gt; inUnit:AGSAreaUnitsHectares];&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Although, this codes gives out the area. I am not sure if it is the right calculation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone tell me if my calculation is correct? or how to accurately calculate the area of a polygon in hectares.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;EDIT:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems that i just need to project my polygon first to an Equal Area Projected Coordinate System and then use the shapePreservingAreaOfGeometry function.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jul 2013 15:45:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/geometryengine-shapepreservingareaofgeometry/m-p/542785#M4648</guid>
      <dc:creator>DavidMorrison1</dc:creator>
      <dc:date>2013-07-24T15:45:57Z</dc:date>
    </item>
  </channel>
</rss>

