Mostly the tags like traffic signals, stop sign, turning circle, crossing etc., are associated with the junction nodes. When the vehicle is approaching towards such junction nodes, the speed automatically gets reduced. Is the current version of Graph Hopper handling such use cases. If yes, could you please let me know how it is being handled.
If not, could you please suggest me the possible way to implement penalty on the edges which are approaching those junction nodes.
Right now, I am thinking of reducing the speed of vehicles in the handleWayTags() of OSMParser
when the addEdge() operation is being performed. But I am struggling to get the sense of direction; if the vehicle is moving towards Junction node having those tags, the edge weight should be impacted but not the other way around. Could you please confirm me whether I am going in the right direction or not
the tags like traffic signals, stop sign, turning circle, crossing etc., are associated with the junction nodes.
None of these are used to modify the speed currently. Turning times at a junction would probably be best implemented via turn costs. You can obtain all node tags for each way in the addEdge by calling way.getTag("node_tags").
Yes, that is correct. But I did not mean to use turn costs from OSM, but rather set turn costs on the routing graph (you can do this for every turn) wherever you think one needs to slow down (judging from traffic_signal etc. tags).