Select to view content in your preferred language

Question about overlap or gap when clipping geometries

138
0
3 weeks ago
frankm
by
Occasional Contributor

Hi!

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.

We are using something like this:

GeometryEngine.intersection(geometry, mainGeometry)


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.

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?

Screenshot.jpg

We are using a WKID like this:

WKID 25833, which would be UTM Zone 33N, if I am not mistaken.

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.

0 Kudos
0 Replies