<?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 geometryEngine - tolerance (intersect in this case) in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometryengine-tolerance-intersect-in-this-case/m-p/1075062#M73721</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;due to small differences in input data, I need to be able to control the tolerance on certain operations. As far as I understand, the tolerance is determined by the geometry's spatial reference.&lt;/P&gt;&lt;P&gt;Is it possible to get around this somehow ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, when trying to call &lt;STRONG&gt;&lt;EM&gt;geometryEngine.extendedSpatialReferenceInfo()&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;(to get tolerance information), I get the following error (note: the SpatialReference object is constructed from wkid = 4230)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markdown"&gt;geometryEngineBase.js:5 Uncaught (in promise) TypeError: Cannot read property 'xc' of null
at Function.a [as extendedSpatialReferenceInfo] (geometryEngineBase.js:5)
at Module.t (geometryEngine.js:5)
.......&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 02 Jul 2021 07:33:54 GMT</pubDate>
    <dc:creator>Oyvind</dc:creator>
    <dc:date>2021-07-02T07:33:54Z</dc:date>
    <item>
      <title>geometryEngine - tolerance (intersect in this case)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometryengine-tolerance-intersect-in-this-case/m-p/1075062#M73721</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;due to small differences in input data, I need to be able to control the tolerance on certain operations. As far as I understand, the tolerance is determined by the geometry's spatial reference.&lt;/P&gt;&lt;P&gt;Is it possible to get around this somehow ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, when trying to call &lt;STRONG&gt;&lt;EM&gt;geometryEngine.extendedSpatialReferenceInfo()&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;(to get tolerance information), I get the following error (note: the SpatialReference object is constructed from wkid = 4230)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markdown"&gt;geometryEngineBase.js:5 Uncaught (in promise) TypeError: Cannot read property 'xc' of null
at Function.a [as extendedSpatialReferenceInfo] (geometryEngineBase.js:5)
at Module.t (geometryEngine.js:5)
.......&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jul 2021 07:33:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometryengine-tolerance-intersect-in-this-case/m-p/1075062#M73721</guid>
      <dc:creator>Oyvind</dc:creator>
      <dc:date>2021-07-02T07:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: geometryEngine - tolerance (intersect in this case)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometryengine-tolerance-intersect-in-this-case/m-p/1075085#M73722</link>
      <description>&lt;P&gt;How are you calling that method? When testing in one of the &lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=ge-geodesicbuffer" target="_self"&gt;samples&lt;/A&gt;, it works correctly. Insert the following at line 191 to check it out.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;console.log(geometryEngine.extendedSpatialReferenceInfo(point.spatialReference));&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 02 Jul 2021 11:58:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometryengine-tolerance-intersect-in-this-case/m-p/1075085#M73722</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2021-07-02T11:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: geometryEngine - tolerance (intersect in this case)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometryengine-tolerance-intersect-in-this-case/m-p/1085619#M74129</link>
      <description>&lt;P&gt;Hi, sorry for delayed reply (vacation).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yeah, that's the way I'm calling it (there is no other way..). Note that we're using TypeScript (in a React App), via&amp;nbsp;@arcgis/core, so it could be an anomaly due to that.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Aug 2021 09:26:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometryengine-tolerance-intersect-in-this-case/m-p/1085619#M74129</guid>
      <dc:creator>Oyvind</dc:creator>
      <dc:date>2021-08-04T09:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: geometryEngine - tolerance (intersect in this case)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometryengine-tolerance-intersect-in-this-case/m-p/1086508#M74175</link>
      <description>&lt;P&gt;Tested with a dummy example using web-mercator (wkid = 102100), and it works like expected. In my case I'm using ED50 (wkid = 4230), which fails with the error above.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A multitude of the geometryEngine functions states that they only support WGS84 (4326) and Web Mercator (102113, 102100, 3857), so perhaps this is the case here too. In other words, the tolerance is unknown or a default value somewhere.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Aug 2021 11:18:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometryengine-tolerance-intersect-in-this-case/m-p/1086508#M74175</guid>
      <dc:creator>Oyvind</dc:creator>
      <dc:date>2021-08-06T11:18:07Z</dc:date>
    </item>
  </channel>
</rss>

