On 30/12/19 08:39, David Wales wrote:
My thought was that processing a subset of the formats could deal with a good chunk of the numbers, and the rest could be left for MapRoulette.

For example, some code could look at every number in Victoria,
Caution .. are you certain that everywhere in Victoria use the same area code? It is not the case in some states. I'd check area codes in the west of the state that might use central australian time.

remove all the spaces and special symbols and check if it is 10 digits long, with the first two being '03'. In that case, perform the transformation '03XXXXXXXX' -> '+61 3 XXXX XXXX'.

The other cases could be left for MapRoulette.

Unfortunately, I don't think I have time at the moment to put this together myself. :(

On 29/12/19 9:44 pm, Phil Wyatt wrote:

Hi David,

It may be for someone more skilled than me 😊however there are lots of combinations that need to be taken into account

Those with no area codes

Those with area codes in ()

Those with area codes but no international code

Those with international code but no + sign at the start

Spaces or dashes between numbers or no spaces

Grouping of numbers +61 x xxxx xxxx

1300/1800 numbers that need to be tagged phone:AU

Those without enough numbers

Inconsistent area codes in some areas (NSW/VIC border areas)

…to mention just a few that I have found…

Cheers – Phil

*From:*David Wales <[email protected]>
*Sent:* Sunday, 29 December 2019 9:34 PM
*To:* [email protected]
*Subject:* Re: [talk-au] Phone number updates

I did a few.

Surely this would be a prime target for an automated edit?

Regards,
David Wales

On 29/12/19 2:22 pm, Graeme Fitzpatrick wrote:


    On Sun, 29 Dec 2019 at 12:36, Phil Wyatt <[email protected]
    <mailto:[email protected]>> wrote:

        feel free to join me if you want some mind numbing
        entertainment for an hour or two.

    It is certainly that! :-)

        WA and Tasmania already completed

    As is Qld :-)

     Thanks

    Graeme



    _______________________________________________

    Talk-au mailing list

    [email protected] <mailto:[email protected]>

    https://lists.openstreetmap.org/listinfo/talk-au




_______________________________________________
Talk-au mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/talk-au


_______________________________________________
Talk-au mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/talk-au

Reply via email to