<?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 How to convert  EPSG:3857 to EPSG:4326 in Sdk Java in Java Maps SDK Questions</title>
    <link>https://community.esri.com/t5/java-maps-sdk-questions/how-to-convert-epsg-3857-to-epsg-4326-in-sdk-java/m-p/93057#M276</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, would like to know if there's a way to convert&amp;nbsp;&lt;SPAN style="color: #242729; background-color: #f9f8f6;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;EPSG:3857 to EPSG:4326 in esri Sdk?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #242729; background-color: #f9f8f6;"&gt;Basically, I&amp;nbsp;have a Point passing a y and x like this with Spatial Reference being web mercator (3857):&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;Point &lt;SPAN class=""&gt;point1&lt;/SPAN&gt;&amp;nbsp;= &lt;SPAN class=""&gt;&lt;STRONG&gt;new&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;Point(1.7040237624799997e7,-3099509.4953500014, SpatialReferences.&lt;EM&gt;getWebMercator&lt;/EM&gt;());&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt; &lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Then I have another point with Spatial Reference WGS 84 (4326):&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;Point &lt;SPAN class=""&gt;point2&lt;/SPAN&gt;&amp;nbsp;= &lt;SPAN class=""&gt;&lt;STRONG&gt;new&lt;/STRONG&gt;&lt;/SPAN&gt; Point(153.089361, -26.802295, SpatialReferences.&lt;EM&gt;getWgs84&lt;/EM&gt;());&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;/P&gt;&lt;P class=""&gt;I need to convert the web mercator point (point1) to wgs 84 and get the lat/long of this point.&lt;/P&gt;&lt;P class=""&gt;&lt;/P&gt;&lt;P class=""&gt;How can I achieve that? spent 3 days searching, but couldn't find anything on esri docs. Found&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;CoordinateFormatter class, but couldn't see how it could help.&lt;/P&gt;&lt;P class=""&gt;&lt;/P&gt;&lt;P class=""&gt;Please, any help would be much much appreciated!&lt;/P&gt;&lt;P class=""&gt;&lt;/P&gt;&lt;P class=""&gt;cheers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 09 Feb 2019 09:06:38 GMT</pubDate>
    <dc:creator>RafaelPaz</dc:creator>
    <dc:date>2019-02-09T09:06:38Z</dc:date>
    <item>
      <title>How to convert  EPSG:3857 to EPSG:4326 in Sdk Java</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/how-to-convert-epsg-3857-to-epsg-4326-in-sdk-java/m-p/93057#M276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, would like to know if there's a way to convert&amp;nbsp;&lt;SPAN style="color: #242729; background-color: #f9f8f6;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;EPSG:3857 to EPSG:4326 in esri Sdk?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #242729; background-color: #f9f8f6;"&gt;Basically, I&amp;nbsp;have a Point passing a y and x like this with Spatial Reference being web mercator (3857):&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;Point &lt;SPAN class=""&gt;point1&lt;/SPAN&gt;&amp;nbsp;= &lt;SPAN class=""&gt;&lt;STRONG&gt;new&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;Point(1.7040237624799997e7,-3099509.4953500014, SpatialReferences.&lt;EM&gt;getWebMercator&lt;/EM&gt;());&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt; &lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Then I have another point with Spatial Reference WGS 84 (4326):&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;Point &lt;SPAN class=""&gt;point2&lt;/SPAN&gt;&amp;nbsp;= &lt;SPAN class=""&gt;&lt;STRONG&gt;new&lt;/STRONG&gt;&lt;/SPAN&gt; Point(153.089361, -26.802295, SpatialReferences.&lt;EM&gt;getWgs84&lt;/EM&gt;());&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;/P&gt;&lt;P class=""&gt;I need to convert the web mercator point (point1) to wgs 84 and get the lat/long of this point.&lt;/P&gt;&lt;P class=""&gt;&lt;/P&gt;&lt;P class=""&gt;How can I achieve that? spent 3 days searching, but couldn't find anything on esri docs. Found&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;CoordinateFormatter class, but couldn't see how it could help.&lt;/P&gt;&lt;P class=""&gt;&lt;/P&gt;&lt;P class=""&gt;Please, any help would be much much appreciated!&lt;/P&gt;&lt;P class=""&gt;&lt;/P&gt;&lt;P class=""&gt;cheers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Feb 2019 09:06:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/how-to-convert-epsg-3857-to-epsg-4326-in-sdk-java/m-p/93057#M276</guid>
      <dc:creator>RafaelPaz</dc:creator>
      <dc:date>2019-02-09T09:06:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert  EPSG:3857 to EPSG:4326 in Sdk Java</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/how-to-convert-epsg-3857-to-epsg-4326-in-sdk-java/m-p/93058#M277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Rafael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should use &lt;EM&gt;GeometryEngine &lt;/EM&gt;class for that. Check it here: &lt;A class="link-titled" href="https://developers.arcgis.com/java/latest/api-reference/reference/com/esri/arcgisruntime/geometry/GeometryEngine.html#project(com.esri.arcgisruntime.geometry.Geometry,%20com.esri.arcgisruntime.geometry.SpatialReference)" title="https://developers.arcgis.com/java/latest/api-reference/reference/com/esri/arcgisruntime/geometry/GeometryEngine.html#project(com.esri.arcgisruntime.geometry.Geometry,%20com.esri.arcgisruntime.geometry.SpatialReference)"&gt;GeometryEngine| arcgis-java&lt;/A&gt; and &lt;A class="link-titled" href="https://developers.arcgis.com/java/latest/sample-code/project.htm" title="https://developers.arcgis.com/java/latest/sample-code/project.htm"&gt;Project—ArcGIS Runtime SDK for Java | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2019 07:02:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/how-to-convert-epsg-3857-to-epsg-4326-in-sdk-java/m-p/93058#M277</guid>
      <dc:creator>nita14</dc:creator>
      <dc:date>2019-02-11T07:02:25Z</dc:date>
    </item>
  </channel>
</rss>

