On Sat, Nov 29, 2008 at 5:58 PM, Ed Loach <[EMAIL PROTECTED]> 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
It's actually 100 relations exactly, so it's apparently 100 relations per search.: http://wiki.openstreetmap.org/wiki/OSM_Protocol_Version_0.5#Searching_for_Objects_by_Tag But using OSM XAPI I still get results that differ from Nics. #curl -gl http://osmxapi.hypercube.telascience.org/api/0.5/relation[type=restriction] |tee restriction|grep '<relation' |wc -l 1916 # sed 's/.*<relation.*/relation/;s/.*role=.via..*/via/; >t >d' restrictions |uniq -c|grep -v 1|grep via|wc -l 20 # grep '<relation' restrictions |wc -l 1916 # grep "tag k='restriction" restrictions|sort |uniq -c |sort -rn 705 <tag k='restriction' v='no_left_turn'/> 503 <tag k='restriction' v='no_right_turn'/> 230 <tag k='restriction' v='only_right_turn'/> 93 <tag k='restriction' v='only_straight_on'/> 56 <tag k='restriction' v='no_u_turn'/> 48 <tag k='restriction' v='only_left_turn'/> 39 <tag k='restriction' v='no_straight_on'/> 14 <tag k='restriction' v='only_turn_right'/> 8 <tag k='restriction' v='no_turn_left'/> 5 <tag k='restriction' v='only_turn_left'/> 5 <tag k='restriction' v='only_left_right'/> 5 <tag k='restriction' v='no_entry'/> 4 <tag k='restriction' v='permissive'/> 4 <tag k='restriction' v='only_right'/> 3 <tag k='restriction' v='only_straigt_on'/> 3 <tag k='restriction' v='only_straight'/> _______________________________________________ talk mailing list [email protected] http://lists.openstreetmap.org/listinfo/talk

