• Hi,

    We’re using this plugin for a customer with the autocomplete address.

    If you enter a UK address it doesn’t put the information in the correct place.
    For example, it puts “England” into the State/County field.

    Examples:
    10 Victoria Street, London
    10 Downing Street, London
    15 Pickhurst Rise, West Wickham

    It looks like the correct County information isn’t there at all.

    Can you check and correct?

    Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author algol.plus

    (@algolplus)

    Hi

    I travel this weekend, so I’ll check/reply in details only on Monday.
    thanks, Alex

    Plugin Author algol.plus

    (@algolplus)

    Hi

    Please, check this discussion https://stackoverflow.com/a/31478543

    I think you should use getaddress.io or similar service for UK addresses.
    thanks, Alex

    Thread Starter infosws

    (@nicksws)

    Hi,

    I don’t quite understand the answer. Surely the interface in the plugin to Google should work for everywhere instead of just US addresses. It doesn’t seem to work properly for UK addresses at all.

    We haven’t tried other countries (the address for this customer are primarily UK addresses).

    Otherwise, it sort of makes this feature in the plugin useless?

    Plugin Author algol.plus

    (@algolplus)

    Hi

    Look at google API reply for “10 Victoria Street, London”
    https://pastebin.com/EzNzbAPL

    What county should it be ?
    I’m sorry, but I’m unsure.
    thanks, Alex

    Thread Starter infosws

    (@nicksws)

    Hi,

    In this example, there is no county. London is the city and that’s it. England (currently in the “County” box) is the same as UK in the Country field. Bigger cities don’t have counties.

    Another example:’
    55 Wellington New Rd, Taunton, TA1 5LU

    The county shows as “England” but the country should be “Somerset”.

    Hope this helps.

    Plugin Author algol.plus

    (@algolplus)

    hi

    so Google api is useless.

    please, visit https://getaddress.io/ , search by TA1 5LU and click on tab “Expand”

    you will see

      "town_or_city": "Taunton",
          "county": "Somerset",
          "district": "Taunton Deane",
          "country": "England"

    but it’s not free service.

    thanks, Alex

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘autocomplete putting data in wrong fields for UK addresses’ is closed to new replies.