Using Python to Union two polygons from separate gdb?

المشرف العام

Administrator
طاقم الإدارة
I'm in the processes of learning python and am stuck on an exercise. One part of the exercise requires me to union a polygon from one gdb with a polygon in another gdb.

Here is what I have, which isn't working:

arcpy.Union_analysis(in_features="polygonA #;polygonB #",out_feature_class="C:test.gdb/union",join_attributes="ALL",cluster_tolerance="#",gaps="GAPS") So polygonA is from one gdb, while polygonB is from test.gdb. I feel like I should put the pathway for polygonA in, but I'm not quite sure how to do so.

Any help is appreciated!

edit-- I'm using Arcmap 10.2.2 if that makes a big difference.



أكثر...
 
أعلى