I have a census boundary polygon layer and a point layer containing facilities, I would like to calculate the distance from each facility to the centroid of the polygon boundary layer it is contained by. The near function as far as I can tell will only give zeros for pts contained within the polygon so that won't work for me. Also, if I convert the boundary polygons to centroids I don't know how to calculate only the distance to polygon centroids that each facility is contained by.
Any suggestions?
I suspect this may be a multipart soloution.