Want to make 1 feature class for Generate Spatial Weights Matrix

11-18-2016 09:11 AM
New Contributor II


We have Hexagon grid (1.3miles) over US with our data attributes while we want to have 1st, 2nd or 3d .... nth neighbors analysis.  I run Generate Spatial Weights Matrix  and polygonneighbors_analysis in Arcpy.  The output is table and that table structure is origin Hex fid and  1st Neighbor fid.  so 6 times in origin Hex fid with 1 hex fid.  Do you have any idea (Arcpy script ) to make the neighbors to one object ?  Thanks!

0 Kudos
0 Replies