<?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: Question about overlap or gap when clipping geometries in Swift Maps SDK Questions</title>
    <link>https://community.esri.com/t5/swift-maps-sdk-questions/question-about-overlap-or-gap-when-clipping/m-p/1697083#M681</link>
    <description>&lt;P&gt;Loop back on this… I don't have a good answer on what exactly caused your problem. However, in 200.8, we introduced &lt;A href="https://developers.arcgis.com/swift/release-notes/release-notes-for-200-8/#customizable-precision-with-tolerance-and-resolution" target="_blank" rel="noopener"&gt;customizable precision for a spatial reference&lt;/A&gt;. Maybe you can try to set the tolerance to a smaller value and see if the &lt;EM&gt;GeometryEngine&lt;/EM&gt; gives the result you want. Let us know the result if you have some time to try it out. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 17 Apr 2026 22:21:15 GMT</pubDate>
    <dc:creator>Ting</dc:creator>
    <dc:date>2026-04-17T22:21:15Z</dc:date>
    <item>
      <title>Question about overlap or gap when clipping geometries</title>
      <link>https://community.esri.com/t5/swift-maps-sdk-questions/question-about-overlap-or-gap-when-clipping/m-p/1670421#M642</link>
      <description>&lt;P class=""&gt;Hi!&lt;/P&gt;&lt;P class=""&gt;I am trying to debug a method we are using in order to clip a geometry with another. We have this feature in our app where when the user creates a new geometry, they have the option to clip the new one with an existing one so that there are no overlaps.&lt;/P&gt;&lt;P class=""&gt;We are using something like this:&lt;/P&gt;&lt;LI-CODE lang="swift"&gt;GeometryEngine.intersection(geometry, mainGeometry)&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;The resulting geometry we then save looks just what we wanted. However, when I zoom (a lot) on the intersection, I see there is either a small gap or an overlap.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;As you can see, the overlap is quite small, and I just wonder if this is a precision issue, either with the projection or data?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot.jpg" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/144820i552621F7E52CAA18/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot.jpg" alt="Screenshot.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P class=""&gt;We are using a WKID like this:&lt;/P&gt;&lt;P class=""&gt;WKID 25833, which would be UTM Zone 33N, if I am not mistaken.&lt;/P&gt;&lt;P class=""&gt;For very large geometries, this overlap accumulates and becomes a problem later on. It would be great if there was a way to address this. Any advice appreciated.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Dec 2025 11:33:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/swift-maps-sdk-questions/question-about-overlap-or-gap-when-clipping/m-p/1670421#M642</guid>
      <dc:creator>frankm</dc:creator>
      <dc:date>2025-12-04T11:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: Question about overlap or gap when clipping geometries</title>
      <link>https://community.esri.com/t5/swift-maps-sdk-questions/question-about-overlap-or-gap-when-clipping/m-p/1697083#M681</link>
      <description>&lt;P&gt;Loop back on this… I don't have a good answer on what exactly caused your problem. However, in 200.8, we introduced &lt;A href="https://developers.arcgis.com/swift/release-notes/release-notes-for-200-8/#customizable-precision-with-tolerance-and-resolution" target="_blank" rel="noopener"&gt;customizable precision for a spatial reference&lt;/A&gt;. Maybe you can try to set the tolerance to a smaller value and see if the &lt;EM&gt;GeometryEngine&lt;/EM&gt; gives the result you want. Let us know the result if you have some time to try it out. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2026 22:21:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/swift-maps-sdk-questions/question-about-overlap-or-gap-when-clipping/m-p/1697083#M681</guid>
      <dc:creator>Ting</dc:creator>
      <dc:date>2026-04-17T22:21:15Z</dc:date>
    </item>
  </channel>
</rss>

