|
Awesome. We need bulk requests (one or more lat/lng), and reverse geocoding with locale components (state, county, city, neighborhood) Extending tzaman's localization request, a globally unique identifier, e.g. ISO code, for every piece of locale when reverse geocoding is critical for us. When storing reverse geocoded points in our own database I want to key off the unique values but lookup the locale specific versions later on client devices (ideally via REST or an offline API if possible). /geocode?latlng=47.639548,-122.356957&language=en,fr {
"ISO":{
Country:"US",
Administrative:"WA",
SubAdministrative:"King",
Locality:"Seattle",
SubLocality:"Queen Anne"
},
"fr":{
Country:"Etas-Unis",
Administrative:"Washington",
SubAdministrative:"Roi County",
Locality:"Seattle",
SubLocality:"Renne Anne"
}
"en":{
Country:"US",
Administrative:"Washington",
SubAdministrative:"King County",
Locality:"Seattle",
SubLocality:"Queen Anne"
}
} |
Providing language synonyms makes perfect sense where these exist (cf: London in English, Londra in Italian, Londres in French).
But your example implies translation of place names into their language specific equivalent. Kings County in Washington state is, unless I'm mistaken, Kings County in all other languages. Although the local residents may disagree, this county isn't blessed with a language synonym as it doesn't fall into the (ill defined) category of "well known place with a language variant".
Unless you're suggesting that if, say, French is requested as a language, a geocoder should translate place names so "Kings County" would (maybe) be "Comté Roi" in French. Although this approach sounds odd to me as (AFAIK) no one else refers to this place in this way?