<?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: Reproject point on grahics layer in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/reproject-point-on-grahics-layer/m-p/393308#M9174</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;See:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/tasks/supportClasses/Query.html#outSpatialReference"&gt;http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/tasks/supportClasses/Query.html#outSpatialReference&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Jun 2012 17:30:55 GMT</pubDate>
    <dc:creator>DasaPaddock</dc:creator>
    <dc:date>2012-06-22T17:30:55Z</dc:date>
    <item>
      <title>Reproject point on grahics layer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/reproject-point-on-grahics-layer/m-p/393307#M9173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;All my datasets are currently in British National Grid.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have received a new dataset with Longitude and Latitude.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to query this layer and display the points on a graphics layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;However the points appear in the wrong location on the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;for each (var graphic:Graphic in featureSet.features)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; graphic.geometry.spatialReference = map.spatialReference&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; graphicsLayer.add(graphic);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jun 2012 15:48:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/reproject-point-on-grahics-layer/m-p/393307#M9173</guid>
      <dc:creator>RaoBase</dc:creator>
      <dc:date>2012-06-22T15:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: Reproject point on grahics layer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/reproject-point-on-grahics-layer/m-p/393308#M9174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;See:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/tasks/supportClasses/Query.html#outSpatialReference"&gt;http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/tasks/supportClasses/Query.html#outSpatialReference&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jun 2012 17:30:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/reproject-point-on-grahics-layer/m-p/393308#M9174</guid>
      <dc:creator>DasaPaddock</dc:creator>
      <dc:date>2012-06-22T17:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: Reproject point on grahics layer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/reproject-point-on-grahics-layer/m-p/393309#M9175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So what format is the dataset in?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think you would have to re-project those points using a geometry service there is a sample here - &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/flex-api/samples/index.html#/Project_a_point/01nq0000004w000000/"&gt;http://resources.arcgis.com/en/help/flex-api/samples/index.html#/Project_a_point/01nq0000004w000000/&lt;BR /&gt;&lt;BR /&gt;S&lt;/A&gt;&lt;SPAN&gt;o you would get the coordinates of the graphic, send them to the geometry service to re-project and then draw the coordinates that are returned.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Jun 2012 09:04:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/reproject-point-on-grahics-layer/m-p/393309#M9175</guid>
      <dc:creator>ShaunWeston</dc:creator>
      <dc:date>2012-06-24T09:04:11Z</dc:date>
    </item>
  </channel>
</rss>

