Any way to limit the geocoding extent?
Hello all,
We are using the ArcGIS Online Word Geocoding service (http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer) within our site. The Geocortex Essentials interface only exposes the following parameters from that service:
- Address
- Neighborhood (not used in the US)
- City
- Subregion (not used in the US)
- Region (State in the US)
- Postal (Zip Code in the US)
- PostalExt (Zip +4 in the US)
- CountryCode
The world geocoding service has other parameters available through Esri but not exposed in Geocortex (see complete list (http://resources.arcgis.com/en/help/arcgis-online-geocoding-rest-api/index.html#//02q000000007000000) here ). I am specifically interested in limiting the geocoding search to a specific extent, which is available as the parameter "searchExtent" on the geocoding service but that parameter isn't exposed as an option in Geocortex. Is there anyway to add the additional parameters?
The reason we would like to use this is that we don't want users to have to put in the city when searching for an address or cross street. We can't prepopulate the search form with a specific city since our jurisdiction covers multiple cities. The best we can do with the parameters currently exposed is to prepopulate the "Region" with our state "CA", however this is too broad of a search area.
Anyone else run into this? I can create a custome Geocoding Service if I need to, was just trying to see if I could leverage online resources first so there is one less thing to maintain.
Thanks in advance,
Matt
-
It would be great if the Geocortex geocoder request would include supported parameters for singline. If the global search key is set to SingleLine SearchExtent is ignored even though SearchExtent is supported for SingleLine requests. A missing parameter for SingleLine search is sourceCountry which is different from countryCode.
By adding these supported parameters searching within a state (region) will have much better results for users and still allow the user to specify address and city without getting results from the other side of the country and world.
https://developers.arcgis.com/rest/geocode/api-reference/geocoding-find-address-candidates.htm
0
Please sign in to leave a comment.
Comments
1 comment