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.
已邀请:

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.
Since the new file no longer includes references to the old online locators, and has the reference to the World Geocoding service, ArcGIS should now connect to the World Geocoding service rather than the old version 10 services.

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.
This XML document has already been modified to remove references to the deprecated online locators and add the reference to the World Geocoding service.

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.


其它相关参考
  1. DefaultLocators.zip
  2. Setting default locators in ArcMap
  3. Legacy geocoding and routing services at http://tasks.arcgisonline.com will be retired on December 31, 2013
  4. Disable Default Locators that connect to ArcGIS.comWhen ArcGIS for Desktop starts, it attempts to load the default locators or geocode services that are contained within the DefaultLocators.xml file. These locators are used for single address matching using the geocoding toolbar and the Find ...
  5. HowTo: Add the World Geocoding Service to ArcMap for batch geocoding


创建及修改时间
Created: 5/9/2014

Last Modified: 12/4/2014
原文链接
http://support.esri.com/en/kno ... 42540

要回复问题请先登录注册