<?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: Why does the intersect from Geometry service doesn't return attributes? in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/why-does-the-intersect-from-geometry-service-doesn/m-p/513916#M13125</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;GeometryService only works against geometries, and have no concept of attributes. Therefore attributes are not preserved. Grab the geometry you get back and reassign the geometry on the Graphic you parsed in, if you want to modify the graphic instance. Or copy the attributes over to the new graphic feature you get back.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 17 Apr 2011 23:25:30 GMT</pubDate>
    <dc:creator>dotMorten_esri</dc:creator>
    <dc:date>2011-04-17T23:25:30Z</dc:date>
    <item>
      <title>Why does the intersect from Geometry service doesn't return attributes?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/why-does-the-intersect-from-geometry-service-doesn/m-p/513914#M13123</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 try to use a polygon to intersect an underlying polygon layer by using the Geometry Service. However, the returned graphics results has no attributes associated. Is that designed on purpose? From the returned intersect result,since I can still get the same number of graphics from the returned intersect result as input underlying polygon layer, can I assume they are sequentially matched (which means the first graphic in the intersect result should have the save attributes with the first feature in the input underlying polygon layer)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your answer!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Wei&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2011 20:55:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/why-does-the-intersect-from-geometry-service-doesn/m-p/513914#M13123</guid>
      <dc:creator>weiliang</dc:creator>
      <dc:date>2011-04-14T20:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: Why does the intersect from Geometry service doesn't return attributes?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/why-does-the-intersect-from-geometry-service-doesn/m-p/513915#M13124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have also face the same problem.It is by design I guess.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Apr 2011 06:33:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/why-does-the-intersect-from-geometry-service-doesn/m-p/513915#M13124</guid>
      <dc:creator>SanajyJadhav</dc:creator>
      <dc:date>2011-04-16T06:33:27Z</dc:date>
    </item>
    <item>
      <title>Re: Why does the intersect from Geometry service doesn't return attributes?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/why-does-the-intersect-from-geometry-service-doesn/m-p/513916#M13125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;GeometryService only works against geometries, and have no concept of attributes. Therefore attributes are not preserved. Grab the geometry you get back and reassign the geometry on the Graphic you parsed in, if you want to modify the graphic instance. Or copy the attributes over to the new graphic feature you get back.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Apr 2011 23:25:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/why-does-the-intersect-from-geometry-service-doesn/m-p/513916#M13125</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2011-04-17T23:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: Why does the intersect from Geometry service doesn't return attributes?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/why-does-the-intersect-from-geometry-service-doesn/m-p/513917#M13126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Morton...do you have a quick sample on re-assigning the attributes from the original graphics back to the Geometry service intersect results?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2011 17:27:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/why-does-the-intersect-from-geometry-service-doesn/m-p/513917#M13126</guid>
      <dc:creator>MichaelSnook</dc:creator>
      <dc:date>2011-10-19T17:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: Why does the intersect from Geometry service doesn't return attributes?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/why-does-the-intersect-from-geometry-service-doesn/m-p/513918#M13127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ahh....nevermind.&amp;nbsp; I was trying to go the wrong way around.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Since you can't assign attributes to a geometry I needed to start with my origina listing of graphics and assign the geometry out of the intersect. (like Morton said):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; List&amp;lt;Graphic&amp;gt; results = (List&amp;lt;Graphic&amp;gt;)e.Results;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; foreach (Graphic g in pointList)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&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;&amp;nbsp;&amp;nbsp; g.Geometry = results&lt;I&gt;.Geometry;&lt;/I&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&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;&amp;nbsp;&amp;nbsp; SimpleMarkerSymbol symbol = new SimpleMarkerSymbol();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&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;&amp;nbsp;&amp;nbsp; g.Symbol = symbol;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&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;&amp;nbsp;&amp;nbsp; GraphicsLayer.Graphics.Add(g);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&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;&amp;nbsp;&amp;nbsp; i++;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope that helps anyone else.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2011 17:45:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/why-does-the-intersect-from-geometry-service-doesn/m-p/513918#M13127</guid>
      <dc:creator>MichaelSnook</dc:creator>
      <dc:date>2011-10-19T17:45:02Z</dc:date>
    </item>
  </channel>
</rss>

