AnalyzeGeocodeInput

Titleā€ƒ AnalyzeGeocodeInput

Summary

Analyze File auto-generates a field mapping for the input table or file provided, and outputs GeocodeParameters JSON. The JSON output is a required parameter for the BatchGeocode Tool.


Usage

Syntax

Parameter Explanation
geocodeServiceURL <DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN>The geocode service that should geocode the input table or file. The service should support batch geocoding and have a geocodeAddresses REST endpoint. This URL should end in GeocodeServer</SPAN></P><P><SPAN /></P></DIV></DIV></DIV>
inputTable (Optional) <DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN>The portal item URL of a table in an input feature service to be geocoded. ServiceToken does not need to be rpovided if the table is on the hosting server. Example input: {"url":"&lt;serverURL&gt;/rest/services/Hosted/input_table/FeatureServer/0","serviceToken":"&lt;token&gt;"}</SPAN></P><P><SPAN /></P></DIV></DIV></DIV>
inputFileItem (Optional)

The itemid of the portal file as input to the geocoding service. The itemid should correspond to a CSV or Microsoft Excel file in the Portal. Example input: {"itemid":"b5606093e2c24851a499d6f25676e823"}

columnNames (Optional)

If your file does not contain a header row, then "columnNames" CANNOT be empty. Specify the column names separated by commas, like so: address,city,state,zip. You can also pass this instead of passing an inputFile or inputTable.

inputFileParameters (Optional)

Enter the JSON of input file Parameters. Example JSON:</SPAN></P><P><SPAN>{"fileType": "xlsx","headerRowExists": "true","columnDelimiter":"","textQualifier":""}

locale (Optional) <DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN>If your data is not English, make sure to fill out your locale in order to ensure a language-specific field mapping. Enter a 2-letter or 4-letter specific locale. Examples include "en" or "ar-bh"</SPAN></P><P><SPAN /></P><P><SPAN /></P></DIV></DIV></DIV>
context (Optional) <DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN><SPAN>Additional settings such as processing extent and output spatial reference.</SPAN></SPAN></P><P><SPAN /></P></DIV></DIV></DIV>

Code Samples

Tags

Batch Geocoding

Credits

This tool does not cost any credits to use.


Use limitations