Hi there
My customer require alteryx macro that the function is the same ArcGIS UNION.
Is it possible to make alteryx macro?
How ArcGIS Union (Analysis) works, see below the picture.
It seems to have been a projection issue, or a geometry problem.
I defined the projection of the shapefiles as Korea_2000_Korea_Central_Belt_2010 in ArcGIS, ran the Repair Geometry tool to fix self-intersecting polygons, then ran the shapefiles through the ArcGIS Union tool and the Alteryx macro I sent. The results are identical.
Look at the Spatial Process tool. Create Intersection Object will give the same result.
If you are trying to union two layers, the attached workflow shows how to do it. The key is to find the intersecting areas, then cut those areas out from the original shapes, then union everything back together.
Let me know what questions you have.
Here's a macro version.
Hi Philip
Thank you for your interest and effort.
I tested your macro by a various case. But it didn't exactly work as ArcGIS union.
Two circle intersected area must can be created another new feature.
Seeing this picture, We will find that there is the union macro somewhat different it.
http://pro.arcgis.com/en/pro-app/tool-reference/analysis/how-union-analysis-works.htm
I think that two circle shape create new feature using the summarize spatial create intersection.
What are you thinking about?