No results when geocoding an address field with only a country

Created on 7 August 2023, about 1 year ago
Updated 25 September 2023, about 1 year ago

Problem/Motivation

When geocoding an address field using the geocoder_address and geocoder_field submodules and only a country was entered, most of the time no results are entered.

Steps to reproduce

Choose France as option in a auto geocoded address field, using the Google Maps geocoder, without filling any other fields. Geocoding will fail because of no results.

Proposed resolution

If the address contains only a country, pass the full country name to the geocoder service instead of the country code.

📌 Task
Status

Fixed

Version

4.0

Component

Code

Created by

🇧🇪Belgium dieterholvoet Brussels

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024