You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to merge two polygon that should have one or several segment in common (or at least they should be very near). But they will never completely overlap. I tried union_ with the default strategy without any success, and didn't find anything about Union_ Strategy Concept. So I'm wondering how I should do that? If it's possible.
Union should merge them unless they were close but not overlapping, then both polygons should be in the output. Could you share the case which doesn't work for you? Have in mind that the orientation and closure of Polygons has to be correct (so the input has to be valid) and that the the output of union_() has to be MultiPolygon.
Union strategies are undocumented (as most of the strategies).
The question it is not very clear to me, what I understand is that the user want to merge polygons only in the case they share one (or multiple edges), in other words their intersection is a set of linestrings and not polygons. It is very old but just for the history I am moving it to discussions.
Activity
awulkiew commentedon Apr 22, 2018
Hi,
Union should merge them unless they were close but not overlapping, then both polygons should be in the output. Could you share the case which doesn't work for you? Have in mind that the orientation and closure of Polygons has to be correct (so the input has to be valid) and that the the output of
union_()has to be MultiPolygon.vissarion commentedon Oct 2, 2024
Union strategies are undocumented (as most of the strategies).
The question it is not very clear to me, what I understand is that the user want to merge polygons only in the case they share one (or multiple edges), in other words their intersection is a set of linestrings and not polygons. It is very old but just for the history I am moving it to discussions.