Bug:  Dual Ranges address locators created with ArcGIS for Desktop 10.1 do not return matches

相关信息
Article ID: 40678
Bug Id: NIM081790
Software:
ArcGIS for Desktop Advanced 10.1
ArcGIS for Desktop Standard 10.1
ArcGIS for Desktop Basic 10.1
ArcGIS for Server 10.1
Platforms:
Windows XP, Server 2003, Vista, Server 2008, Windows 7

BUG描述
Dual Ranges address locators created with ArcGIS for Desktop 10.1 do not return matches, regardless of whether a zone is used to build the locator or not, when used in ArcGIS for Desktop or when published as a service to ArcGIS for Server.

BUG原因
The default setting for the 'Match with no zone' property in the Address Locator Properties under Geocoding Options is set to No.
已邀请:

易智瑞技术支持

赞同来自:

解决方案
There are two options to fix this problem. One option fixes a specific address locator, and the other option permanently sets the default setting of the 'Match with no zone' property to Yes so that all address locators are created with the property set as Yes/true.


For a Specific Address Locator 1. In ArcCatalog or the Catalog window, right-click the address locator.
2. Click Properties.
3. In the Geocoding Options section change 'Match with no zones' from No to Yes.


Permanently Set the 'Match with no zones' Default Setting to Yes/true 
1. In an XML or text editor, open the USAddress.lot.xml file located in the 'c:\program files\arcgis\desktop10.1\locators' or 'c:\program files(x86)\arcgis\desktop10.1\locators' folder.
 
Substitute '10.x' in the address above to match the version of ArcMap in use.
2. Change the two occurrences of the following tag from false to true.

Before
<prop name="supportsOptionalZone" type="Boolean">false</prop>

After
<prop name="supportsOptionalZone" type="Boolean">true</prop>

Any new address locators created will have this setting applied by default.
 
At ArcGIS for Desktop versions 10.2 and higher, there are approximately two to four occurences of the 'supportsOptionalZone' property. New search methods have been added over time that include this property.

Related Information
  1. ArcGIS Desktop 10.3.x - Commonly used address locator styles
  2. ArcGIS Help 10.2 – Commonly used address locator styles


原文链接
http://support.esri.com/en/kno ... 40678

要回复问题请先登录注册