Re: [talk-au] Street Abbv. patch for validator plugin

2009-07-08 Thread John Smith

--- On Wed, 8/7/09, Sam Couter  wrote:

> Some people, when confronted with a problem, think "I
> know,
> I'll use regular expressions."  Now they have two
> problems.
>   -- Jamie Zawinski in comp.emacs.xemacs

The regex functionality was already in place, all I was trying to do was come 
up with additional rules to make the functionality more useful :)


  

___
Talk-au mailing list
Talk-au@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-au


Re: [talk-au] Street Abbv. patch for validator plugin

2009-07-08 Thread Sam Couter
John Smith  wrote:
> Java flavoured, and I'm not talking about tasting coffee here :)

Java regexes are almost Perl-compatible regexes (PCRE).

> You are probably correct, it's taken me a number of years to get my head 
> round regex for the amount I dabble in at present, and I have no idea which 
> would be more efficient for the parser...

Some people, when confronted with a problem, think "I know,
I'll use regular expressions."  Now they have two problems.
  -- Jamie Zawinski in comp.emacs.xemacs

The quote isn't quite true, but it's witty and something to keep in
mind: regexes are hard to write right and even harder to read.

I believe the \.? expression is more efficient than (|.), and I also
think it's easier to read.
-- 
Sam Couter |  mailto:s...@couter.id.au
OpenPGP fingerprint:  A46B 9BB5 3148 7BEA 1F05  5BD5 8530 03AE DE89 C75C


signature.asc
Description: Digital signature
___
Talk-au mailing list
Talk-au@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-au


Re: [talk-au] Street Abbv. patch for validator plugin

2009-07-08 Thread John Smith

--- On Tue, 7/7/09, Rick Peterson  wrote:

> I usually err on caution's side and run with the 
> tested version of this 
> kind of fast developing software, however I'm keen to make
> use of all 
> the new features and work everyone has been putting in.

I was hoping some more of my patches would be accepted by now and be filtering 
through however the devs of JOSM seem to be preoccupied with other things so if 
you want to try some of the new code I've written here is a quick how to on 
getting up running.

Ok, I'm still using JOSM r1741 and this seems to be pretty stable, there is one 
release after this but I haven't upgraded to try it yet.

http://josm.openstreetmap.de/download/josm-snapshot-1741.jar

Also the copy of the validator.jar plugin that I built myself has a few more 
changes than has been applied against the trunk.

http://sharebee.com/5e493b0f

I'm not sure if my current plugin will work against 1669 or not, depends what 
other patches have been applied and I should try it I suppose. There is also 
the issue of the new wmsplugin not showing low res sat imagery from yahoo, if 
you want this you'll need to install the current plugin, exist from josm and 
then install the older copy:

http://trac.openstreetmap.org/browser/applications/editors/josm/dist/wmsplugin.jar?rev=15962

>From there you need to edit josm preferences to update mirror_tagchecker.cfg 
>to look something like this:

http://maps.bigtincan.com/tagchecker.cfg

And mirror_ignoretags.cfg to look something like this:

http://maps.bigtincan.com/ignoretags.cfg

And you'll be bleeding edge OSM'ing :)


  

___
Talk-au mailing list
Talk-au@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-au


Re: [talk-au] Street Abbv. patch for validator plugin

2009-07-07 Thread John Smith

> > exactly, but I suspect that your "(|\.)" could just
> be
> > "\.?" - 
> > indicating zero or one of the dot character.

This also works, however in testing this I found another bug (ticket is #2868), 
the regex check doesn't happen for highway=secondary, possibly other types like 
primary etc but I haven't tested it, but works fine for highway=residential.


  

___
Talk-au mailing list
Talk-au@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-au


Re: [talk-au] Street Abbv. patch for validator plugin

2009-07-07 Thread John Smith

--- On Tue, 7/7/09, Karl Mowatt-Wilson  wrote:

> I have no clue for languages other than English, but I
> think that any 
> highway name string ending with a space and 2 letters (and
> optional dot) 
> should be viewed with suspicion.  This may be best
> suited for an 
> "aggressive check" mode, though  :-)

