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
This error usually comes up when the REST directory is not accessible.
Are you able to make any successful query (even without special characters)?
How are you doing the query?
Yes, If I remove the special character "#" it works.
http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/findAddressCandidates?SingleLine=1,%20boston&langCode…
"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 } } ]
That's because there is no address with "#1 Boston" in World Geocode Service. Geocoded Addresses of USA are very precise and organized.
When I tried "#1 Rajasthan", it returned an address.
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..
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.