HowTo: Add the World Geocoding Service to the list of default locators in ArcGIS Version 10.0
【相关信息】
Article ID: 42540
Software:
ArcGIS - ArcEditor 10
ArcGIS - ArcInfo 10
ArcGIS - ArcView 10
Platforms:
Windows XP, Windows 7
【问题描述】
The following process provides the steps necessary to remove the deprecated ArcGIS Locators and add the new World Geocoding Service to the default locators XML file. This can be useful if ArcGIS Desktop 10.0 is being used and it is desirable to use the World Geocoding Service for single address search on the Geocoding toolbar.
Article ID: 42540
Software:
ArcGIS - ArcEditor 10
ArcGIS - ArcInfo 10
ArcGIS - ArcView 10
Platforms:
Windows XP, Windows 7
【问题描述】
The following process provides the steps necessary to remove the deprecated ArcGIS Locators and add the new World Geocoding Service to the default locators XML file. This can be useful if ArcGIS Desktop 10.0 is being used and it is desirable to use the World Geocoding Service for single address search on the Geocoding toolbar.
1 个回复
EsriSupport
赞同来自:
Follow these steps to remove the deprecated ArcGIS 10.0 locators and add the World Geocoding Service to the list of default locators:
1. Navigate to the ArcGIS installation directory for ArcGIS Desktop and open the Locators folder. For example:
C:\Program Files (x86)\ArcGIS\Desktop10.0\Locators
2. Make a copy of the DefaultLocators.xml file as a back up.
3. Edit the original DefaultLocators.xml with an XML editor, such as Notepad, and remove the references to ArcGIS 10 Online and 9.3.1 locators and the MGRS locator (typically the bottom sections of the document around lines 77 – 286).
4. Add the following to the bottom section of the document where the older references were removed:
<!-- ArcGIS Online World geocode service -->
<locator_ref>
<name>World</name>
<display_name>World Geocode Service (ArcGIS Online)</display_name>
<workspace_properties>
<factory_progid>esriGISClient.AGSServerConnectionFactory</factory_progid>
<ags_connection_properties>
<url>http://geocode.arcgis.com/arcg ... gt%3B
</ags_connection_properties>
</workspace_properties>
</locator_ref>
<!-- MGRS locator -->
<locator_ref>
<name>MGRS</name>
<display_name>MGRS (Military Grid Reference System)</display_name>
<workspace_properties>
<path></path>
</workspace_properties>
</locator_ref>
</default_locators>
5. Save and close the XML document.
Alternate method Alternatively, an updated copy of the "DefaultLocators.xml" may downloaded and extracted from the link below and used to replace the existing DefaultLocators.xml. Follow these steps to replace the DefaultLocators.xml that includes deprecated ArcGIS 10.0 locators with a DefaultLocators.xml that includes the World Geocoding Service instead:
1. Download the DefaultLocators.zip file from the Related Information section below, and extract the DefaultLocators.xml file.
2. Browse to the ArcGIS installation directory for Desktop and open the Locators folder. For example:
C:\Program Files (x86)\ArcGIS\Desktop10.0
3. Make a backup copy of the DefaultLocators.xml file in case it is necessary to return to the default behavior in the future.
4. Copy the new DefaultLocators.xml file to the Locators folder.
【其它相关参考】
【创建及修改时间】
Created: 5/9/2014
Last Modified: 12/4/2014
【原文链接】
http://support.esri.com/en/kno ... 42540
要回复问题请先登录或注册