Yes, but in the examples given they can be 3 or 4 characters as well, we're 
also not just dealing with the Australian variants here and from memory German 
street abbreviations are at the start, not the end so I wanted to be very very 
specific about this.

> It looks to me like you're using regexes - I don't know
> which flavour, 

Java flavoured, and I'm not talking about tasting coffee here :)

> exactly, but I suspect that your "(|\.)" could just be
> "\.?" - 
> indicating zero or one of the dot character.

You are probably correct, it's taken me a number of years to get my head round 
regex for the amount I dabble in at present, and I have no idea which would be 
more efficient for the parser...


  

___
Talk-au mailing list
Talk-au@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-au


Re: [talk-au] Street Abbv. patch for validator plugin

2009-07-07 Thread Karl Mowatt-Wilson
On Tue, Jul 07, 2009 at 04:33:45AM +, John Smith wrote:
> Also I updated the list to check for a fullstop at the end of the abbv 
> as well.
> 
> way  : W : highway == * && name == /.* Ave(|\.)$/i # abbreviated 
> street name (Ave)
> way  : W : highway == * && name == /.* Cct(|\.)$/i # abbreviated 
> street name (Cct)
> way  : W : highway == * && name == /.* Cir(|\.)$/i # abbreviated 
> street name (Cir)
...SNIP...

I have no clue for languages other than English, but I think that any 
highway name string ending with a space and 2 letters (and optional dot) 
should be viewed with suspicion.  This may be best suited for an 
"aggressive check" mode, though  :-)

It looks to me like you're using regexes - I don't know which flavour, 
exactly, but I suspect that your "(|\.)" could just be "\.?" - 
indicating zero or one of the dot character.


Karl.
-- 
http://mowson.org/karl

___
Talk-au mailing list
Talk-au@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-au


Re: [talk-au] Street Abbv. patch for validator plugin

2009-07-07 Thread John Smith

Thanks for the feedback from everyone, I've posted a patch to update 
tagchecker.cfg to include a lot more checks for common abbreviations.

http://josm.openstreetmap.de/ticket/2861


  

___
Talk-au mailing list
Talk-au@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-au


Re: [talk-au] Street Abbv. patch for validator plugin

2009-07-07 Thread John Smith

--- On Tue, 7/7/09, Rick Peterson  wrote:

> Agreed! ... I think they should show as errors
> 
> To handle a situation like this, I would either;
> 
> a) Completely separate the ways so as not to share any
> nodes (as the boundary ways were originally placed)

This way in particular was created when I was first getting into OSM, so is one 
of my beginner mistakes I've since fixed, along with the street abbreviations. 
:)

> b) be fully combined . the boundary way is parted and
> the parted section takes on the additonal tags of the way it
> is duplicating

This is actually what I ended up doing, it was a combination of a yahoo sat 
imagery and ABS boundary the boundary doesn't follow the road exactly, now at 
least, but is close enough for the most part.


  

___
Talk-au mailing list
Talk-au@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-au


Re: [talk-au] Street Abbv. patch for validator plugin

2009-07-07 Thread Rick Peterson


John Smith wrote:
> ...when 2 ways share the same nodes, if one of those 2 ways happens to be an 
> ABS boundary, but this should probably be an error as each way should 
> probably have it's own nodes.
>   
Agreed! ... I think they should show as errors

To handle a situation like this, I would either;

a) Completely separate the ways so as not to share any nodes (as the
boundary ways were originally placed)
OR
b) be fully combined . the boundary way is parted and the parted
section takes on the additonal tags of the way it is duplicating



___
Talk-au mailing list
Talk-au@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-au


Re: [talk-au] Street Abbv. patch for validator plugin

