<?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: GeometryEngine doesn't project correct point in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/geometryengine-doesn-t-project-correct-point/m-p/581834#M3983</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe your X and Y are mixed up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Y value cannot be outside of the range of -90 to 90 in projection 4326 since this is decimal degrees.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This image should help:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;IMG alt="Decimal degrees" class="image-1 jive-image j-img-original" src="https://desktop.arcgis.com/en/arcmap/10.4/manage-data/raster-and-images/GUID-DD3D6A75-E839-4EF7-84F6-F13DC0AF65BF-web.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Jul 2017 13:14:51 GMT</pubDate>
    <dc:creator>AlexanderNohe1</dc:creator>
    <dc:date>2017-07-19T13:14:51Z</dc:date>
    <item>
      <title>GeometryEngine doesn't project correct point</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/geometryengine-doesn-t-project-correct-point/m-p/581825#M3974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone.&lt;/P&gt;&lt;P&gt;The thing is, when I project the point, the getX() and getY() methods of the resulting point (&lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;mMapPoint&lt;/SPAN&gt;) &lt;EM&gt;sometimes&lt;/EM&gt; throw a GeometryException, because its X and Y values are NaN.&lt;/P&gt;&lt;P&gt;Here is the piece of code with the issue I am currently facing.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;double &lt;/SPAN&gt;locy = &lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;mLocationToShow&lt;/SPAN&gt;.getLatitude();
&lt;SPAN style="color: #000080; font-weight: bold;"&gt;double &lt;/SPAN&gt;locx = &lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;mLocationToShow&lt;/SPAN&gt;.getLongitude();

&lt;SPAN style="color: #293dd8; font-weight: bold;"&gt;Point &lt;/SPAN&gt;wgsPoint = &lt;SPAN style="color: #000080; font-weight: bold;"&gt;new &lt;/SPAN&gt;Point(locx, locy);
&lt;SPAN style="color: #293dd8; font-weight: bold;"&gt;SpatialReference &lt;/SPAN&gt;spatialNew = &lt;SPAN style="color: #293dd8; font-weight: bold;"&gt;SpatialReference&lt;/SPAN&gt;.&lt;SPAN&gt;create&lt;/SPAN&gt;(&lt;SPAN style="color: #293dd8; font-weight: bold;"&gt;4326&lt;/SPAN&gt;);
&lt;SPAN style="color: #293dd8; font-weight: bold;"&gt;SpatialReference &lt;/SPAN&gt;spatialMapView = &lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;mMapView&lt;/SPAN&gt;.getSpatialReference(); // its value is 102100&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;

&lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;mMapPoint &lt;/SPAN&gt;= (&lt;SPAN style="color: #293dd8; font-weight: bold;"&gt;Point&lt;/SPAN&gt;) &lt;SPAN style="color: #293dd8; font-weight: bold;"&gt;GeometryEngine&lt;/SPAN&gt;.&lt;SPAN&gt;project&lt;/SPAN&gt;(wgsPoint,
 spatialNew,
 spatialMapView);&lt;/SPAN&gt;&lt;SPAN style="color: #0073bf; font-weight: bold;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;mMapViewEnvelope &lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;new &lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;Envelope(&lt;/SPAN&gt;&lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;mMapPoint&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #293dd8; font-weight: bold;"&gt;Constants&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;kMapMiniMapStandardZoom&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;,
