HowTo:  Update the legacy geocoding service for the ArcGIS for Local Government ArcGIS Viewer for Flex applications

相关信息
Article ID: 41560
Software:
ArcGIS for Local Government 10.0, 10.1
Platforms: N/A

问题描述
Many of the ArcGIS for Local Government ArcGIS Viewer for Flex applications use the legacy geocoding service by default. As of December 31, 2013, the
legacy geocoding services from this location has been retired.

Some of the functionality of this service is replaced by the geocoding service at the following URL:


http://geocode.arcgis.com/arcgis/index.html
For more information on the legacy geocoding services please read the Esri blog:


Legacy Geocoding and Route Services Will Be Retired on December 31, 2013.

已邀请:

EsriSupport

赞同来自:

解决方案
This article describes how to update the following ArcGIS for Local Government ArcGIS Viewer for Flex applications to continue to work with the new geocoding service:

• Water Utility Operations Dashboard (ArcGIS 10.0, 10.1)
• Common Operational Picture (10.0, 10.1)
• SnowCOP (ArcGIS 10.0, 10.1)


  1. Identify and note the file to be updated based on the application name and version listed below: • Water Utility Operations Dashboard (ArcGIS 10.0, 10.1): <application name>\widgets\locate\infralocatewidget.xml • Common Operational Picture (10.1): <application name>\widgets\emheadercontroller\emheadercontrollerwidget.xml • Common Operational Picture (ArcGIS 10.0): <application name>\widgets\headercontroller\emheadercontrollerwidget.xml • SnowCOP (ArcGIS 10.0, 10.1): <application name>\widgets\locate\locatewidget.xml
  2. In Windows Explorer, browse to the location of the .xml file for each application.
  3. Copy the file and rename it backup_copy.xml.
  4. Open the original .xml file in Microsoft Notepad or another text editor.
  5. Look for the line of the configuration file similar to the code snippet below: <locator>http://tasks.arcgisonline.com/ ... gt%3B
  6. Copy and paste the following service, overwriting the legacy service. http://geocode.arcgis.com/arcg ... erThe service being overwritten is one of two services below: <http://tasks.arcgisonline.com/ ... veror <http://tasks.arcgis.com/ArcGIS ... erver
  7. The configuration file should look similar to the code snippet below: <locator>http://geocode.arcgis.com/arcg ... gt%3B
  8. Save the .xml file.
  9. Open a web browser, clear the browsing cache and test the application to ensure it is operating correctly.


其它相关参考
  1. HowTo: Update the legacy geocoding service for ArcGIS for Local Government JavaScript applications
  2. HowTo: Update the legacy routing services for ArcGIS for Local and State Government (ArcGIS 10.2) applications
  3. Update legacy routing services for the Park and Recreation Finder, My Government Services, and Election Polling Places


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

Last Modified: 12/30/2013
原文链接
http://support.esri.com/en/kno ... 41560

要回复问题请先登录注册