POST
|
I tried with "#1 Rajasthan". I still got error. http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/findAddressCandidates?SingleLine=#1%20Rajasthan&langC… Can you share the url, I will try..
... View more
05-26-2017
03:43 AM
|
0
|
1
|
500
|
POST
|
Yes, If I remove the special character "#" it works. http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/findAddressCandidates?SingleLine=1,%20boston&langCode… Response: "candidates": [ { "address": "Pho So 1 Boston", "location": { "x": -71.043648798999641, "y": 42.163068841000495 }, "score": 95.5, "attributes": { "City": "Randolph", "Region": "Massachusetts", "Country": "USA", "Postal": "" }, "extent": { "xmin": -71.048649999999995, "ymin": 42.158068999999998, "xmax": -71.038650000000004, "ymax": 42.168069000000003 } } ]
... View more
05-26-2017
01:08 AM
|
0
|
3
|
500
|
POST
|
Description: Searched with a text “Bangalore” with findAddressCandidates api. City is empty. Searched with Postal “Bangalore” with findAddressCandidates multiline api. City and state are empty. 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": "" } } ] http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/findAddressCandidates?Address=&Postal=560037&langCode=EN&maxLocations=10&forStorage=false&outFields=City,Region,Country,Postal&f=pjson Response: " candidates": [ { "address": "560037", "location": { "x": 77.6929203250005, "y": 12.96380000600044 }, "score": 100, "attributes": { "City": "", "Region": "", "Country": "IND", "Postal": "560037" } } ]
... View more
05-25-2017
11:47 PM
|
0
|
1
|
916
|
POST
|
Description: Searched with a text “#1 boston” with findAddressCandidates api with langCode=EN. ESRI returns error code 403. ESRI Call: http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/findAddressCandidates?SingleLine=#1,%20boston&langCode=EN&maxLocations=10&forStorage=false&outFields=City,Region,Country,Postal&f=pjson Response: ArcGIS REST Framework Home Error: Services Directory has been disabled. Code: 403
... View more
05-25-2017
11:46 PM
|
0
|
5
|
888
|
POST
|
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": "" } } ] Fetching 4 addresses for search text ‘Bengalore’. 1 st address shows "Region": "Karnātaka" -> incorrect English Last address shows "Region": "Karnataka", -> Correct one. Why for the same list of addresses one is correct and another is incorrect?http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/findAddressCandidates?Address=Bengalore&langCode=EN&maxLocations=4&forStorage=false&outFields=City,Region,Country,Postal&f=pjson 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":"" } } ]
... View more
05-25-2017
11:44 PM
|
0
|
0
|
651
|
POST
|
Description: Searched “bhutan” with api findAddressCandidates?SingleLine which returned an address with lat long. Now using same lat long found in above api response, fired api reverseGeocode to get address. ESRI returns error saying “Unable to find address for the specified location.” ESRI Call: http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/findAddressCandidates?SingleLine=bhutan&langCode=EN&maxLocations=1&forStorage=false&outFields=City,Region,Country,Postal&f=pjson Response: candidates": [ { "address": "Kingdom of Bhutan", "location": { "x": 90.499999161000517, "y": 27.499999510000464 }, "score": 100, "attributes": { "City": "", "Region": "", "Country": "BTN", "Postal": "" } } ] http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/reverseGeocode?location=90.499999161000517%2C+27.499999510000464&distance=200&outSR=&f=pjson "error": { "code": 400, "message": "Cannot perform query. Invalid query parameters.", "details": [ "Unable to find address for the specified location." ] }
... View more
05-25-2017
06:58 AM
|
0
|
0
|
596
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|