On 9/12/06, <b class="gmail_sendername">Robert Hart</b> <<a href="mailto:Robert.Hart@burohappold.com">Robert.Hart@burohappold.com</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
> On 9/12/06, Robert Hart <<a href="mailto:Robert.Hart@burohappold.com">Robert.Hart@burohappold.com</a>> wrote:<br>> <snip><br>> 1 name<br>><br>> This doesn't look right. There should be lots of name tags.
<br>><br>> Etienne<br><br>Nope, I'm merely looking at values of the "highway" (and related<br>misspellings) tag.<br>See rudimentary perl script below. In other words there is an item tagged<br>"highway"="name".
</blockquote><div><br>Note to self: Do not post post so early in the morning. Give brain time to wake up.<br><br>Etienne<br><br> </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I couldn't see source for any bots in svn, or find any reference to them in<br>the wiki. Where could I find one?<br><br>Rob<br><br><br>----<br>#!/usr/bin/perl<br><br>while ($l=<>) {<br> $n++;<br> if ($l=~/k=\"(.*[Hh][Ii].*[Ww][Aa][Yy])\".*v=\"([^\"]*)\"/) {
<br> $w++;<br> $tag{$1}++;<br> $highway{$2}++;<br> }<br> if($n%100000==0){<br> print STDERR "line: $n way: $w\n";<br> }<br><br>}<br>print STDERR "line: $n way: $w\n";
<br><br><br>foreach $k (sort( {$highway{$a} <=> $highway{$b};} keys(%highway))){<br> print "$highway{$k}\t$k\n";<br>}<br><br>foreach $k (sort( {$tag{$a} <=> $tag{$b};} keys(%tag))){<br> print "$tag{$k}\t$k\n";
<br>}<br><br><br><br>This message has been scanned for viruses by MailControl - <a href="http://www.mailcontrol.com">www.mailcontrol.com</a><br></blockquote></div><br>