This topic provides a brief walkthrough of how to share a locator as a service to an ArcGIS Enterprise portal, create a locator package, and create a mobile map package. More information about each of these can be found in Introduction to sharing locators.
Share a locator as a hosted service
Once you create a locator, you can share it on your active ArcGIS portal. Sharing a locator as a hosted service in ArcGIS Enterprise is the way you make geocoding always available to everyone in your organization. Internet or intranet users can then use the hosted locator in web apps, ArcGIS Desktop, ArcGIS Online, and other client applications.
Before sharing your locator, there are a few options for managing locator data on the server to consider. If your locator is, or should be, stored on the server in a specific location—for instance, if your locator is larger than 1 GB in size—register the folder location as a data store. Using a data store can minimize service downtime when restarting or overwriting a service. If your locator is stored on a local machine, the publishing process copies the locator to the server. See the following topics to learn more about managing locator data:
You can share a locator to an ArcGIS Enterprise portal, share to ArcGIS Enterprise on Kubernetes, or publish the locator to a stand-alone ArcGIS Server. If your locator is over 1 GB in size, you must share or publish the locator using a data store as the locator may fail to publish. Copy the locator to the folder on the server that will be registered as a data store with the federated server.
- When sharing a locator created with the Create Address Locator tool to the portal, you must be signed in, with publisher or administrator privileges, to ArcGIS Enterprise 10.5 with at least one federated server. However, ArcGIS Enterprise 10.9 will be the last release to support sharing locators to the portal created with the Create Address Locator tool. Re-create locators in ArcGIS Pro 2.3 or later with the Create Locator tool.
- When sharing a locator created with the Create Locator tool to the portal, you must be signed in, with publisher or administrator privileges, to ArcGIS Enterprise 10.6.1 or later with at least one federated server.
- When sharing a locator based on the Parcel role created with the Create Locator tool or a locator created with the Create Feature Locator tool, you must be logged in, with publisher or administrator privileges, to ArcGIS Enterprise 10.8 or later with at least one federated server.
- When sharing a locator created with the Create Locator tool with the Precision Type parameter set to Global Extra High or Local Extra High, you must be signed in, with publisher or administrator privileges, to ArcGIS Enterprise 10.8.1 or later with at least one federated server.
- On the Share tab of the ribbon,
in the Share As group, click the Locator drop-down menu and click Share locator .
Alternatively, in the Catalog pane, expand Locators or folder connection in the Folders category , right-click the locator to share, and choose Share As Locator .
The Select the Locator to Share dialog box appears.
- Browse to select the locator to share and click OK.
The Share Locator pane appears.
- Fill in the information on the General tab of the Share Locator pane.
- Keep or change the name of the locator in the Name text box, which is automatically populated with the name of the locator, but you can change the name.
- Provide information in the Item Description, Summary, and Tags text boxes.
- Under Location, use the Portal Folder menu to choose a folder in your portal content in which to store the locator. Optionally, create a folder.
By default, the locator is stored at the root level of your portal content.
Click the Browse button to browse to a folder in your portal content. You can also type a folder name in the text box.
- Use the Server and Folder drop-down menus to specify the federated server where the service is published and the folder where it is stored. Optionally, create a folder.
By default, the service is stored in the root folder of the hosting server.
If your locator is over 1 GB in size click the Data Stores button to open the Manage Registered Data Stores pane. Use this pane to register folders with federated servers.
- Optionally, define which people in your organization you want to share your locator with by modifying Sharing Option.
- Optionally, modify the service properties on the Configuration tab of the Share Locator tab.
- Review the folder structure into which your locator will be shared on the Content tab of the Share Locator tab.
- Under Finish Sharing, 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. Errors must be resolved before you can save the service definition. Resolving warnings is recommended but not required.
- After you have resolved errors, and optionally, resolved warnings, click Publish to share the locator.
If you want to save a service definition for the locator instead, click the Publish drop-down arrow and click Save As SD. To learn more, see Save a service definition for a locator.
Your locator is now running on the federated server on your portal and can be accessed by users and clients on your network. If you shared the locator as a server administrator and allowed web access to the service, your service is also now available on the web.
You can add the locator from your portal to your project from the Portal tab of the Catalog pane. Browse to the shared locator there, right-click the locator, and choose Add to project. You can then use the locator in the Locate pane, Geocode Table pane, and in the geocoding geoprocessing tools.
Share a locator package
A good way to distribute a locator inside or outside of your organization is to create a locator package.
- On the Analysis tab of the ribbon,
click the Tools button to open the Geoprocessing pane.
The Geoprocessing pane appears.
- In the text box, search for the Package Locator tool, and click it to open.
The Package Locator tool opens.
- For the Input Locator, browse to the locator on disk that you want to package and share with others in your organization.
- For the Output Locator, specify a location on disk to save the locator package.
- Click Run to execute the geoprocessing tool.
Once the tool has finished running, a .gcpk file is created, containing all the files from the original locator that can easily be shared for use in disconnected environments.
Share a locator in a mobile map package
If you need to share a locator for use in disconnected environments, you can create a mobile map package for use in mobile apps.
- On the Share tab of the ribbon, in the Package section,
click Mobile Map.
The Package Mobile Map pane appears.
- Select the Save package to file option if it's not already selected by default.
The output is saved as an .mmpk file on disk.
- Specify a save location and output file name in the Name text box.
A default name and save location is generated automatically, but you can change these.
- Provide a Summary and Tags to describe your locator and help users search for it or understand what it does.
- Optionally, change the extent of the map to be included in your mobile map package and specify whether you want to clip the data to that extent.
If Clip is checked, the locator is also clipped to the specified map extent. The clipped locator in the mobile map package only returns geocode results that are within the specified map extent.
- Check the Include Locator check box.
Checking this box ensures that the locator is included with your mobile map package.
- Click Package to create your mobile map package.
Once the tool has finished running, an .mmpk file is created, containing all the files from the original locator that can be shared for use in disconnected mobile environments.
By examining why you need to share a locator with your organization and how it will be used, you can determine whether sharing a locator as a hosted service or as a package is the best workflow to achieve your goals.