Store Locator Plus for WordPress
Field order for geocoding german addresses wrong (2 posts)

  1. KeenMetal
    Posted 3 years ago #

    Fantastic plugin! An issue regarding the field order for Germany though:

    Currently, SLP queries as follows: STREET1, STREET2, CITY, POSTCODE
    No results: Altes Rathaus / Naschmarkt, Markt 1, Leipzig, 4109

    The following order is used in Germany: STREET1, STREET2, POSTCODE, CITY
    Match: Altes Rathaus / Naschmarkt, Markt 1, 4109, Leipzig

    (Use the Google Maps Geocode API Example page to verify)

    Can SLP be tweaked to query the API in that order when the Map Country is set to Germany?
    A few of my addresses are not matching up because of this.



  2. Store Locator Plus
    Plugin Author

    Posted 3 years ago #

    Never knew that made a difference. I always assumed Google would "translate" the address format and fix them as they came in. I will think about how to manage that in one of the future updates.

    I'm aware of differences in language and other map-related items but did not realize geocoding cared about the order of the city/postcode.

    Thanks for sharing. It helps me create a more "worldly" plugin.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Store Locator Plus for WordPress
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic