[OSM-talk] Turn restriction docs
Nic Roets
nroets at gmail.com
Sat Nov 29 17:38:34 GMT 2008
I think you are right, Ed.
A grep of relations-latest.osm.bz2 shows 1930 occurrences of <tag k="type"
v="restriction" />.
bzgrep 'tag k="restriction' relations-latest.osm.bz2 |sort |uniq -c |less
|sort -nr
815 <tag k="restriction" v="no_left_turn" />
550 <tag k="restriction" v="no_right_turn" />
249 <tag k="restriction" v="only_right_turn" />
129 <tag k="restriction" v="only_straight_on" />
59 <tag k="restriction" v="no_u_turn" />
53 <tag k="restriction" v="only_left_turn" />
44 <tag k="restriction" v="no_straight_on" />
17 <tag k="restriction" v="only_turn_right" />
8 <tag k="restriction" v="no_turn_left" />
6 <tag k="restriction" v="no_entry" />
5 <tag k="restriction" v="permissive" />
5 <tag k="restriction" v="only_turn_left" />
5 <tag k="restriction" v="only_left_right" />
4 <tag k="restriction" v="only_straight" />
4 <tag k="restriction" v="only_right" />
4 <tag k="restriction" v="no_turn_right" />
3 <tag k="restriction" v="only_straigt_on" />
3 <tag k="restriction" v="no right turn" />
On Sat, Nov 29, 2008 at 6:58 PM, Ed Loach <ed at loach.me.uk> wrote:
> Erik wrote:
>
>
>
> > I've been looking at the 100 or so turn restrictions[1] in use,
>
>
>
>
> http://www.openstreetmap.org/api/0.5/relations/search?type=type&value=restriction
>
> seems to omit at least the no_right_turn restriction I added in Clacton -
> relation 31496
>
>
>
> If I've added it wrong perhaps someone can let me know why. If I've added
> it correctly but the api will only return a certain number of restrictions
> at a time, perhaps there are a few more than 100?
>
>
>
> Ed
>
> _______________________________________________
> talk mailing list
> talk at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20081129/1b129806/attachment.html>
More information about the talk
mailing list