# Calculate distance from polygon to nearest existing line in geometric network, along network routes

In ArcMap 10.6, I have a parcels layer and a sewage lines geometric network for a small town. Many of the parcels are still undeveloped. In an effort to accurately assess them for tax purposes, their distance to existing "main" lines affects their value (further from main line = less valuable since connecting parcel to main lines costs a lot).

I need to find distance for each parcel to nearest existing main line along geometric network. In attached image, I need to calculate the distance following the path of the blue line, which follows the route along future mains until it hits existing main. I know that if I did a spatial join of parcels to nearest existing line, it would do so like the red dashed line, which is not what I want.

Is there any way for me to find these distances?

• This is doable without network analyst. Similar to this you'll need to compute distance of nodes to nearest outlet gis.stackexchange.com/questions/307336/… However if you have spatial analyst accurate enough solution can be obtained using cost distance. Shall I post solution? Mar 21, 2019 at 19:39
• Thank you for the suggestion. I believe I have convinced my organization to get Network Analyst since there are a few other things that could get done with it. Mar 21, 2019 at 22:53