Select to view content in your preferred language

Calculation distance from polygon centroid to a line

384
0
02-14-2012 04:07 AM
RonanO_Brien
New Contributor
Hi

I would like to calculate the distance from the centroid of each of the different polygons i have in a layer to another layer that contains a river as a line in it. So as output I would like the polygon in question of the layer and the shortest distance from that centroid to the river. I haven't done any coding in Arc yet so I'm at a bit of a lost to do this, even though I assume its pretty straightforward.

Thanks
0 Kudos
0 Replies