<?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: Calculate polygon area squared meters in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/calculate-polygon-area-squared-meters/m-p/274921#M2504</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you very much for your response.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 31 Oct 2011 18:07:41 GMT</pubDate>
    <dc:creator>MauroDegiorgi</dc:creator>
    <dc:date>2011-10-31T18:07:41Z</dc:date>
    <item>
      <title>Calculate polygon area squared meters</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/calculate-polygon-area-squared-meters/m-p/274919#M2502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm new to ArcGis.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have to add a function for calculate the area, in squared meters, of an irregular geographic surface, to an application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The application use Google Map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to use AGSGeometryEngine.areaOfGeometry method in this way: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;AGSSpatialReference *ref = [AGSSpatialReference wgs84SpatialReference];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;AGSMutablePolygon *polygon = [[AGSMutablePolygon alloc] initWithSpatialReference:ref];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[polygon addRingToPolygon];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[polygon addPointToRing: p1];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[polygon addPointToRing: p2];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[polygon addPointToRing: p3];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;AGSGeometryEngine *engine = [[AGSGeometryEngine alloc] init];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;area = [engine areaOfGeometry:geom];&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think that this code is wrong because the result is in "squared degrees", is true?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What's the best way to get a correct area in squared meters with my points?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm testing my application with this points.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;P1 = 44.50167,11.34982&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;P2 = 44.499035,11.34454&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;P3 = 44.5026,11.348104&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Oct 2011 11:56:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/calculate-polygon-area-squared-meters/m-p/274919#M2502</guid>
      <dc:creator>MauroDegiorgi</dc:creator>
      <dc:date>2011-10-30T11:56:17Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate polygon area squared meters</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/calculate-polygon-area-squared-meters/m-p/274920#M2503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You will need to project your polygon to an Equal Area Projected Coordinate System, such as Cylindrical Equal Area (WKID : 53034). This coordinate system uses Meters as the unit and will preserve the area of the original geometry.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thus, you will need to use the Geometry Engine to first project, and then compute area.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;PS: I noticed that your polygon is not topologically complete. You need to close the ring by adding P1 vertex also at the end.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2011 16:37:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/calculate-polygon-area-squared-meters/m-p/274920#M2503</guid>
      <dc:creator>DiveshGoyal</dc:creator>
      <dc:date>2011-10-31T16:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate polygon area squared meters</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/calculate-polygon-area-squared-meters/m-p/274921#M2504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you very much for your response.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2011 18:07:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/calculate-polygon-area-squared-meters/m-p/274921#M2504</guid>
      <dc:creator>MauroDegiorgi</dc:creator>
      <dc:date>2011-10-31T18:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate polygon area squared meters</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/calculate-polygon-area-squared-meters/m-p/274922#M2505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Great Divesh!!! Great!! Great!!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It work!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thank you very much&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Nov 2011 08:56:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/calculate-polygon-area-squared-meters/m-p/274922#M2505</guid>
      <dc:creator>MauroDegiorgi</dc:creator>
      <dc:date>2011-11-01T08:56:24Z</dc:date>
    </item>
  </channel>
</rss>

