Map of Turn Restrictions (by Zartbitter)

From OpenStreetMap Wiki
Jump to navigation Jump to search
Map of Turn Restrictions (by Zartbitter).png

Map of Turn Restristions (by Zartbitter) available on https://ahorn.lima-city.de/tr is a quality assurance bug reporting tool for turn restriction relations.

Bookmarklet

javascript:(function(){ try { hash = window.location.hash.split('=')[1]; hashvals = hash.split('/'); params = '?zoom=' + hashvals[0] + '&lat=' + hashvals[1] + '&lon='+hashvals[2]; url = 'https://ahorn.lima-city.de/tr/' + params; window.open(url); } catch (e) { alert("Das scheint nicht funktioniert zu haben:\n" + e.message); } })()

Readable version

javascript:(function(){
  try {
    hash = window.location.hash.split('=')[1];
    hashvals = hash.split('/');
    params = '?zoom=' + hashvals[0] + '&lat=' + hashvals[1] + '&lon='+hashvals[2];
    url = 'https://ahorn.lima-city.de/tr/' + params;
    window.open(url);
  } catch (e) {
    alert("Das scheint nicht funktioniert zu haben:\n" + e.message);
  }
})()

[1]

See also

References