&lt;/SPAN&gt;&lt;SPAN style="color: #293dd8; font-weight: bold;"&gt;Constants&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;kMapMiniMapStandardZoom&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;);&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Maybe the issue has something to do with normalization (&lt;SPAN style="background-color: #ffffff;"&gt;normalizeCentralMeridian), but I can't figure out how to implement it in this case.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Any help is appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 01:00:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/geometryengine-doesn-t-project-correct-point/m-p/581825#M3974</guid>
      <dc:creator>spkiwijohnson</dc:creator>
      <dc:date>2021-12-12T01:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: GeometryEngine doesn't project correct point</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/geometryengine-doesn-t-project-correct-point/m-p/581826#M3975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Which version of the runtime are you using?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jul 2017 13:16:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/geometryengine-doesn-t-project-correct-point/m-p/581826#M3975</guid>
      <dc:creator>AlexanderNohe1</dc:creator>
      <dc:date>2017-07-18T13:16:32Z</dc:date>
    </item>
    <item>
      <title>Re: GeometryEngine doesn't project correct point</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/geometryengine-doesn-t-project-correct-point/m-p/581827#M3976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is 10.2.9.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jul 2017 13:25:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/geometryengine-doesn-t-project-correct-point/m-p/581827#M3976</guid>
      <dc:creator>spkiwijohnson</dc:creator>
      <dc:date>2017-07-18T13:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: GeometryEngine doesn't project correct point</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/geometryengine-doesn-t-project-correct-point/m-p/581828#M3977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What are these values:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE style="color: #000000; background-color: #ffffff; border-width: 0px 0px 0px 2px; border-style: initial initial initial solid; border-color: initial initial initial #cccccc; margin: 10px 0px; padding: 0px 0px 0px 20px;"&gt;&lt;SPAN style="color: #293dd8; border: 0px; font-weight: bold;"&gt;Constants&lt;/SPAN&gt;&lt;SPAN style="color: #000000; border: 0px; font-weight: inherit;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #660e7a; border: 0px; font-weight: bold;"&gt;kMapMiniMapStandardZoom&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jul 2017 13:29:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/geometryengine-doesn-t-project-correct-point/m-p/581828#M3977</guid>
      <dc:creator>AlexanderNohe1</dc:creator>
      <dc:date>2017-07-18T13:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: GeometryEngine doesn't project correct point</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/geometryengine-doesn-t-project-correct-point/m-p/581829#M3978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also, can you give us an idea of the coordinates before projecting?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jul 2017 13:32:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/geometryengine-doesn-t-project-correct-point/m-p/581829#M3978</guid>
      <dc:creator>AlexanderNohe1</dc:creator>
      <dc:date>2017-07-18T13:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: GeometryEngine doesn't project correct point</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/geometryengine-doesn-t-project-correct-point/m-p/581830#M3979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure! But I assume that the problem arises earlier (when projecting the point with&amp;nbsp;&lt;SPAN style="color: #000000; border: 0px; font-weight: inherit;"&gt;&lt;SPAN style="color: #293dd8; border: 0px; font-weight: bold;"&gt;GeometryEngine&lt;/SPAN&gt;.&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;project&lt;/SPAN&gt;&lt;/SPAN&gt;).&lt;/P&gt;&lt;PRE style="color: #000000; background-color: #ffffff; border-width: 0px 0px 0px 2px; border-style: initial initial initial solid; border-color: initial initial initial #cccccc; margin: 10px 0px; padding: 0px 0px 0px 20px;"&gt;&lt;SPAN style="color: #293dd8; border: 0px; font-weight: bold;"&gt;Constants&lt;/SPAN&gt;&lt;SPAN style="color: #000000; border: 0px; font-weight: inherit;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #660e7a; border: 0px; font-weight: bold;"&gt;kMapMiniMapStandardZoom = 350.0&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, the flow is the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;0. We call this whole method.&lt;/P&gt;&lt;P&gt;1. At the beginning the &lt;STRONG&gt;mMapPoint&amp;nbsp;&lt;/STRONG&gt;is not initialized. The &lt;STRONG&gt;mMapView&lt;/STRONG&gt; &lt;EM&gt;SpatialReference&lt;/EM&gt; is null.&lt;/P&gt;&lt;P&gt;2. Then we assign &lt;STRONG&gt;wgsPoint&lt;/STRONG&gt; the following values:&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;46.73234939575195&lt;/STRONG&gt; and&amp;nbsp;-&lt;STRONG&gt;117.00054168701172&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3. After this &lt;STRONG&gt;mMapPoint&lt;/STRONG&gt; is successfully assigned.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Then in another method &lt;STRONG&gt;mMapView&lt;/STRONG&gt; is assigned &lt;EM&gt;SpatialReference&lt;/EM&gt; value of &lt;STRONG&gt;102100&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. We call this whole method once more.&lt;/P&gt;&lt;P&gt;6. Again, the coordinates of &lt;STRONG&gt;wgsPoint&amp;nbsp;&lt;/STRONG&gt;&lt;SPAN&gt;are the same:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;STRONG&gt;46.73234939575195&lt;/STRONG&gt; and&amp;nbsp;-&lt;STRONG&gt;117.00054168701172&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;6&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;7. And NOW after we once again project the Point, when we try to call getX() or getY() on&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;mMapPoint&amp;nbsp;&lt;/STRONG&gt;the exception is thrown.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the only difference is in the following: during the first call of this method the &lt;EM&gt;SpatialReference&lt;/EM&gt; of&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;mMapView&amp;nbsp;&lt;/STRONG&gt; is null and during the second call it is&amp;nbsp;&lt;STRONG&gt;102100&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jul 2017 14:07:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/geometryengine-doesn-t-project-correct-point/m-p/581830#M3979</guid>
      <dc:creator>spkiwijohnson</dc:creator>
      <dc:date>2017-07-18T14:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: GeometryEngine doesn't project correct point</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/geometryengine-doesn-t-project-correct-point/m-p/581831#M3980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What happens when you assign the point a spatial reference rather than specifying it in the project method?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jul 2017 16:17:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/geometryengine-doesn-t-project-correct-point/m-p/581831#M3980</guid>
      <dc:creator>AlexanderNohe1</dc:creator>
      <dc:date>2017-07-18T16:17:55Z</dc:date>
    </item>
    <item>
      <title>Re: GeometryEngine doesn't project correct point</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/geometryengine-doesn-t-project-correct-point/m-p/581832#M3981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I just tried reproducing and was unsuccessful in getting any errors or exceptions thrown. &amp;nbsp;Could you be a bit more specific on the exception? &amp;nbsp;What exactly did it say? &amp;nbsp;Below is the code I used trying to repro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;@Override
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;protected&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;void&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;onCreate&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;Bundle savedInstanceState&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;super&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;onCreate&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;savedInstanceState&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="token function"&gt;setContentView&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;R&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;layout&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;activity_main&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;double&lt;/SPAN&gt; locX &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;117.000541687011726&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;double&lt;/SPAN&gt; locY &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;46.73234939575195&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Point point &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;Point&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;locX&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; locY&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Point z &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;projectPoint&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;point&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; null&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Log&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;e&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"NOHE"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;""&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; z&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;getX&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Point point1 &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;projectPoint&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;z&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; SpatialReference&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;create&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;102100&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Log&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;e&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"NOHE"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;""&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; point1&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;getX&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;

