Re: [talk-au] Street Abbv. patch for validator plugin
--- On Tue, 7/7/09, Rick Peterson ausr...@iinet.net.au 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
John Smith delta_foxt...@yahoo.com 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
--- On Wed, 8/7/09, Sam Couter s...@couter.id.au 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
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
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
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
--- On Tue, 7/7/09, Elizabeth Dodd ed...@billiau.net 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
On 7/07/2009 2:33 PM, John Smith wrote: --- On Tue, 7/7/09, Darrin Smith bel...@beldin.org 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
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
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
[talk-au] Street Abbv. patch for validator plugin
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
Re: [talk-au] Street Abbv. patch for validator plugin
--- On Tue, 7/7/09, Stephen Hope slh...@gmail.com 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
--- On Tue, 7/7/09, John Smith delta_foxt...@yahoo.com 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