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?
Here's the fixed version. I haven't tested performance on a large data set, so there may be places for improvement.
Sorry for a late feedback.You hav very wonderful skill. I think this issue is almost solved by your macro. But some issue still have.I tested by the same polygon shape files at ArcGIS and Alteryx.The result of Alteryx was bit different from ArcGIS Union.This is execution result screen.See the last picture, I think that the difference is what an intersected two polygon in the same layer don't be split.I think maybe it be used summarize spatial create_intersection.Thanks
That's interesting. It looks like ArcGIS kept sliver polygons, while Alteryx cleaned them up. What's the area of those differences in square meters? Can you send the two shapefiles to me?
Thank you for assistance.
I attach actual tested file. This is the Land Use Zoning Map of korea.
https://drive.google.com/file/d/0Bzi69qFmKjtqdWRDUDFrNFJEMFE/view?usp=sharing