2009-07-07 Thread John Smith

> The JOSM developers have basically forced anyone wanting to
> use JOSM and download any plugins to upgrade, because they
> don't pull various revisions of plugins that match the JOSM
> build from their server. This is an over sight I'm sure, but
> yea, you will have to upgrade at some point due to this bug
> that no code will be back ported for, although I should file
> a proper bug about it if no one hasn't already.

Someone beat me to it:

http://josm.openstreetmap.de/ticket/2859


  

___
Talk-au mailing list
Talk-au@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-au


Re: [talk-au] Street Abbv. patch for validator plugin

2009-07-07 Thread John Smith

--- On Tue, 7/7/09, Rick Peterson  wrote:

> There's been heaps of improvements happening over on the
> JOSM dev site 
> to the program and the various plugins, particularly all
> your good work 
> on the Validator plugin.
> 
> I usually err on caution's side and run with the 
> tested version of this 
> kind of fast developing software, however I'm keen to make
> use of all 
> the new features and work everyone has been putting in.
> 
> Is there a recent version that you'd recommended  that
> seems pretty 
> stable and safe, or should I continue to wait a while; much
> like a child 
> looking anxiously at the presents around the tree several
> days out from 
> Christmas?

I'm currently using r1741, r1738 has a bug where it crashes if you have no 
plugins loaded.

However I rebuilt a copy of the old WMS plugin because it doesn't work with 
low-res yahoo imagery now, and then I remembered you can pull old versions from 
SVN.

I can keep uploading copies of my validator plugin if you want, and remove the 
need for running a later version by adding my code into older versions.

One thing with the validator plugin I can't seem to fix is when 2 ways share 
the same nodes, if one of those 2 ways happens to be an ABS boundary, but this 
should probably be an error as each way should probably have it's own nodes.

The JOSM developers have basically forced anyone wanting to use JOSM and 
download any plugins to upgrade, because they don't pull various revisions of 
plugins that match the JOSM build from their server. This is an over sight I'm 
sure, but yea, you will have to upgrade at some point due to this bug that no 
code will be back ported for, although I should file a proper bug about it if 
no one hasn't already.


  

___
Talk-au mailing list
Talk-au@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-au


Re: [talk-au] Street Abbv. patch for validator plugin

2009-07-07 Thread John Smith

--- On Tue, 7/7/09, Neale  wrote:
> A few more that I have seen around:
> 
> Blvd - Boulevard
> Esp, Espl - Esplanade
> Hwy - Highway
> Mwy - Motorway

Thanks, I updated the patch/ticket to reflect these suggestions.


  

___
Talk-au mailing list
Talk-au@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-au


Re: [talk-au] Street Abbv. patch for validator plugin

2009-07-07 Thread Rick Peterson

John Smith wrote words, punctuation and other good stuff:

There's been heaps of improvements happening over on the JOSM dev site 
to the program and the various plugins, particularly all your good work 
on the Validator plugin.

I usually err on caution's side and run with the  tested version of this 
kind of fast developing software, however I'm keen to make use of all 
the new features and work everyone has been putting in.

Is there a recent version that you'd recommended  that seems pretty 
stable and safe, or should I continue to wait a while; much like a child 
looking anxiously at the presents around the tree several days out from 
Christmas?

Rick :)

PS: Liz ... keep your eyes off my user agent! j/k ;)


___
Talk-au mailing list
Talk-au@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-au


Re: [talk-au] Street Abbv. patch for validator plugin

2009-07-07 Thread Elizabeth Dodd
On Tue, 7 Jul 2009, John Smith wrote:
> Oh c'mon you can't leave us hanging like that, do tell us what it was :)

It was something about Marines in which the war cry or similar had an addendum 
which noted that most were going to the cemetery


-- 
You're currently going through a difficult transition period called "Life."


___
Talk-au mailing list
Talk-au@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-au


