Solved! Go to Solution.
Hi everyone,
I am looking for a tool that allows me to create a shapefile with lines connecting adjacent polygons.
For example: if polygon A has 2 adjacent polygons (B and C), I need to create a shapefile with a line that connects centroid of polygon A with centroid of polygon B and another line that connects centroid of polygon A with centroid of polygon C. The total number of polygons from which I have to do this is 300.
I have been able to do it for 1 polygon but it takes me 6 steps and the creation of multiples shapefiles and tables in the process. It's not a choice when trying to repeat the process for the 300 polygons of the shapefile. I need an easier way to do it !
Any help would be muuuuuch appreciated !
Thank you.
Hi everyone,
I am looking for a tool that allows me to create a shapefile with lines connecting adjacent polygons.
For example: if polygon A has 2 adjacent polygons (B and C), I need to create a shapefile with a line that connects centroid of polygon A with centroid of polygon B and another line that connects centroid of polygon A with centroid of polygon C. The total number of polygons from which I have to do this is 300.
I have been able to do it for 1 polygon but it takes me 6 steps and the creation of multiples shapefiles and tables in the process. It's not a choice when trying to repeat the process for the 300 polygons of the shapefile. I need an easier way to do it !
Any help would be muuuuuch appreciated !
Thank you.
Thanks a lot, that was exactly what I meant !!
Just one more question: How can I delete from the final shapefile the duplicate lines (those connecting the same polygons) ?
The line connecting polygon A to polygon B is exactly the same as that connecting polygon B to polygon A.
I need to delete duplicate lines.
I would really appreciate your help !