Skip to content

Instantly share code, notes, and snippets.

@jothirnadh
Created May 6, 2016 07:40
Show Gist options
  • Save jothirnadh/ff2845726e0bc5b4c0828daabc39c1cb to your computer and use it in GitHub Desktop.
Save jothirnadh/ff2845726e0bc5b4c0828daabc39c1cb to your computer and use it in GitHub Desktop.

Run the following code to extract the turn lane stats for every day.

We just need to change the dates and way attribute to turn:lanes, turn:lanes:forward and turn:lanes:backward to get individual stats in the following code.

/*
This has been generated by the overpass-turbo wizard.
The original search was:
“turn:lanes”
*/
[out:json][timeout:250];
// gather results
(
  // query part for: “turn:lanes”
  way["turn:lanes:backward"](changed:"2016-05-04T07:00:00Z","2016-05-06T07:01:00Z")({{bbox}});

);
// print results
out body;
>;
out skel qt;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment