When geocoding Chinese addresses from Address module, the location is not right.

The problem was that the values in address array were something like this "CN-34", "CN-34-ea0b51-6285fe" , etc. I made a patch that search for the names of that string in the appropriate json files and return them into the address array.

CommentFileSizeAuthor
#2 geocoding_a_chinese-2797467-2.patch2.1 KBjoco_sp
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

joco_sp created an issue. See original summary.

joco_sp’s picture

Status: Active » Needs review
FileSize
2.1 KB

The patch

abhishek_10’s picture

Please share an example where chinese address does not work.I had tested with the following address
Park Hyatt Shanghai,100 Century Avenue, Pudong,Shanghai, China, 200120
and got the exact latitude and longitude (31.234315,121.508214)

joco_sp’s picture

It was a long time ago when I posted this issue and I can't remember. It is also a good reminder for me, to add an example the next time. Try different addresses. The only thing that I remember is that, the patch I made worked for me.

Pol’s picture

Status: Needs review » Closed (outdated)