REST Batch geocoding fails if the field name of the locator contains a space.
Last Published: August 25, 2014No Product Found
Bug ID Number
NIM092365
Submitted
June 12, 2013
Last Modified
June 5, 2024
Applies to
No Product Found
Version found
10.1
Version Fixed
10.2
Status
Fixed
The bug has been fixed. See the Version Fixed and Additional Information, if applicable, for more information.
Workaround
Option 1: Create a composite locator and add the locator created to the composite (even if it is the only one). By default, composite locators do not have a space in the field name.Option 2 (Before the locator is built and for all new locators): Edit the locator style XML file with which you would like to build a locator. 1. Open either the General.lot.xml or USAddress.lot.xml file located in the %ArcGIS Install Directory%/Locators folder. 2. Search for <default_input name= and edit the value within the quotes to remove the spaces in the name. Do this for all occurrences.Option 3 (With an already created locator): Edit the locator XML file. 1. Open the locator's loc.xml file (must copy it into a file folder first). 2. Search for <default_input name= and edit the value within the quotes to remove the spaces in the name. You will need to republish the locator.