Monday, 19 August 2013

Open Street Map Address Decode

Open Street Map Address Decode

I am using Nominatim reverse geocoding service to get address from
latitude and longitude. Then, store the result in Mysql Database. The
coding is as fiddle below:
http://jsfiddle.net/GWL7A/171/
The address returned is in the local language such as in the example is in
Chinese. And the data stored is not readable as:
"éº'麟山新æ', æƒ æ¥åŽ¿, 广东, 中华人æ°'å…±å'Œå›½/China"
Is that possible to make the address returned in English.
If that's not possible, how to store the data into database so that when
retrieve it and show in web UI, it returned to Chinese words? It must not
be limit to only Chinese word since it might be Afghanistan, Thailand,
Vietnam or some other country's addresses.
Thank you.

No comments:

Post a Comment