<?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 compare areas of Identify results in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/compare-areas-of-identify-results/m-p/290793#M7490</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;has anybody done something similar?...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to compare the areas of the features returned from the 'identify' task before I add them to the list. I will create some code to sort the results in order of area, but the problem I have is that for display purposes I have hidded the 'area' field.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a function out there that can do an area calculation based on the returned geometry (polygon)? using the rings maybe?.....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Dec 2011 18:24:53 GMT</pubDate>
    <dc:creator>DaveOrlando</dc:creator>
    <dc:date>2011-12-19T18:24:53Z</dc:date>
    <item>
      <title>compare areas of Identify results</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/compare-areas-of-identify-results/m-p/290793#M7490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;has anybody done something similar?...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to compare the areas of the features returned from the 'identify' task before I add them to the list. I will create some code to sort the results in order of area, but the problem I have is that for display purposes I have hidded the 'area' field.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a function out there that can do an area calculation based on the returned geometry (polygon)? using the rings maybe?.....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Dec 2011 18:24:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/compare-areas-of-identify-results/m-p/290793#M7490</guid>
      <dc:creator>DaveOrlando</dc:creator>
      <dc:date>2011-12-19T18:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: compare areas of Identify results</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/compare-areas-of-identify-results/m-p/290794#M7491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you are using API version 2.3 or 3.0 Beta 1, you can use this method: &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.Geometry.Geodesic~Area.html"&gt;http://help.arcgis.com/en/webapi/silverlight/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.Geometry.Geodesic~Area.html&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Dec 2011 19:37:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/compare-areas-of-identify-results/m-p/290794#M7491</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2011-12-19T19:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: compare areas of Identify results</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/compare-areas-of-identify-results/m-p/290795#M7492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Unfortunately I am still in the dark ages of 2.2&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am taking my results from the Identify and feeding them into the GeometryService AreasAndLengths method, but I think I am about to abort for a few reasons.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. the service takes too long to return and &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. I don't think I'll be able to reattach the areas to the proper polygon with certainty&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;have you seen a way to attach the results of the AreaAndLengths back onto the features (IList&amp;lt;Graphic&amp;gt;) being passed in? or add to an area property in the DataItem class show in the Identify example?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Dec 2011 20:52:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/compare-areas-of-identify-results/m-p/290795#M7492</guid>
      <dc:creator>DaveOrlando</dc:creator>
      <dc:date>2011-12-19T20:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: compare areas of Identify results</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/compare-areas-of-identify-results/m-p/290796#M7493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, you can use 2nd parameter UserState, this can be any data type, which you can cast to the correct type in the completed event.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;nbsp;&amp;nbsp; geometryService.AreasAndLengthsCompleted += (s, e) =&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var originalGraphics = e.UserState as List&amp;lt;Graphic&amp;gt;;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (originalGraphics != null)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; };
&amp;nbsp;&amp;nbsp;&amp;nbsp; };
&amp;nbsp;&amp;nbsp; geometryService.AreasAndLengthsAsync(graphics, graphics);
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 14:01:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/compare-areas-of-identify-results/m-p/290796#M7493</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2021-12-11T14:01:34Z</dc:date>
    </item>
  </channel>
</rss>