&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;private&lt;/SPAN&gt; Point &lt;SPAN class="token function"&gt;projectPoint&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;Point pointToProject&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; SpatialReference projectTo&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;double&lt;/SPAN&gt; locX &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; pointToProject&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;getX&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;double&lt;/SPAN&gt; locY &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; pointToProject&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;getY&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Point point &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;Point&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;locX&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; locY&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;return&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;Point&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; GeometryEngine&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;project&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;point&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; SpatialReference&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;create&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;4326&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; projectTo&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 01:00:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/geometryengine-doesn-t-project-correct-point/m-p/581832#M3981</guid>
      <dc:creator>AlexanderNohe1</dc:creator>
      <dc:date>2021-12-12T01:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: GeometryEngine doesn't project correct point</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/geometryengine-doesn-t-project-correct-point/m-p/581833#M3982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, that is definitely the same case! However, we should swap around&amp;nbsp;the initial coordinates in your example (it's location of Moskow, Idaho) and so we can now reproduce my issue.&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;double &lt;/SPAN&gt;locX = &lt;SPAN style="color: #0000ff;"&gt;46.73234939575195&lt;/SPAN&gt;;
&lt;SPAN style="color: #000080; font-weight: bold;"&gt;double &lt;/SPAN&gt;locY = -&lt;SPAN style="color: #0000ff;"&gt;117.00054168701172&lt;/SPAN&gt;;&lt;/PRE&gt;&lt;P&gt;After this, I get the same error in your example, as I got in my own code:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000;"&gt;&lt;EM&gt;Caused by: com.esri.core.geometry.GeometryException: This operation should not be performed on an empty geometry.&lt;/EM&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #800000;"&gt;&lt;EM&gt; at com.esri.core.geometry.Point.getX(SourceFile:143)&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 01:01:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/geometryengine-doesn-t-project-correct-point/m-p/581833#M3982</guid>
      <dc:creator>spkiwijohnson</dc:creator>
      <dc:date>2021-12-12T01:01:02Z</dc:date>
    </item>
    <item>
      <title>Re: GeometryEngine doesn't project correct point</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/geometryengine-doesn-t-project-correct-point/m-p/581834#M3983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe your X and Y are mixed up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Y value cannot be outside of the range of -90 to 90 in projection 4326 since this is decimal degrees.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This image should help:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;IMG alt="Decimal degrees" class="image-1 jive-image j-img-original" src="https://desktop.arcgis.com/en/arcmap/10.4/manage-data/raster-and-images/GUID-DD3D6A75-E839-4EF7-84F6-F13DC0AF65BF-web.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2017 13:14:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/geometryengine-doesn-t-project-correct-point/m-p/581834#M3983</guid>
      <dc:creator>AlexanderNohe1</dc:creator>
      <dc:date>2017-07-19T13:14:51Z</dc:date>
    </item>
  </channel>
</rss>

