Geocode services provide geocoding capabilities on the web. By publishing a locator to a stand-alone ArcGIS Server, geocoding capabilities are available to anyone with access to that ArcGIS Server. Geocode services support various operations, such as finding addresses or places, geocoding tables of addresses or places, finding information about a location with reverse geocoding, and providing interactive autocomplete suggestions.
When you publish a geocode service, the server makes your locator available through a service URL, or REST endpoint. Client applications can use the URL to access the service and other capabilities that you enable during the publishing process. Geocode services can also be added directly to ArcGIS Pro through an ArcGIS Server connection.
To publish a geocode service, your project must contain a publisher or administrator connection to a stand-alone ArcGIS Server 10.6 or later. For more information, see Connect to a GIS Server.
This workflow is only available when publishing to stand-alone ArcGIS Servers. To share locators to a server federated with ArcGIS Enterprise, see Share a locator.
You can also use ArcPy to publish a geocode service to a stand-alone server. To learn more, see CreateGeocodeSDDraft.
Prior to publishing your locator, there are a few options you can use to manage locator data in the server. See the following topics to learn more about managing locator data:
- Make your data accessible to ArcGIS Server
- Copy data to the server when publishing
- Register your data with ArcGIS Server using Server Manager or Registering your data with ArcGIS Server using ArcGIS Desktop or ArcGIS Pro.
To publish a geocode service, follow these steps:
- In the Catalog pane or a catalog view, browse to the collection of servers in your project.
Right-click the ArcGIS Server that you'll publish to, click Publish, and click Geocode Service .
The Publish menu is only available on ArcGIS Server connections to stand-alone servers with privileges to publish services.
- On the Select Locator dialog box, browse to the locator that you want to publish, select it, and click OK.
- In the Publish Geocode Service pane, enter the Name of the service, and add a Summary and Tags.
Note:The name of the service cannot be more than 120 characters in length and can contain only alphanumeric characters and underscores.
- In the Folder menu, specify the folder on the server where you want to store the service. Type the name of the folder if the folder does not already exist. The service is stored in the root folder if a folder is not specified.
- On the Configuration tab, set the properties for your geocode service. You can choose what users can do with your service by enabling Capabilities as needed and take fine-grain control of how the server will expose your service.
- Optionally click the Content tab to view the new service structure.
- Click Analyze to identify potential issues or limitations. The Messages tab displays errors and warnings raised by the analysis. Right-click a message to get more information, access the associated help topic, or access suggested fixes.
For more information about resolving these issues, see Analyze your GIS resource.
Note:Analyzer help topics refer to the locator that corresponds to the service being published. For example, you may see references to composite locators for an analyzer issued for your geocode service.
- Once you've resolved any errors, and optionally resolved any warnings, click Publish.
- When the service has successfully published, optionally click the Manage the service link to access the service REST endpoint.