Re: [talk-au] Street Abbv. patch for validator plugin

2009-07-07 Thread Neale




On 7/07/2009 2:33 PM, John Smith wrote:

  --- On Tue, 7/7/09, Darrin Smith  wrote:

  
  
How about Tce for Terrace Also, and Drv for Drive, Cct for
Circuit - I've seen these around the place.

Wy for Way, Mw for Mews I've also seen on signs but never
anyone use.

  
  
If people might enter them, then it would be worth entering I guess, people can always ignore these errors individually or as groups.

Also I updated the list to check for a fullstop at the end of the abbv as well.

way  : W : highway == * && name == /.* Ave(|\.)$/i # abbreviated street name (Ave)
way  : W : highway == * && name == /.* Cct(|\.)$/i # abbreviated street name (Cct)
way  : W : highway == * && name == /.* Cir(|\.)$/i # abbreviated street name (Cir)
way  : W : highway == * && name == /.* Cl(|\.)$/i  # abbreviated street name (Cl)
way  : W : highway == * && name == /.* Cr(|\.)$/i  # abbreviated street name (Cr)
way  : W : highway == * && name == /.* Crct(|\.)$/i# abbreviated street name (Crct)
way  : W : highway == * && name == /.* Cres(|\.)$/i# abbreviated street name (Cres)
way  : W : highway == * && name == /.* Crt(|\.)$/i # abbreviated street name (Crt)
way  : W : highway == * && name == /.* Ct(|\.)$/i  # abbreviated street name (Ct)
way  : W : highway == * && name == /.* Dr(|\.)$/i  # abbreviated street name (Dr)
way  : W : highway == * && name == /.* Drv(|\.)$/i # abbreviated street name (Drv)
way  : W : highway == * && name == /.* Ln(|\.)$/i  # abbreviated street name (Ln)
way  : W : highway == * && name == /.* Mw(|\.)$/i  # abbreviated street name (Mw)
way  : W : highway == * && name == /.* Pl(|\.)$/i  # abbreviated street name (Pl)
way  : W : highway == * && name == /.* Rd(|\.)$/i  # abbreviated street name (Rd)
way  : W : highway == * && name == /.* Sq(|\.)$/i  # abbreviated street name (Sq)
way  : W : highway == * && name == /.* St(|\.)$/i  # abbreviated street name (St)
way  : W : highway == * && name == /.* Ter(|\.)$/i # abbreviated street name (Ter)
way  : W : highway == * && name == /.* Tce(|\.)$/i # abbreviated street name (Tce)
way  : W : highway == * && name == /.* Tr(|\.)$/i  # abbreviated street name (Tr)
way  : W : highway == * && name == /.* Wy(|\.)$/i  # abbreviated street name (Wy)

  


A few more that I have seen around:

Blvd - Boulevard
Esp, Espl - Esplanade
Hwy - Highway
Mwy - Motorway


Regards,
Neale.





___
Talk-au mailing list
Talk-au@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-au


Re: [talk-au] Street Abbv. patch for validator plugin

2009-07-07 Thread John Smith

--- On Tue, 7/7/09, Elizabeth Dodd  wrote:
> friends. I've had trouble enough with some over-sensitive
> Americans on a 
> weather station email list who had an objection to one
> randomly chosen phrase, 
> so I'm a little more cautious now.

Oh c'mon you can't leave us hanging like that, do tell us what it was :)

If you want to shock an American, although this might work best if you're male, 
just ask to nurse a baby, they'll think you'll want to breast feed it. However 
the look on their faces is usually priceless.


  

___
Talk-au mailing list
Talk-au@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-au


Re: [talk-au] Street Abbv. patch for validator plugin

2009-07-07 Thread Elizabeth Dodd
On Tue, 7 Jul 2009, Rick Peterson wrote:
> --
> A day for firm decisions!  Or is it?
>
>
> That got quite a chuckle going here  love it !! :D

