<?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: Convert Graphic (polygon) coordinates in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/convert-graphic-polygon-coordinates/m-p/181068#M4513</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;thanks, sorry can you be a little more clear on how to use the first option?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Should be something like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;&amp;nbsp; var geometryInWebMercator = new ESRI.ArcGIS.Client.Projection.WebMercator().FromGeographic(geometryInWGS84);&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You'll find the documentation &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/silverlight-api/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.Projection.WebMercator~FromGeographic.html"&gt;here&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I have a FeatureSet, result from a query, now I'm triying to highlight the results (polygons) in a graphic layer but need to convert the cordinates of them from Geographic to WebMercator. there's a way to do it? &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you are using a recent version of the ArcGIS API for Silverlight, the projection to WebMercator coordinates should be done automatically by the graphics layer so you should not have to do it by yourself.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Another option, which avoids the conversion at client side, is to query the graphics directly in the map spatial reference by setting the &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/silverlight-api/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.Tasks.Query~OutSpatialReference.html"&gt;OutSpatialReference &lt;/A&gt;&lt;SPAN&gt;of your query.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Feb 2013 15:18:26 GMT</pubDate>
    <dc:creator>DominiqueBroux</dc:creator>
    <dc:date>2013-02-06T15:18:26Z</dc:date>
    <item>
      <title>Convert Graphic (polygon) coordinates</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/convert-graphic-polygon-coordinates/m-p/181065#M4510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a FeatureSet, result from a query, now I'm triying to highlight the results (polygons) in a graphic layer but need to convert the cordinates of them from Geographic to WebMercator. there's a way to do it?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2013 20:53:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/convert-graphic-polygon-coordinates/m-p/181065#M4510</guid>
      <dc:creator>EnriqueIbarra</dc:creator>
      <dc:date>2013-01-25T20:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Graphic (polygon) coordinates</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/convert-graphic-polygon-coordinates/m-p/181066#M4511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;ESRI.ArcGIS.Client.Projection Namespace &amp;gt; WebMercator Class : FromGeographic Method ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There's a similar method under the Bing namespace, but it works with MapPoints.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2013 21:20:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/convert-graphic-polygon-coordinates/m-p/181066#M4511</guid>
      <dc:creator>MelitaKennedy</dc:creator>
      <dc:date>2013-01-25T21:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Graphic (polygon) coordinates</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/convert-graphic-polygon-coordinates/m-p/181067#M4512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;ESRI.ArcGIS.Client.Projection Namespace &amp;gt; WebMercator Class : FromGeographic Method ?&lt;BR /&gt;&lt;BR /&gt;There's a similar method under the Bing namespace, but it works with MapPoints.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks, sorry can you be a little more clear on how to use the first option?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2013 17:20:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/convert-graphic-polygon-coordinates/m-p/181067#M4512</guid>
      <dc:creator>EnriqueIbarra</dc:creator>
      <dc:date>2013-01-31T17:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Graphic (polygon) coordinates</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/convert-graphic-polygon-coordinates/m-p/181068#M4513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;thanks, sorry can you be a little more clear on how to use the first option?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Should be something like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;&amp;nbsp; var geometryInWebMercator = new ESRI.ArcGIS.Client.Projection.WebMercator().FromGeographic(geometryInWGS84);&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You'll find the documentation &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/silverlight-api/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.Projection.WebMercator~FromGeographic.html"&gt;here&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I have a FeatureSet, result from a query, now I'm triying to highlight the results (polygons) in a graphic layer but need to convert the cordinates of them from Geographic to WebMercator. there's a way to do it? &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you are using a recent version of the ArcGIS API for Silverlight, the projection to WebMercator coordinates should be done automatically by the graphics layer so you should not have to do it by yourself.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Another option, which avoids the conversion at client side, is to query the graphics directly in the map spatial reference by setting the &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/silverlight-api/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.Tasks.Query~OutSpatialReference.html"&gt;OutSpatialReference &lt;/A&gt;&lt;SPAN&gt;of your query.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2013 15:18:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/convert-graphic-polygon-coordinates/m-p/181068#M4513</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2013-02-06T15:18:26Z</dc:date>
    </item>
  </channel>
</rss>

