When trying to geocode a Chinese address (possibly others), it's pulling in a numerical value for the state/province (administrative_area).

I've created a patch to fix the issue for me, but I haven't fully tested it for other international areas.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Cybnext’s picture

FileSize
1.51 KB
Cybnext’s picture

Status: Active » Needs review
hansfn’s picture

Title: Geocoding a Chinese address doesn't work » Geocoding a Chinese or South Korean address doesn't work

OK, I experienced the same problem with South Korean addresses and the Google geocoder. There are at least two issues:

  • Numeric administrative area (as defined by ISO) isn't supported - see http://en.wikipedia.org/wiki/South_Gyeongsang_Province This could be fixed in the Address Field module, too, I guess.
  • Dependent locality seems to be important. This modules doesn't even include dependent locality ...

I have played with https://google-developers.appspot.com/maps/documentation/utils/geocoder/ to find results supporting my statements above.

YurkinPark’s picture

Version: 7.x-1.2 » 7.x-1.3
FileSize
1.14 KB

confirmed in 1.3 as well, i adapted patch for this (the latest) version

Pol’s picture

Status: Needs review » Closed (outdated)