mysql - Open Street Map Address Decode -
i using nominatim reverse geocoding service address latitude , longitude. then, store result in mysql database. coding fiddle below:
http://jsfiddle.net/gwl7a/171/
the address returned in local language such in example in chinese. , data stored not readable as:
"麒麟山新æ‘, æƒ æ¥åŽ¿, 广东, ä¸åŽäººæ°‘共和国/china"
- is possible make address returned in english.
- if that's not possible, how store data database when retrieve , show in web ui, returned chinese words? must not limited chinese word since might afghanistan, thailand, vietnam or other country's addresses.
thank you.
the object in question not yet internationalized in osm, nominatim can give original name (which in chinese). if need name “in english”/in latin script, have transcription yourself. guess 1 can find han-pinyin transcription library out there…
btw: make sure use correct charset when adding strings database. osm using utf-8.
Comments
Post a Comment