I think you are right, Ed.<br><br>A grep of relations-latest.osm.bz2 shows 1930 occurrences of  <tag k="type" v="restriction" />.<br><br>bzgrep 'tag k="restriction' relations-latest.osm.bz2 |sort |uniq -c |less |sort -nr<br>
<br>    815     <tag k="restriction" v="no_left_turn" /><br>    550     <tag k="restriction" v="no_right_turn" /><br>    249     <tag k="restriction" v="only_right_turn" /><br>
    129     <tag k="restriction" v="only_straight_on" /><br>     59     <tag k="restriction" v="no_u_turn" /><br>     53     <tag k="restriction" v="only_left_turn" /><br>
     44     <tag k="restriction" v="no_straight_on" /><br>     17     <tag k="restriction" v="only_turn_right" /><br>      8     <tag k="restriction" v="no_turn_left" /><br>
      6     <tag k="restriction" v="no_entry" /><br>      5     <tag k="restriction" v="permissive" /><br>      5     <tag k="restriction" v="only_turn_left" /><br>
      5     <tag k="restriction" v="only_left_right" /><br>      4     <tag k="restriction" v="only_straight" /><br>      4     <tag k="restriction" v="only_right" /><br>
      4     <tag k="restriction" v="no_turn_right" /><br>      3     <tag k="restriction" v="only_straigt_on" /><br>      3     <tag k="restriction" v="no right turn" /><br>
<br><br><div class="gmail_quote">On Sat, Nov 29, 2008 at 6:58 PM, Ed Loach <span dir="ltr"><<a href="mailto:ed@loach.me.uk">ed@loach.me.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">









<div link="blue" vlink="purple" lang="EN-GB">

<div><div class="Ih2E3d">

<p>Erik wrote:</p>

<p><span style="color: black;"> </span></p>

<p>> I've been looking at the 100 or so turn
restrictions[1] in use,</p>

<p><span style="color: black;"> </span></p>

</div><p><span style="color: black;"><a href="http://www.openstreetmap.org/api/0.5/relations/search?type=type&value=restriction" target="_blank">http://www.openstreetmap.org/api/0.5/relations/search?type=type&value=restriction</a></span></p>


<p><span style="color: black;">seems to omit at least the
no_right_turn restriction I added in Clacton - relation 31496</span></p>

<p><span style="color: black;"> </span></p>

<p><span style="color: black;">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?</span></p>

<p><span style="color: black;"> </span></p><font color="#888888">

<p><span style="color: black;">Ed</span></p>

</font></div>

</div>


<br>_______________________________________________<br>
talk mailing list<br>
<a href="mailto:talk@openstreetmap.org">talk@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/listinfo/talk" target="_blank">http://lists.openstreetmap.org/listinfo/talk</a><br>
<br></blockquote></div><br>