Hello,

I am having issues trying to find the right geoprocess that will do the following:

I have a polygon feature filled with polygons. I also have created a point feature which has all of the geographic centers for each polygon.

I would like to connect each point to points around that were generated from polygons that border the polygon. So if a polygon had 3 neighbor polygons, its geographic center would have a line to each of the 3 points that represent the geographic centers of neighboring polygons.

I do not have too much experience with creating map topologies or networks in general, but I have tried looking and I do not think there is a tool that would do this as I am asking, but I am likely wrong.

Does anyone have any experience creating graph networks like this? I have attached an example image that gives you an idea of what I am talking about.

I would appreciate any advice!

Thanks!

I am having issues trying to find the right geoprocess that will do the following:

I have a polygon feature filled with polygons. I also have created a point feature which has all of the geographic centers for each polygon.

I would like to connect each point to points around that were generated from polygons that border the polygon. So if a polygon had 3 neighbor polygons, its geographic center would have a line to each of the 3 points that represent the geographic centers of neighboring polygons.

I do not have too much experience with creating map topologies or networks in general, but I have tried looking and I do not think there is a tool that would do this as I am asking, but I am likely wrong.

Does anyone have any experience creating graph networks like this? I have attached an example image that gives you an idea of what I am talking about.

I would appreciate any advice!

Thanks!

1. First, you need to create the correct table with the polygon neighbors tool in ArcGIS.

2. Then, use the mean center tool to create points that are the geometric centers of each polygon (in my case, census block groups). Also make sure these points have a good identifier, I used a census block group unique GEOID.

3. Next, join the polygon neighbors table with a one to many process as described in the link I used above. You essentially join the table to the points using the GEOID and by selecting "keep only matching records", then you use the copy features tool to copy the points to a new layer that will have each of the points now, duplicated, and each record with an original point GEOID and a neighbor point GEOID.

4. This is where I found my new solution. I have a table with pairs of point GEOIDs, and the table currently had the Xcord and Ycord for each source point, so all I needed to do was another join based on the neighbor GEOID from the original layer of points to get in one layer both the original point coordinates and the neighbor coordinates.

5. Then I was able to use the XY to line tool, specifying the original x and y coordinate fields and the neighbor x and y coordinate fields. The only error I ran into was the output with all of the lines contains nothing but null values... I wish it would contain the GEOID's and the coordinates of the source points for the line. I have attached a picture below.

This ended up working and should be exactly what I need.

Can I get points for answering my own question? :cool:

Thank you Sol for your initial suggestion!