Thank you Greg and CP for reminding me about the principles of ground 
truth. I understand you are supposed to tag what is on the ground, do not 
map against Mapnik styles, etc., etc.. I have stopped my practice about 
moving traffic lights. I'm sorry I didn't provide that detail.

My original question was not about how to map traffic lights, but how 
OsmAnd's routing algorithms handle this situation. I understand that 
routers *should* treat a cluster of lights as a singularity. I am attemping 
to learn if OsmAnd's particular implmentation of A* routing handles that or 
not.

As a larger picture to better understand this, I plan on asking developers 
from OSRM and GraphHopper as well.

I understand that OsmAnd is unique in that you can customize broad routing 
decisions by modifying routing.xml:

    https://osmand.net/build_it

But the file crudely hints that triple lights are not handled. It still 
doesn't explain if and how double lights are weighted when, say, going 
straight through a double carriaged intersection.

If this is not a group that the devs listen to, I apologize for taking up 
everyone's time. I will keep looking elsewhere.




On Thursday, July 25, 2019 at 1:26:43 PM UTC-6, Curtis Brown wrote:
>
> Hi everyone,
>
> I want to ask about traffic lights in dual-carriaged intersections. 
> Sometimes the intersections have traffic_lights on the intersecting nodes 
> where the ways cross, and sometimes the lights are outside of the 
> intersecting nodes. Here are two examples of intersections and the 
> different ways traffic_lights are placed:
>
>   lights on nodes:  
> https://www.openstreetmap.org/#map=19/35.13084/-106.58631
>   lights off nodes: 
> https://www.openstreetmap.org/#map=19/31.76873/-106.31877
>
> I have been moving traffic lights out out of these intersections, largely 
> for the reason brought up here:
>
>   https://groups.google.com/forum/#!topic/osmand/jHjZ_zGF_Vg
>
> I would see that if a user needs to make a left turn, through an 
> intersection with lights on intersecting nodes, the router would penalize 
> the path heavily for having to route through three traffic lights in a row. 
> I have been told that if the intersection has lights in the intersecting 
> nodes, that is sufficient for mapping and should not change. The OSM Wiki 
> page seems to state that "there is no well established convention on how 
> this problem should be ideally solved".
>
>   
> https://wiki.openstreetmap.org/wiki/Tag:highway%3Dtraffic_signals#Tag_all_incoming_ways
>
> I am genuinely curious to know from OsmAnd developers what their point of 
> view is. Does OsmAnd's routing prefer traffic_lights moved out of 
> intersecting nodes of dual-carriaged intersections, or does its routing 
> treat a cluster of traffic_light'd nodes as a single weight?                
>          
>
> Thank you in advance for helping me understand.   -curtis
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Osmand" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/osmand/386e1ca5-331a-4cf0-abf3-448a81a44a30%40googlegroups.com.

Reply via email to