<?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 Based way to change the SpatialReference in ArcGIS Android in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/based-way-to-change-the-spatialreference-in-arcgis/m-p/116721#M870</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm new to arcgis and am experimenting with the ArcGIS for Android API.&amp;nbsp; I'm trying to convert an existing map application from Google Maps for Android to ArcGIS.&amp;nbsp;&amp;nbsp; I'll like to work with latitude and longitude values in a Mercator projection.&amp;nbsp; Can someone please give me an example of the appropriate way to setup the SpatialReference using the ArcGISTiledMapServiceLayer?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dave&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Nov 2011 19:55:43 GMT</pubDate>
    <dc:creator>DaveBryson</dc:creator>
    <dc:date>2011-11-28T19:55:43Z</dc:date>
    <item>
      <title>Based way to change the SpatialReference in ArcGIS Android</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/based-way-to-change-the-spatialreference-in-arcgis/m-p/116721#M870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm new to arcgis and am experimenting with the ArcGIS for Android API.&amp;nbsp; I'm trying to convert an existing map application from Google Maps for Android to ArcGIS.&amp;nbsp;&amp;nbsp; I'll like to work with latitude and longitude values in a Mercator projection.&amp;nbsp; Can someone please give me an example of the appropriate way to setup the SpatialReference using the ArcGISTiledMapServiceLayer?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dave&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2011 19:55:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/based-way-to-change-the-spatialreference-in-arcgis/m-p/116721#M870</guid>
      <dc:creator>DaveBryson</dc:creator>
      <dc:date>2011-11-28T19:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: Based way to change the SpatialReference in ArcGIS Android</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/based-way-to-change-the-spatialreference-in-arcgis/m-p/116722#M871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Please answer this question. &lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The current version 2.0 of ArcGIS seems to only have a fromMGRS method.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There are other methods that look promising such as:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;public static SpatialReference create (String wktext)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, the format of wktext is not defined anywhere.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2013 08:03:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/based-way-to-change-the-spatialreference-in-arcgis/m-p/116722#M871</guid>
      <dc:creator>GregMilette</dc:creator>
      <dc:date>2013-01-22T08:03:32Z</dc:date>
    </item>
    <item>
      <title>Re: Based way to change the SpatialReference in ArcGIS Android</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/based-way-to-change-the-spatialreference-in-arcgis/m-p/116723#M872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think you want to look at GeometryEngine:Project. If you can, you should try to use coordinate systems (spatial references) that are known to the system and that have a well-known ID. For instance, WGS84 is 4326. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Melita&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2013 16:29:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/based-way-to-change-the-spatialreference-in-arcgis/m-p/116723#M872</guid>
      <dc:creator>MelitaKennedy</dc:creator>
      <dc:date>2013-01-23T16:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: Based way to change the SpatialReference in ArcGIS Android</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/based-way-to-change-the-spatialreference-in-arcgis/m-p/116724#M873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This code worked:&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; Point point = new Point();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; point.setX(lon);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; point.setY(lat);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SpatialReference latlonSpatialReference = SpatialReference.create(4326);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Point output = (Point)GeometryEngine.project(point, latlonSpatialReference, mapView.getSpatialReference());&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, why does this line fail?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; SpatialReference latlonSpatialReference = SpatialReference.create("WGS84");&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2013 09:19:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/based-way-to-change-the-spatialreference-in-arcgis/m-p/116724#M873</guid>
      <dc:creator>GregMilette</dc:creator>
      <dc:date>2013-01-28T09:19:08Z</dc:date>
    </item>
  </channel>
</rss>

