Re: [OSM-talk-be] Belgium Phone Format OSM Tool

2017-11-21 Thread Ubipo .
Hi, I must have misread that somewhere then... The demo at http://rawgit.com/googlei18n/libphonenumber/master/javascript/i18n/phonenumbers/demo-compiled.html seems to indeed work for all Belgian area codes. I'll port my tool over to instead use that library and try to make it international.

Re: [OSM-talk-be] Belgium Phone Format OSM Tool

2017-11-20 Thread André Pirard
On 2017-11-21 00:08, marc marc wrote: > Hello, > > Le 20. 11. 17 à 23:49, Ubipo . a écrit : > >> I don't know of any library that does all that :( > https://github.com/googlei18n/libphonenumber/ > I never use it but it look like fine. > > Regards, > Marc That's what the JOSM suggestion

Re: [OSM-talk-be] Belgium Phone Format OSM Tool

2017-11-20 Thread marc marc
Hello, Le 20. 11. 17 à 23:49, Ubipo . a écrit : > I don't know of any library that does all that :( https://github.com/googlei18n/libphonenumber/ I never use it but it look like fine. Regards, Marc ___ Talk-be mailing list Talk-be@openstreetmap.org

Re: [OSM-talk-be] Belgium Phone Format OSM Tool

2017-11-20 Thread Ubipo .
Hey all, Haha thanks for noticing that rookie mistake Wouter, better now than when I implement it I guess... I added some automated tests to check for basic errors like that one to the repo on GitHub. Regarding that JOSM thread, It would be awesome if JOSM had a build-in

Re: [OSM-talk-be] Belgium Phone Format OSM Tool

2017-11-20 Thread André Pirard
On 2017-11-18 13:49, Ubipo . wrote: Hey all, I wanted to let you know about a tool I made called 'BPF' - Belgium Phone Formatter. When provided with OSM login credentials and a list of OSM ID's to

Re: [OSM-talk-be] Belgium Phone Format OSM Tool

2017-11-18 Thread Wouter Hamelinck
First thing that strikes me is that your examples lack a digit... More to the point, having a standard formatting for phone number is in my opinion a good idea. wouter On Sat, Nov 18, 2017 at 1:49 PM, Ubipo . wrote: > Hey all, > > > I wanted to let you know about a tool

[OSM-talk-be] Belgium Phone Format OSM Tool

2017-11-18 Thread Ubipo .
Hey all, I wanted to let you know about a tool I made called 'BPF' - Belgium Phone Formatter. When provided with OSM login credentials and a list of OSM ID's to fix, it scans those objects for 'phone', 'contact:phone', 'fax' and 'contact:fax' tags and attempts to normalize them. If it fails