Highlighting everywhere I can go without hitting a traffic light?

Hi all,

Let’s say I live on an island with several neighborhoods. Most intersections do not have traffic lights, but there are traffic lights at some of the intersections, and at many chokepoints between neighborhoods.

Because of this, it is often not possible to avoid traffic lights when travelling from neighborhood to neighborhood. However, many intra-neighborhood trips are still possible.

I have GPS coordinates of all the traffic lights.

How complex would it be to create each of the following web apps?

1: A user could input the position of their car and in return see a map with highlighting on all the roads they can access without going through a trafficlight-controlled intersection.

  1. A user could ask for navigation, and the app would tell them if it was possible to arrive at the destination without crossing an intersection controlled by a trafficlight.

Is there a way to do this with basic OSM skills? If I had GPS coordinates of all the traffic lights, and te routing algorithm was set to avoid those points by say, 100’, how hard would it be to highlight all the roads that a car could access, given its location… ?

Thanks so much!! I have been thinking about this a lot but don’t know where to start.

2 posts - 2 participants

Read full topic


Ce sujet de discussion accompagne la publication sur https://community.openstreetmap.org/t/highlighting-everywhere-i-can-go-without-hitting-a-traffic-light/103959