mueschel / OsmLaneVisualizer

18 stars 9 forks source link

OsmLaneVisualizer

A simple tool to show lane attributes of way data in OSM. Data can be fetched from Overpass API, output is created as Html code.

<Advertisment>Support for at least 105 different keys (that's more than a standard US keyboard!).</Advertisment>

The code is free to use under conditions of cc-by-nc-sa (http://creativecommons.org/licenses/by-nc-sa/4.0/)

How to get data

Option 1: Enter a way or relation id, or the ref or name of a relation into the appropriate box and click the "GO" button next to it.

Option 2: Enter your own query or a valid json object (as output by Overpass) into the box "The Query" and click the "GO" button.

If you change configuration (read the mouse-over text for explanations), click the same "GO" button again.

Interpreted Tags

Number of Lanes

The number of lanes is determined by reading all tags of way containing a :lanes part and the lanes tag itself. For both forward and backward direction, the maximal number is used - this might not be the intended number of lanes but helps to find tagging errors (e.g. stray pipes).