I need to find the shortest distance between three towns, and suggest the cheapest cost to build a pipeline that will cross these 3 towns. I have 25 towns total and data for each of them: roads and cost based on lenght. I want to know if it is possible to solve this with network analyst since I had tried and I have to enter an start and end point (or an incident). In this case a don't have references, only points (or the towns locations). How do I do this?
Data: 25 towns locations
Road network between towns
Need: shortest distance for 3 towns out of the 25 towns
the cost wil be based on the length of the route.
My main concern is knowing if network analyst tools can help me to find the shorts distance between three town from the 25 towns locations.
Do I always need a reference or destination point? like for example closest facilities or best route.
For example it will be easy to calculate de best route to get from town 1 to 4 or 25 and to 9 but for these I need to start at 1 and specify that I am going to 4, 25 and 9
or if I wanted to know the closest town from town 5 also have to enter the reference first and find the closest town based on distance.
In this case where I don't have a starting point nor an end point. I have to compare each against all others and find three towns that are closer to each other than the others. What tool does these?