title: Given a OSM node id, how do I find the previous x points in all directions?
body: <p>I have a OSM node Id/ latitude-longitude for a point in the road(say point Z). How do I find the previous x points that I need to travel to reach Z in all directions? I was thinking overpass API could help me. But it is able to return points only with tags. I am not able to get it return the node Ids on the road/way.</p>
  
  <p>Can you please suggest any API/tutorial that could help? </p>