Skip Navigation

[Resolved] High volume of Geocoding API Requests

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 16 replies, has 2 voices.

Last updated by Waqar 1 year, 10 months ago.

Assisted by: Waqar.

Author
Posts
#2565025

Just wanted to share a quick update that I'm still working on this.

Will share the detailed findings, within the next few hours.

#2566647

Thank you for waiting.

During troubleshooting on your website's clone, I was able to narrow down to the list of those 180 addresses which were missing from the Toolset's address cache:


    [0] => NW5 1JH
    [1] => N6 6AH
    [2] => n76ry
    [3] => n88lq
    [4] => NW5 1PP
    [5] => Durham Road, London N2 9DT, UK
    [6] => Huddleston Rd, London N7 0EH
    [7] => HILLWAY, N6 6AH
    [8] => Southwood Avenue, London N6 5SA, UK
    [9] => DURHAM ROAD, N2 9DT
    [10] => ELAINE GROVE, NW5 4QG
    [11] => LISSENDEN GARDENS, NW5 1NA
    [12] => bramshill Gardens, London NW5 1JH
    [13] => Bramshill Gardens, London NW5 1JJ
    [14] => NW3 1HX
    [15] => LANCHESTER ROAD, N6 4SX
    [16] => Freegrove Rd, London N7 9JN
    [17] => Lissenden Gardens, London NW5 1NA
    [18] => 1 Fulbrook Mews, London N19 5EN
    [19] => N19 4JF
    [20] => N2 9DT
    [21] => NW5 1JJ
    [22] => NW5 2QJ
    [23] => Prince of Wales Rd, London NW5 3LN
    [24] => Carleton Rd, London N7 0ET
    [25] => NW5 3LN
    [26] => N6 6PT
    [27] => N7 9TH
    [28] => NW5 3EA
    [29] => NW5 1NB
    [30] => 1 Fulbrook Mews, London, UK
    [31] => N19 5JS
    [32] => N2 9NN
    [33] => N4 3BP
    [34] => N2 9NP
    [35] => 50 Kiver Rd, Archway, London N19 4PD
    [36] => 17 Cressida Road, London N19 3JN, UK
    [37] => Leverton St, London NW5 2PG
    [38] => 97 Patshull Road, London NW5 2LE, UK
    [39] => Drayton Park, London N5 1NT
    [40] => 39 Burghley Rd, London NW5 1UG
    [41] => NW1 8TX
    [42] => NW5 3BS
    [43] => 3A North Road, London N6 4BD, UK
    [44] => 77 Hargrave Park, London N19 5JW, UK
    [45] => 8 Bramshill Gardens, London,  NW5 1JH,  GB
    [46] => 35 Lisburne Rd London NW3 2NS UK
    [47] => Lissenden Gardens London NW5 1NA UK
    [48] => 1 Cobham Mews Agar Grove  London NW1 9SB
    [49] => 13 Bromwich Ave London N6 6QH UK
    [50] => Elaine Grove London NW5 4QG UK
    [51] => Twisden Road, NW5 1DN
    [52] => 1 Cobham Mews Agar Grove, London NW1 9SB
    [53] => Langbourne Ave, London N6 6PS
    [54] => 10 Campdale Rd, London N7 0EA
    [55] => 4 Francis Terrace, Archway, London N19 5PY
    [56] => Yerbury road,  N19 4RL
    [57] => N19 4DP
    [58] => Twyford Avenue , Muswell Hill, London N2 9NN
    [59] => 163 Huddleston Road, London,  N7 0EH,  GB
    [60] => Twyford Avenue, N2 9NN
    [61] => Anson Road, London N7 0RB, UK
    [62] => N9 5Xq
    [63] => Twisden Road NW5 1DN
    [64] => Lisburne Rd, London NW3 2NS
    [65] => 9 Lyndhurst rd Garden flat Nw3 5px
    [66] => Yerbury Road, London N19 4RL, UK
    [67] => 97 patshull road nw5 2le
    [68] => NW5 2PH
    [69] => Crofdown road, NW5 1EL
    [70] => Hugo Rd, London N19 5EU, United Kingdom
    [71] => Streatley Place, NW3 1HU
    [72] => Lady Somerset Rd, London NW5 1TU
    [73] => Anson road, N7 0AR
    [74] => 1 Cobham Mews  Agar Grove  London NW1 9SB
    [75] => 17 Cressida road Upper Holloway London N19 3JN
    [76] => N6 6DP
    [77] => 3A North Road London N6 4BD
    [78] => Flat 43, Lyttelton Court, Lyttelton Road, LONDON, N2 0EB, UNITED KINGDOM
    [79] => 56 Lady Somerset Road  NW5 1TU
    [80] => 81 Hillway
    [81] => 163 Huddleston Road  London  N7 0EH United Kingdom
    [82] => 29 Beacon Hill, Holloway
    [83] => 38 Chetwynd Road, LONDON, NW5 1BY, UNITED KINGDOM
    [84] => 653 Marilie Plaza
    [85] => 4945 Mills Isle
    [86] => 6906 Kling Mission
    [87] => 76098 Wyatt Ports
    [88] => 530 Mckayla Tunnel
    [89] => 6219 Consuelo Fields
    [90] => 8 Bramshill Gardens  London  NW5 1JH United Kingdom
    [91] => 51 Falkland Road
    [92] => 17D North Villas
    [93] => Flat 163-67 Hargrave Park
    [94] => 1 Fulbrook Mews  London  N19 5EN United Kingdom
    [95] => n19 4hh
    [96] => nw3hu
    [97] => NW5 2NG
    [98] => nw1 9xe
    [99] => n19 4hz
    [100] => 1 Fulbrook Mews London N19 5EN
    [101] => Durham Rd, London N2 9DT
    [102] => n5 1pw
    [103] => n5 1ap
    [104] => nw32sh
    [105] => NW5 1HY
    [106] => 97 Patshull rd  London NW5 2LE
    [107] => n51pw
    [108] => NW1 9RH
    [109] => 13 Huson close NW3 3JW
    [110] => Ospringe Rd, London NW5 2JD
    [111] => N7 9GP
    [112] => Alma St, London NW5 3DJ
    [113] => 59 Lanchester Rd, London N6 4SX
    [114] => N6 4SX 
    [115] => Dartmouth Park Rd, London NW5 1SL
    [116] => N19 3TN
    [117] => Southwood Ave, London N6 5SA
    [118] => Patshull Rd, London NW5 2LE
    [119] => 1 Fulbrook Mews,, 1 Fulbrook Mews,, London
    [120] => 63 Corinne Rd, London N19 5HA
    [121] => 16 Ospringe Rd NW52JE
    [122] => bickerton Rd, Archway, London N19 5JS
    [123] => Freegrove Rd, London N7 9JN, United Kingdom
    [124] => Willes Rd, London NW5 3DN
    [125] => 38 Chetwynd Rd, London NW5 1BY
    [126] => Anson Rd, London N7 0RD
    [127] => Anson Rd London N7 0RB
    [128] => 13 Bromwich Ave, London N6 6QH
    [129] => Dalmeny Rd, London N7 0DY
    [130] => Archibald Rd, London N7 0AL
    [131] => Durham Rd, London N2 9DR
    [132] => ELAINE GROVE NW5 4QG
    [133] => LISSENDEN GARDENS NW5 1NA
    [134] => 107 Camden Mews, London NW1 9AH
    [135] => Fitzroy Rd, London NW1 8TX
    [136] => 5 Freegrove Rd, London N7 9JN
    [137] => Yerbury Rd, London N19 4RL
    [138] => 25C Drayton Park, London N5 1NT
    [139] => Falkland Rd, London NW5 2PS
    [140] => Brecknock Rd, London N19 5AA
    [141] => St George's Ave, London N7 0AH
    [142] => Durham Rd London N2 9DR UK
    [143] => Twisden Rd London NW5 1DN UK
    [144] => Croftdown Rd London NW5 1EL UK
    [145] => Laurier Rd London NW5 1SG UK
    [146] => Aubert Park Flat A London N5 1TL
    [147] => Cantelowes Rd, London NW1 9XU
    [148] => 15 Marriott Rd, Finsbury Park, London N4 3QN
    [149] => Fortnam Rd, Archway, London N19 3NS
    [150] => 60 Castle Rd, London NW1 8SN
    [151] => Kiver Rd, London N19 4PD
    [152] => Croftdown Rd, London NW5 1EN
    [153] => anson road, N7 0RB
    [154] => Inkerman Rd, London NW5 3BT
    [155] => Anson Rd, London N7 0AB
    [156] => 56 Lisburne Rd, London NW3 2JN
    [157] => 83a Mercers Rd, London N19 4PU
    [158] => N19 3JP
    [159] => Sheringham, Queensmead LONDON NW8 6RB
    [160] => Anson Rd, London N7 0AS
    [161] => Caversham Rd, London NW5 2DN
    [162] => N1C 4AE
    [163] => 1534 Mandan Road
    [164] => N1 0AF
    [165] => N19 5PW
    [166] => N10 3QP
    [167] => N19 5DB
    [168] => 90017
    [169] => 2481
    [170] => 77062
    [171] => 5690
    [172] => 33150
    [173] => 4816
    [174] => N6 6AT
    [175] => BN11 2SL
    [176] => NW3 2DB
    [177] => N10 1AF
    [178] => N2 9NT
    [179] => N2 0EB

As you'll notice, most of them are the ones where only the postal code is used in a variety of different formats, as the value in the address fields. It is better to use the complete human-readable address in these fields so that Google API doesn't have difficulty in GEO-coding their location coordinates and repeated multiple attempts don't have to be made in form of API calls.

In the field group 'Booking details', there are two separate 'address' type fields being used: 'Address' and 'Postcode reference'. To minimize the number of Google Maps API requests, it would be better to use the address type field only for storing the complete address, while for the 'Postcode' you can use a single line type field, instead.

Note: You'll see the option to change the field type of the 'Postcode reference' field on the field group edit screen of the 'Booking details' field group.

As for the 'Address' field, it would be most efficient to store the complete human-readable addresses and not just the postcodes.

I hope these suggestions will help and let me know if you have any follow-up questions.