You are not logged in.
- Topics: Active | Unanswered
Announcement
Please create new topics on the new site at community.openstreetmap.org. We expect the migration of data will take a few weeks, you can follow its progress here.***
Pages: 1
#1 2015-11-09 14:17:18
- MorbZ
- Member
- From: Berlin
- Registered: 2013-05-08
- Posts: 33
Announcing OSM Restriction Validator
Just wanted to let you know I made the OSM Restriction Validator (Github) that uses the Overpass API.
Features:
- Finds unnecessary restrictions (when oneway streets allow no other turn possibilities)
- Finds restrictions that block access to a street (in which case "oneway" or "access=no" would be more appropriate)
- Displays all restrictions with their connected streets
- Find syntactical errors
Offline
#2 2015-11-13 17:15:05
- Klumbumbus
- Member
- From: Erzgebirgskreis
- Registered: 2014-01-12
- Posts: 630
- Website
Re: Announcing OSM Restriction Validator
Hm, the website does not work for me. I see no map, just "please zoom in to load data".
Offline
#3 2015-11-13 17:48:12
- MorbZ
- Member
- From: Berlin
- Registered: 2013-05-08
- Posts: 33
Re: Announcing OSM Restriction Validator
Thanks, there was a bug in Firefox. Should work now.
Offline
#4 2015-11-13 18:45:55
- Klumbumbus
- Member
- From: Erzgebirgskreis
- Registered: 2014-01-12
- Posts: 630
- Website
Re: Announcing OSM Restriction Validator
Works fine now, thanks.
Offline
#5 2015-11-14 10:10:15
- Zartbitter
- Member
- Registered: 2009-04-22
- Posts: 201
Re: Announcing OSM Restriction Validator
Good visualization, thanks!
Just two remarks:
1. It would be nice to get some kind of permalink.
2. Your hint "The restrictions at this node make a street inaccessible. Consider using oneway or access=no instead of restrictions" is misleading. One example:
https://www.openstreetmap.org/relation/1130638 and https://www.openstreetmap.org/relation/1130639
Gaußweg is accessible by everyone (access=no is wrong). You can move in Gaußweg in both directions (oneway is wrong). Only entering Gaußweg from Adelbyer Kirchenweg is forbidden at this junction. Same applies for many other restrictions "that block access to a street".
I fear that some mappers will delete correct turn restriction because of this hint and add plain wrong attributes to the ways. Maybe a hint like "please check if there's a oneway restriction or another access restriction" will be a better choice.
Offline
#6 2015-11-14 15:10:08
- AlbertP
- Member
- Registered: 2015-07-29
- Posts: 107
Re: Announcing OSM Restriction Validator
One remark:
I added http://www.openstreetmap.org/relation/5638038 to prevent right turn from http://www.openstreetmap.org/way/93710716 into http://www.openstreetmap.org/way/93710718. But the restriction validator shows me that the relation is unnecessary as there is no other turn possibility.
Offline
#7 2015-11-15 14:10:56
- MorbZ
- Member
- From: Berlin
- Registered: 2013-05-08
- Posts: 33
Re: Announcing OSM Restriction Validator
1. It would be nice to get some kind of permalink.
Good idea, I'll add that.
2. Your hint "The restrictions at this node make a street inaccessible. Consider using oneway or access=no instead of restrictions" is misleading. One example:
https://www.openstreetmap.org/relation/1130638 and https://www.openstreetmap.org/relation/1130639
Gaußweg is accessible by everyone (access=no is wrong). You can move in Gaußweg in both directions (oneway is wrong). Only entering Gaußweg from Adelbyer Kirchenweg is forbidden at this junction. Same applies for many other restrictions "that block access to a street".I fear that some mappers will delete correct turn restriction because of this hint and add plain wrong attributes to the ways. Maybe a hint like "please check if there's a oneway restriction or another access restriction" will be a better choice.
I've seen it multiple times that main streets in Berlin were blocked due to wrongly set restrictions, which caused major problems in routing. That's why I'm quite sensitive about those and the main reason I developed the tool. Thanks to your example I learned that there can be exceptions. I'm going to fit the text accordingly, however I trust mappers that they're careful when making such changes.
Offline
#8 2015-11-15 18:26:43
- MorbZ
- Member
- From: Berlin
- Registered: 2013-05-08
- Posts: 33
Re: Announcing OSM Restriction Validator
One remark:
I added http://www.openstreetmap.org/relation/5638038 to prevent right turn from http://www.openstreetmap.org/way/93710716 into http://www.openstreetmap.org/way/93710718. But the restriction validator shows me that the relation is unnecessary as there is no other turn possibility.
Your example containes restrictions on cycleways, which are currently not supported by the tool, what caused the warning. I've updated it to ignore such restrictions.
Offline
#9 2015-11-17 09:52:54
- geozeisig
- Member
- From: Berlin
- Registered: 2013-01-29
- Posts: 151
Re: Announcing OSM Restriction Validator
Which are the improvements to this page?
Offline
#10 2015-11-17 09:55:12
- Lübeck
- Member
- Registered: 2009-02-17
- Posts: 2,874
Re: Announcing OSM Restriction Validator
hi !
is there a legend for this map? because some linestyles are difficult to understand.
regards Jan
Redmi Note 9 Pro mit Android 11, Tablet Android 8.1, PC: Win10
Offline
#11 2015-11-17 11:45:26
- MorbZ
- Member
- From: Berlin
- Registered: 2013-05-08
- Posts: 33
Re: Announcing OSM Restriction Validator
hi !
is there a legend for this map? because some linestyles are difficult to understand.
regards Jan
The colors are described in the "About" section on the page. Apart from that, complete arrows mean it's a one way street. Arrows on only one side of green/red lines mean it's a two way street, where the restriction only affects the shown direction.
Offline
Pages: 1