The program is called 'fortune'. It is a BSD program, and it does not work on 
Windows (I see Rick is using Thunderbird on Windows).
Now if I was using it with the 'offensive' flag set, I might have fewer 
friends. I've had trouble enough with some over-sensitive Americans on a 
weather station email list who had an objection to one randomly chosen phrase, 
so I'm a little more cautious now.



-- 
Just because the message may never be received does not mean it is
not worth sending.


___
Talk-au mailing list
Talk-au@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-au


Re: [talk-au] Street Abbv. patch for validator plugin

2009-07-07 Thread Rick Peterson

Elizabeth Dodd wrote:

--
A day for firm decisions!  Or is it?


That got quite a chuckle going here  love it !! :D



___
Talk-au mailing list
Talk-au@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-au


Re: [talk-au] Street Abbv. patch for validator plugin

2009-07-07 Thread Elizabeth Dodd
On Tue, 7 Jul 2009, John Smith wrote:
> They were after Circular Quay in Sydney, they just pronounced it how it's
> spelt, not how it's written thanks to French influences on the English
> language.
yes, but for an american tour guide i could have sent them off to oxford 
street darlinghurst for an adventure instead

-- 
BOFH excuse #114:

electro-magnetic pulses from French above ground nuke testing.


___
Talk-au mailing list
Talk-au@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-au


Re: [talk-au] Street Abbv. patch for validator plugin

2009-07-07 Thread John Smith

--- On Tue, 7/7/09, Elizabeth Dodd  wrote:

> > I had an American tour guide in Sydney ask me once
> where Circular "Qway"
> > was :)
> 
> Quay and Quays was the decision
> and no, Curqular Qway is somewhere else

They were after Circular Quay in Sydney, they just pronounced it how it's 
spelt, not how it's written thanks to French influences on the English language.


  

___
Talk-au mailing list
Talk-au@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-au


Re: [talk-au] Street Abbv. patch for validator plugin

2009-07-06 Thread Elizabeth Dodd
On Tue, 7 Jul 2009, John Smith wrote:
> --- On Tue, 7/7/09, Liz  wrote:
> > Qy and Qys came up the other day and took a little work to
> > solve
>
> Qy would be Quay, Qys = Quays?
>
> I had an American tour guide in Sydney ask me once where Circular "Qway"
> was :)

Quay and Quays was the decision
and no, Curqular Qway is somewhere else

-- 
A day for firm decisions!  Or is it?


___
Talk-au mailing list
Talk-au@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-au


Re: [talk-au] Street Abbv. patch for validator plugin

2009-07-06 Thread John Smith

--- On Tue, 7/7/09, Liz  wrote:

> Qy and Qys came up the other day and took a little work to
> solve

Qy would be Quay, Qys = Quays?

I had an American tour guide in Sydney ask me once where Circular "Qway" was :)


  

___
Talk-au mailing list
Talk-au@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-au


Re: [talk-au] Street Abbv. patch for validator plugin

2009-07-06 Thread Liz
On Tue, 7 Jul 2009, John Smith wrote:
> > How about Tce for Terrace Also, and Drv for Drive, Cct for
> > Circuit - I've seen these around the place.
> >
> > Wy for Way, Mw for Mews I've also seen on signs but never
> > anyone use.
Qy and Qys came up the other day and took a little work to solve


___
Talk-au mailing list
Talk-au@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-au


Re: [talk-au] Street Abbv. patch for validator plugin

2009-07-06 Thread John Smith

--- On Tue, 7/7/09, Darrin Smith  wrote:

> How about Tce for Terrace Also, and Drv for Drive, Cct for
> Circuit - I've seen these around the place.
> 
> Wy for Way, Mw for Mews I've also seen on signs but never
> anyone use.

If people might enter them, then it would be worth entering I guess, people can 
always ignore these errors individually or as groups.

