- Description:
- Searched with a text “bengalore” with findAddressCandidates api with langCode=EN
- Even after mentioning langCode=EN, it gives non English characters.
- Even in few cases, where it gave multiple address, in one address, it responds with correct English and in another address for the same string it gives non English character.
- Check the Region in the response ("Region": "Karnātaka")
- ESRI Call:
http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/findAddressCandidates?SingleLine=Bangalore&langCode=EN&maxLocations=1&forStorage=false&outFields=City,Region,Country,Postal&f=pjson
Response:
"candidates": [
{ "address": "Bangalore, Karnātaka, India",
"location": { "x": 77.593686440000511, "y": 12.971936200000471 },
"score": 100,
"attributes": { "City": "",
"Region": "Karnātaka",
"Country": "IND",
"Postal": "" } } ]
Response:
"candidates": [
{
"address":"Bangalore, Karnātaka, India",
"location":{
"x":77.593686440000511,
"y":12.971936200000471
},
"score":99,
"attributes":{
"City":"",
"Region": "Karnātaka",
"Country":"IND",
"Postal":""
}
},
{
"address":"Bengalore Iyyengars",
"location":{
"x":74.557859832000531,
"y":16.776767067000435
},
"score":95.5,
"attributes":{
"City":"Shirol",
"Region":"Maharashtra",
"Country":"IND",
"Postal":""
}
},
{
"address":"Bengalore Restaurant",
"location":{
"x":55.302327027000501,
"y":25.27230569100044
},
"score":95.5,
"attributes":{
"City":"Dubai",
"Region":"Dubai",
"Country":"ARE",
"Postal":""
}
},
{
"address":"Bengalore Iyyangar Bakery",
"location":{
"x":74.801508711000508,
"y":12.989277661000415
},
"score":94,
"attributes":{
"City":"Mangalore",
"Region": "Karnataka"
"Country":"IND",
"Postal":""
}
}
]