Batch Geocode (Geocoding Tools)
Summary
Geocodes a large table or .csv file of addresses or places asynchronously using the batchGeocode REST API. The geocoded results are returned as a feature class and do not require ArcGIS Pro to chunk the request into smaller batches.
When using this tool, geocoding can be isolated and scaled on the server independent of other processes. For example, when submitting a job to the ArcGIS World Geocoding Service, dedicated hardware will be assigned to process the file, resulting in a faster response. You can select either the ArcGIS World Geocoding Service or a service hosted in ArcGIS Enterprise on Kubernetes 11.5 or later with your configured Kubernetes cluster.
Note:
Performing geocoding operations using the ArcGIS World Geocoding Service requires an ArcGIS organizational account, and consumes credits. The organizational account must have enough credits to complete the entire geocoding request.
Credit estimation is shown at the top of the tool in the Geoprocessing pane when the active portal is ArcGIS Online.
Usage
When using the ArcGIS World Geocoding Service as the Input Batch Service parameter value, the input table or file must have at least 100,000 records.
When using the ArcGIS World Geocoding Service as the Input Batch Service parameter value, the Input Table parameter value is temporarily stored in your ArcGIS Online portal until the job has completed. After the job has finished, the temporary file will be deleted from the portal.
The maximum number of records supported by this tool is 50 million. If the table exceeds 50 million records, split the table into multiple tables with 50 million or less records. If the input is a
.csvfile, it must use UTF-8 encoding with a byte order mark (BOM).Note:
You can use a third-party application such as Microsoft Excel or Notepad++ to add a UTF-8 BOM to the
.csvfile.The first row of the input
.csvfile is used as the field names for the output feature class in addition to the fields appended from the locator. Field names cannot contain spaces or special characters other than an underscore.Note:
When using the tool in Python, the fields of the
table_field_nameparameter value must be in the same case as the fields for theinput_address_fieldparameter value for field mapping using theaddress_fieldsparameter.When the locator is published to ArcGIS Enterprise on Kubernetes with the Batch Geocode capability enabled, two services are created: a GeocodeServer service and a GPServer service. When using the tool in Python, the
in_batch_serviceparameter value must be the GPServer, for example,https://machinename.domain.com/server/rest/services/service_name/GPServer.The geocoding results are saved in the same spatial reference as the service. You can change the spatial reference of the output by setting the Output Coordinate System environment.
The geocoding results will contain all relevant geocoding information, including score, status, and the matched address of each record, as well as the values from the original input table or file. The geocoding results from this tool contain a static snapshot of the original input table, so adding or updating values in the original table will not update the results in the output feature class. Rerun the tool to create an output feature class that contains these changes.
The following parameters are not supported for all batch services used for the Input Batch Service parameter value: Country or Region, Preferred Location Type, and Category.
This tool does not support selections. To geocode a portion of a table, export the part of the table you want to geocode and run the tool on the new, smaller table.
Parameters
| Label | Explanation | Data type |
|---|---|---|
|
Input Table |
The table or |
Table View |
|
Input Batch Service |
The geocode service on the portal with batch geocode support that will be used to geocode the table of addresses and places. Note:If the service is a custom locator or an ArcGIS StreetMap Premium locator, it must be published to ArcGIS Enterprise on Kubernetes 11.5 or later with the Batch Geocode capability enabled. |
String |
|
Address Field Mapping |
The mapping of address fields used by the locator to fields in the input table or file of addresses. Specify Single Field if the complete address is stored in one field in the input table or file, for example, 303 Peachtree St NE, Atlanta, GA 30308. Specify Multiple Fields if the input addresses are divided into multiple fields such as Some locators support multiple input addresses fields, such as If you do not map an optional input address field used by the address locator to a field in the input table or file of addresses, specify that there is no mapping using <None> in place of the field name. |
Field Info |
|
Output Feature Class |
The output geocoded feature class. Note:Saving the output to shapefile format is not supported due to shapefile limitations. |
Feature Class |
|
Country or Region |
The country or countries that the search will be limited to for the geocoded addresses. Specifying a country will improve the accuracy of geocoding in most cases. When no country is specified, geocoding is performed using all supported countries of the locator. This parameter value will be overridden when you specify Single Field and Country Field for the Address Field Mapping parameter. |
String |
|
Preferred Location Type (Optional) |
Specifies the preferred output geometry that will be returned for
|
String |
|
Category (Optional) |
Limits the types of places the locator searches, which eliminates false positive matches, unwanted address level matches, or disambiguates coordinate searches. This parameter can help speed up the search process. When no category is used, geocoding is performed using all supported categories. Not all category values are supported for all locations and countries. See the ArcGIS REST API web help for details about category filtering. |
String |
|
Output Fields (Optional) |
Specifies the locator output fields that will be returned in the geocode results. The original field names from the Input Table parameter value will be maintained if the Location Only, Minimal, or Minimal and User Fields option is specified.
|
String |
|
Match Narrative (Optional) |
Specifies how the match narrative will be returned in the output geocoded feature class. If no parameter value is specified, the Include match narrative locator property setting will be used. This parameter can help better understand how addresses were matched in the geocoded feature class.
|
String |
Environments
Licensing information
- Basic: Requires your account in ArcGIS Enterprise to have the Perform Analysis privilege
- Standard: Requires your account in ArcGIS Enterprise to have the Perform Analysis privilege
- Advanced: Requires your account in ArcGIS Enterprise to have the Perform Analysis privilege