Also I updated the list to check for a fullstop at the end of the abbv as well.

way  : W : highway == * && name == /.* Ave(|\.)$/i # abbreviated 
street name (Ave)
way  : W : highway == * && name == /.* Cct(|\.)$/i # abbreviated 
street name (Cct)
way  : W : highway == * && name == /.* Cir(|\.)$/i # abbreviated 
street name (Cir)
way  : W : highway == * && name == /.* Cl(|\.)$/i  # abbreviated 
street name (Cl)
way  : W : highway == * && name == /.* Cr(|\.)$/i  # abbreviated 
street name (Cr)
way  : W : highway == * && name == /.* Crct(|\.)$/i# abbreviated 
street name (Crct)
way  : W : highway == * && name == /.* Cres(|\.)$/i# abbreviated 
street name (Cres)
way  : W : highway == * && name == /.* Crt(|\.)$/i # abbreviated 
street name (Crt)
way  : W : highway == * && name == /.* Ct(|\.)$/i  # abbreviated 
street name (Ct)
way  : W : highway == * && name == /.* Dr(|\.)$/i  # abbreviated 
street name (Dr)
way  : W : highway == * && name == /.* Drv(|\.)$/i # abbreviated 
street name (Drv)
way  : W : highway == * && name == /.* Ln(|\.)$/i  # abbreviated 
street name (Ln)
way  : W : highway == * && name == /.* Mw(|\.)$/i  # abbreviated 
street name (Mw)
way  : W : highway == * && name == /.* Pl(|\.)$/i  # abbreviated 
street name (Pl)
way  : W : highway == * && name == /.* Rd(|\.)$/i  # abbreviated 
street name (Rd)
way  : W : highway == * && name == /.* Sq(|\.)$/i  # abbreviated 
street name (Sq)
way  : W : highway == * && name == /.* St(|\.)$/i  # abbreviated 
street name (St)
way  : W : highway == * && name == /.* Ter(|\.)$/i # abbreviated 
street name (Ter)
way  : W : highway == * && name == /.* Tce(|\.)$/i # abbreviated 
street name (Tce)
way  : W : highway == * && name == /.* Tr(|\.)$/i  # abbreviated 
street name (Tr)
way  : W : highway == * && name == /.* Wy(|\.)$/i  # abbreviated 
street name (Wy)


  

___
Talk-au mailing list
Talk-au@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-au


Re: [talk-au] Street Abbv. patch for validator plugin

2009-07-06 Thread John Smith

--- On Tue, 7/7/09, John Smith  wrote:

> I've added your suggestions into the mix and here's the
> updated list.

I probably should not that even though they're being entered as " St" for 
example, it will still catch st or sT or ST as case is ignored.


  

___
Talk-au mailing list
Talk-au@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-au


Re: [talk-au] Street Abbv. patch for validator plugin

2009-07-06 Thread John Smith

--- On Tue, 7/7/09, Stephen Hope  wrote:

> Cr (Crescent) (a bad alternate - to many possibilities)

I'm not trying to apply an automatic fix, just have warnings thrown so it 
doesn't matter what Cr means, as long as there is a valid warning shown it can 
be up to those entering to fix it properly.

I've added your suggestions into the mix and here's the updated list.

