<?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: AGSPoint spatial reference in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agspoint-spatial-reference/m-p/216923#M1968</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Seems that your base map or map's spatial reference is "web mercator" or may be something else (not wgs 1984). Please provide more information about all layers in the map and their spatial reference. You can use the AGSGeometryEgnine's project method to project the input (wgs 1984) point to map's spatial reference (self.mapView.spatialReference) and then it'll locate you correctly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nimesh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 May 2011 17:46:20 GMT</pubDate>
    <dc:creator>NimeshJarecha</dc:creator>
    <dc:date>2011-05-16T17:46:20Z</dc:date>
    <item>
      <title>AGSPoint spatial reference</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agspoint-spatial-reference/m-p/216922#M1967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am having trouble in projecting the AGSPoint marker location to the right place. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have this spatial reference for the map:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;AGSSpatialReference *sr = [AGSSpatialReference spatialReferenceWithWKID:4326];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;AGSEnvelope *env = [AGSEnvelope envelopeWithXmin:-125.33203125 ymin:-1.58203125 xmax:-69.08203125 ymax:79.27734375 spatialReference:sr];&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It takes in the latitude longitude values well and draws the US map. But, when I give the AGSPoint location with latitude longitude, it locates it somewhere near Africa:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;AGSPoint *myMarkerPoint =&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; [AGSPoint pointWithX:-121.78555&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;&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; y:38.549122 spatialReference:sr];&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It is able to locate the right location if I give this code below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; AGSPoint *myMarkerPoint =&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; [AGSPoint pointWithX:-13626513.829723023&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; y:4549088.827634182 spatialReference:sr];&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not sure what these numbers refer to (or how to convert lat, long to this). I am confused as to why AGSPoint is not identifying the lat, long location but with the same spatial reference, AGSEnvelope is drawing correctly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Kalai&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2011 18:03:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agspoint-spatial-reference/m-p/216922#M1967</guid>
      <dc:creator>KalaiRamea</dc:creator>
      <dc:date>2011-05-13T18:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: AGSPoint spatial reference</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agspoint-spatial-reference/m-p/216923#M1968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Seems that your base map or map's spatial reference is "web mercator" or may be something else (not wgs 1984). Please provide more information about all layers in the map and their spatial reference. You can use the AGSGeometryEgnine's project method to project the input (wgs 1984) point to map's spatial reference (self.mapView.spatialReference) and then it'll locate you correctly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nimesh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2011 17:46:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agspoint-spatial-reference/m-p/216923#M1968</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2011-05-16T17:46:20Z</dc:date>
    </item>
  </channel>
</rss>

