Hello,
I am using the suggest ArcGIS REST API to get a list of suggestions based on the text that I am sending. The URL for the get method that I am using is http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/suggest?text={text}&countryCode={countryCode}&category={categorySearch}&f={f}
For example: if I send this text "Gordon st mackay" it doesn't return any suggestions. If I send "Gordon st, mackay" it returns me a list of suggestions.
Is there a way to get suggestions if we don't put the comma?
I don't seem to be having an issue using the following request without a comma. Do you need to use the countryCode and category parameters?
http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/suggest?text=Gordon%20st%20mackay&f=pjson
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.