<?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: Point coordinates in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/point-coordinates/m-p/1061237#M5502</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Can you be more specific which function is converting it to 6 digits?&lt;BR /&gt;&lt;BR /&gt;I ran a quick test of your coordinates and here is what I was getting.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="java"&gt;public void testPointToDD() {

     double expectedLatitude = 30.7400728;
     double expectedLongitude = 76.7450737;

     Point expectedPointWGS84 = new Point(expectedLongitude, expectedLatitude, wgs84);

     String dd = CoordinateFormatter.toLatitudeLongitude(expectedPointWGS84,
        CoordinateFormatter.LatitudeLongitudeFormat.DECIMAL_DEGREES, 7);

    assertEquals("30.7400728N 076.7450737E", dd);
  }&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Rama&lt;/P&gt;</description>
    <pubDate>Tue, 25 May 2021 05:47:16 GMT</pubDate>
    <dc:creator>RamaChintapalli</dc:creator>
    <dc:date>2021-05-25T05:47:16Z</dc:date>
    <item>
      <title>Point coordinates</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/point-coordinates/m-p/1059800#M5498</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I am using Point function in Android code to pass values of latitude and longitude, If I sent values in 7 digits after decimal (30.7400728___76.7450737), below function converts it into 6 digits (30.740072___76.745073 ) which brings down quality of accuracy. Any suggestions or solutions will be helpful. I am pasting steps below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;com.esri.arcgisruntime.geometry.&lt;SPAN&gt;Point&lt;/SPAN&gt;?&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;startPoint &lt;/SPAN&gt;= Point(&lt;SPAN&gt;mapCenterLongitude&lt;/SPAN&gt;!!.&lt;EM&gt;&lt;SPAN&gt;toDouble&lt;/SPAN&gt;&lt;/EM&gt;(), &lt;SPAN&gt;mapCenterLatitude&lt;/SPAN&gt;!!.&lt;EM&gt;&lt;SPAN&gt;toDouble&lt;/SPAN&gt;&lt;/EM&gt;(), &lt;SPAN&gt;srWgs84&lt;/SPAN&gt;)&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;val &lt;/SPAN&gt;&lt;SPAN&gt;startLocation &lt;/SPAN&gt;= Graphic(&lt;SPAN&gt;startPoint&lt;/SPAN&gt;, &lt;SPAN&gt;locationMarker&lt;/SPAN&gt;)&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;val &lt;/SPAN&gt;&lt;SPAN&gt;toLatitudeLongitude &lt;/SPAN&gt;= &lt;SPAN&gt;CoordinateFormatter&lt;/SPAN&gt;.toLatitudeLongitude( &lt;SPAN&gt;mapPoint&lt;/SPAN&gt;, &lt;SPAN&gt;CoordinateFormatter&lt;/SPAN&gt;.&lt;SPAN&gt;LatitudeLongitudeFormat&lt;/SPAN&gt;.&lt;EM&gt;&lt;SPAN&gt;DECIMAL_DEGREES&lt;/SPAN&gt;&lt;/EM&gt;, &lt;SPAN&gt;7 &lt;/SPAN&gt;)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks,&lt;/DIV&gt;&lt;DIV&gt;Amit&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 20 May 2021 06:50:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/point-coordinates/m-p/1059800#M5498</guid>
      <dc:creator>Amitkhillan</dc:creator>
      <dc:date>2021-05-20T06:50:19Z</dc:date>
    </item>
    <item>
      <title>Re: Point coordinates</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/point-coordinates/m-p/1061237#M5502</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Can you be more specific which function is converting it to 6 digits?&lt;BR /&gt;&lt;BR /&gt;I ran a quick test of your coordinates and here is what I was getting.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="java"&gt;public void testPointToDD() {

     double expectedLatitude = 30.7400728;
     double expectedLongitude = 76.7450737;

     Point expectedPointWGS84 = new Point(expectedLongitude, expectedLatitude, wgs84);

     String dd = CoordinateFormatter.toLatitudeLongitude(expectedPointWGS84,
        CoordinateFormatter.LatitudeLongitudeFormat.DECIMAL_DEGREES, 7);

    assertEquals("30.7400728N 076.7450737E", dd);
  }&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Rama&lt;/P&gt;</description>
      <pubDate>Tue, 25 May 2021 05:47:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/point-coordinates/m-p/1061237#M5502</guid>
      <dc:creator>RamaChintapalli</dc:creator>
      <dc:date>2021-05-25T05:47:16Z</dc:date>
    </item>
  </channel>
</rss>

