Closed rjgxfv closed 2 years ago
Also, to store the coordinates to give to the frontend, could there be another attribute that is an array of coordinates. The first element being the start, the last being teh finish, and any intermediate points(ORS gives intermediate points to path around things)
I added 'isInside' field and 'coords' field isInside: If outside distance(from ORS), then 1, else 0 coords: Under features/geometry/coordinates JSON.get("features").get("geometry").get("coordinates")
The FromToAction elemnt in the edge JSON will list if it is an outside node
The PathShape will list the coordinates of the path
To be able to dynamically change the outside distances, the node object needs to have a "isoutside" element also. In teh routing algorithm it will change the distance based on cuser parameters