<?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: Issue with 'ESRI.ArcGIS.Client.Geometry.Geometry' in WCF service in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/issue-with-esri-arcgis-client-geometry-geometry-in/m-p/381270#M9861</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry I don't know much about PolygonN. You might want to refer to the ArcObjects documentation and forums for that.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 May 2013 15:40:40 GMT</pubDate>
    <dc:creator>dotMorten_esri</dc:creator>
    <dc:date>2013-05-03T15:40:40Z</dc:date>
    <item>
      <title>Issue with 'ESRI.ArcGIS.Client.Geometry.Geometry' in WCF service</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/issue-with-esri-arcgis-client-geometry-geometry-in/m-p/381267#M9858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi There, I am having this issue with using Geomtry that is returned from a WCF service. As part of the service, I have added a service reference for the map service that I am using in this project. I am trying to return 'ESRI.ArcGIS.Client.Geometry.Geometry as a return type but when I assign the Geomtry to my result, it comes back with this error: 'Geometry' is an ambiguous reference between 'GIS.Services.Data.BoundaryMapService.Geometry' and 'ESRI.ArcGIS.Client.Geometry.Geometry'. I am not sure what needs to be done to resolve this issue. Appreciate any feedback. Thanks Jay &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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ESRI.ArcGIS.Client.Geometry.Geometry resultGeometry = null;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for (int i = 0; i &amp;lt; attributes.Values.Count(); 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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (attributes.Values&lt;I&gt; is PolygonN)&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PolygonN featureExtent = attributes.Values&lt;I&gt; as PolygonN;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; resultGeometry = featureExtent; // Error here...&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Apr 2013 21:43:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/issue-with-esri-arcgis-client-geometry-geometry-in/m-p/381267#M9858</guid>
      <dc:creator>jayshukla</dc:creator>
      <dc:date>2013-04-29T21:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with 'ESRI.ArcGIS.Client.Geometry.Geometry' in WCF service</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/issue-with-esri-arcgis-client-geometry-geometry-in/m-p/381268#M9859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You cannot mix two different geometry models. What you are essentially doing is assigning one type to a completely different type, which naturally isn't allowed. You will need to write some code that converts PolygonN into Client.Geometry.Polygon.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Apr 2013 13:09:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/issue-with-esri-arcgis-client-geometry-geometry-in/m-p/381268#M9859</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2013-04-30T13:09:20Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with 'ESRI.ArcGIS.Client.Geometry.Geometry' in WCF service</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/issue-with-esri-arcgis-client-geometry-geometry-in/m-p/381269#M9860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Morten for your feedback. I havent done much with Silverlight API but I am curious if here a way to get the vertices from PolygonN. This way I can get the vertices of the geomtry and pass it as a list. Are there are resources thst have sample showing how to do this. Thanks again. Jay &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;You cannot mix two different geometry models. What you are essentially doing is assigning one type to a completely different type, which naturally isn't allowed. You will need to write some code that converts PolygonN into Client.Geometry.Polygon.&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2013 14:24:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/issue-with-esri-arcgis-client-geometry-geometry-in/m-p/381269#M9860</guid>
      <dc:creator>jayshukla</dc:creator>
      <dc:date>2013-05-02T14:24:34Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with 'ESRI.ArcGIS.Client.Geometry.Geometry' in WCF service</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/issue-with-esri-arcgis-client-geometry-geometry-in/m-p/381270#M9861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry I don't know much about PolygonN. You might want to refer to the ArcObjects documentation and forums for that.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 May 2013 15:40:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/issue-with-esri-arcgis-client-geometry-geometry-in/m-p/381270#M9861</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2013-05-03T15:40:40Z</dc:date>
    </item>
  </channel>
</rss>