way  : W : highway == * && name == /.* Ave$/i  # abbreviated 
street name (Ave)
way  : W : highway == * && name == /.* Cir$/i  # abbreviated 
street name (Cir)
way  : W : highway == * && name == /.* Cl$/i   # abbreviated 
street name (Cl)
way  : W : highway == * && name == /.* Cr$/i   # abbreviated 
street name (Cr)
way  : W : highway == * && name == /.* Crct$/i # abbreviated 
street name (Crct)
way  : W : highway == * && name == /.* Cres$/i # abbreviated 
street name (Cres)
way  : W : highway == * && name == /.* Crt$/i  # abbreviated 
street name (Crt)
way  : W : highway == * && name == /.* Ct$/i   # abbreviated 
street name (Ct)
way  : W : highway == * && name == /.* Dr$/i   # abbreviated 
street name (Dr)
way  : W : highway == * && name == /.* Ln$/i   # abbreviated 
street name (Ln)
way  : W : highway == * && name == /.* Pl$/i   # abbreviated 
street name (Pl)
way  : W : highway == * && name == /.* Rd$/i   # abbreviated 
street name (Rd)
way  : W : highway == * && name == /.* Sq$/i   # abbreviated 
street name (Sq)
way  : W : highway == * && name == /.* St$/i   # abbreviated 
street name (St)
way  : W : highway == * && name == /.* Tr$/i   # abbreviated 
street name (Tr)
way  : W : highway == * && name == /.* Ter$/i  # abbreviated 
street name (Ter)


  

___
Talk-au mailing list
Talk-au@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-au


Re: [talk-au] Street Abbv. patch for validator plugin

2009-07-06 Thread Stephen Hope
Ave (Avenue)
Cir (Circle)
Cr (Crescent) (a bad alternate - to many possibilities)
Crct (Circuit)
Crt (Court)
Dr (Drive)
Drv (Drive)
Sq (Square)
Tr (Track)
Ter (Terrace)

I've seen all of these on signs at one time or another.

Stephen


2009/7/7 John Smith :
>
> In the tagchecker.cfg and in the mirror_tagchecker.cfg after it gets saved 
> locally, there is a check for "Str.".
>
> I've extended this for common abbreviations I could, just wondering if there 
> are others people see and/or know of that I can add to a bug request.
>
> So far I have Cres, Cl, Ct, Ln, Pl, Rd and St
>
> Below is the lines that can be added to mirror_tagchecker.cfg
>
> *    : W : highway == * && name == /.* Cres$/i                 # abbreviated 
> street name (Cres)
> *    : W : highway == * && name == /.* Cl$/i                   # abbreviated 
> street name (Cl)
> *    : W : highway == * && name == /.* Ct$/i                   # abbreviated 
> street name (Ct)
> *    : W : highway == * && name == /.* Ln$/i                   # abbreviated 
> street name (Ln)
> *    : W : highway == * && name == /.* Pl$/i                   # abbreviated 
> street name (Pl)
> *    : W : highway == * && name == /.* Rd$/i                   # abbreviated 
> street name (Rd)
> *    : W : highway == * && name == /.* St$/i                   # abbreviated 
> street name (St)
>
>
>
>
>
> ___
> Talk-au mailing list
> Talk-au@openstreetmap.org
> http://lists.openstreetmap.org/listinfo/talk-au
>

___
Talk-au mailing list
Talk-au@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-au


[talk-au] Street Abbv. patch for validator plugin

2009-07-06 Thread John Smith

In the tagchecker.cfg and in the mirror_tagchecker.cfg after it gets saved 
locally, there is a check for "Str.".

I've extended this for common abbreviations I could, just wondering if there 
are others people see and/or know of that I can add to a bug request.

So far I have Cres, Cl, Ct, Ln, Pl, Rd and St

Below is the lines that can be added to mirror_tagchecker.cfg

*: W : highway == * && name == /.* Cres$/i # abbreviated 
street name (Cres)
*: W : highway == * && name == /.* Cl$/i   # abbreviated 
street name (Cl)
*: W : highway == * && name == /.* Ct$/i   # abbreviated 
street name (Ct)
*: W : highway == * && name == /.* Ln$/i   # abbreviated 
street name (Ln)
*: W : highway == * && name == /.* Pl$/i   # abbreviated 
street name (Pl)
*: W : highway == * && name == /.* Rd$/i   # abbreviated 
street name (Rd)
*: W : highway == * && name == /.* St$/i   # abbreviated 
street name (St)



  

___
Talk-au mailing list
Talk-au@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-au