RouteSegDistances
Returns the distances in meters for each segment within the route previously estimated. For example, consider the route presented above, this route has 6 segments from the orgin to the destination completing 2.841 km:
set GISCoords=[35.92209179726962, -84.14211464700368, 35.90779395922772, -84.14752180168537]
GIS FindRoute
GIS RouteSegDistances
With this command OpenDSS-GIS will return the distances of each segment included in this route as follows:
[160.90,166.30,408.20,141.60,1504.10,460.20,0.00,]
The following conditions need to be fulfilled:
1. OpenDSS-GIS must be installed
2. OpenDSS-GIS must be initialized (use GIS Start command)
3. The model needs to have the correct GISCoords file