<?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 value does not fall within the expected range in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/geometryengine-value-does-not-fall-within-the/m-p/648353#M8084</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This issue appears to be fixed at 100.7.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Feb 2020 22:03:18 GMT</pubDate>
    <dc:creator>MarkCederholm</dc:creator>
    <dc:date>2020-02-28T22:03:18Z</dc:date>
    <item>
      <title>GeometryEngine value does not fall within the expected range</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/geometryengine-value-does-not-fall-within-the/m-p/648351#M8082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;UPDATE: I was able to create a project that duplicates the problem [attached].&amp;nbsp; GeometryEngine at 100.2 has a problem which 10.2.7 doesn't have.&amp;nbsp; I have two different geometries with the same spatial reference, yet hydrated from different sources (one from the map, one from a feature layer).&amp;nbsp; If I try to to perform an operation such as Contains or Disjoint, I get the error "Value does not fall within the expected range".&amp;nbsp; If I project one geometry to the other's SR then the operation works fine.&amp;nbsp; The SR is defined by a WkText, and the WkText of both SRs is identical.&amp;nbsp; Has anyone else seen this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2018 15:06:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/geometryengine-value-does-not-fall-within-the/m-p/648351#M8082</guid>
      <dc:creator>MarkCederholm</dc:creator>
      <dc:date>2018-06-27T15:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: GeometryEngine value does not fall within the expected range</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/geometryengine-value-does-not-fall-within-the/m-p/648352#M8083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for sharing your data and code. I'm able to reproduce the issue. SpatialReference.Equals should have been true regardless of z-value and GeometryEngine.RemoveZAndM should have been enough to clear feature geometry of z to allow GeometryEngine.Contains to work. However, SpatialReference.Equals still fail, although the wkt string matched. I have logged an issue for this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Meanwhile, you can use the following workaround before calling GeometryEngine.Contains or SpatialReference.Equals.&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;geomFeat &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; GeometryEngine&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;RemoveZAndM&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;geomFeat&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
geomFeat &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; Geometry&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;FromJson&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;geomFeat&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;ToJson&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;&lt;SPAN class="line-numbers-rows"&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 03:29:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/geometryengine-value-does-not-fall-within-the/m-p/648352#M8083</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2021-12-12T03:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: GeometryEngine value does not fall within the expected range</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/geometryengine-value-does-not-fall-within-the/m-p/648353#M8084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This issue appears to be fixed at 100.7.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2020 22:03:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/geometryengine-value-does-not-fall-within-the/m-p/648353#M8084</guid>
      <dc:creator>MarkCederholm</dc:creator>
      <dc:date>2020-02-28T22:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: GeometryEngine value does not fall within the expected range</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/geometryengine-value-does-not-fall-within-the/m-p/1093250#M10387</link>
      <description>&lt;P&gt;Looks like the issue has reappeared at 100.12.0 -- now the error message is&lt;/P&gt;&lt;P&gt;"Invalid argument: geometry1 and geometry2 must have equivalent spatial references."&lt;/P&gt;&lt;P&gt;Fortunately, I've kept my workaround code.&lt;/P&gt;&lt;P&gt;UPDATE: I can't duplicate the error using the sample project above, so something else must be going on.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Sep 2021 23:35:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/geometryengine-value-does-not-fall-within-the/m-p/1093250#M10387</guid>
      <dc:creator>MarkCederholm</dc:creator>
      <dc:date>2021-09-15T23:35:45Z</dc:date>
    </item>
  </channel>
</rss>

