{ "name": "GeocodeFile", "displayName": "GeocodeFile", "description": "GeocodeFile", "category": "", "helpUrl": "https://cimsgeo.coastal.louisiana.gov/arcgis/rest/directories/arcgisoutput/Utilities/GeocodingTools_GPServer/Utilities_GeocodingTools/GeocodeFile.htm", "executionType": "esriExecutionTypeAsynchronous", "parameters": [ { "name": "geocodeParameters", "dataType": "GPString", "displayName": "geocodeParameters", "description": "Input a JSON string, the output of AnalyzeGeocodeInput. The generated field mapping should be reviewed before submitting your BatchGeocode job, otherwise you may end up with unexpected results. Make sure to escape characters that are strings inside strings. Example input:{\"field_info\": \"[[\\\"OBJECTID\\\", \\\"TEXT\\\", 255], [\\\"SingleLine\\\", \\\"TEXT\\\", 255], [\\\"Address\\\", \\\"TEXT\\\", 255], [\\\"Neighborhood\\\", \\\"TEXT\\\", 255], [\\\"Admin1\\\", \\\"TEXT\\\", 255], [\\\"Admin2\\\", \\\"TEXT\\\", 255], [\\\"Admin3\\\", \\\"TEXT\\\", 255], [\\\"City\\\", \\\"TEXT\\\", 255], [\\\"Subregion\\\", \\\"TEXT\\\", 255], [\\\"Region\\\", \\\"TEXT\\\", 255], [\\\"Postal\\\", \\\"TEXT\\\", 255], [\\\"PostalExt\\\", \\\"TEXT\\\", 255], [\\\"Country\\\", \\\"TEXT\\\", 255]]\",\"column_names\": \"\",\"file_type\": \"csv\",\"column_delimiter\": \"\",\"text_qualifier\": \"\",\"field_mapping\": \"[[\\\"SingleLine\\\", \\\"SingleLine\\\"], [\\\"Address\\\", \\\"Address\\\"], [\\\"Neighborhood\\\", \\\"Neighborhood\\\"], [\\\"City\\\", \\\"City\\\"], [\\\"Subregion\\\", \\\"Subregion\\\"], [\\\"Region\\\", \\\"Region\\\"], [\\\"Postal\\\", \\\"Postal\\\"], [\\\"PostalExt\\\", \\\"PostalExt\\\"], [\\\"Admin1\\\", \\\"\\\"], [\\\"Admin2\\\", \\\"\\\"], [\\\"Admin3\\\", \\\"\\\"], [\\\"Country\\\", \\\"CountryCode\\\"]]\",\"singleline_field\": \"SingleLine\",\"header_row_exists\": true} Note: if using AnalyzeGeocodeInput for GeocodeFile, make sure to pass columnNames and inputServiceURL since AnalyzeGeocodeInput does not accept zip file inputs.", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "geocodeServiceURL", "dataType": "GPString", "displayName": "geocodeServiceURL", "description": "The geocode service that should geocode the input table. The service should support batch geocoding and have a geocodeAddresses REST endpoint. This URL should end in GeocodeServer ", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "outputType", "dataType": "GPString", "displayName": "outputType", "description": "Possible options are \"csv\", \"xls\" or \"gdb\". Output is a zipped version of one of those file types.", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "inputFile", "dataType": "GPDataFile", "displayName": "inputFile", "description": "Must be a zipped file already uploaded to ArcGIS Server. Example: {\"itemID\":\"i5df6d71b-c08c-4bdf-a075-be6acb6de930\"}", "direction": "esriGPParameterDirectionInput", "filter": { "type": "file", "list": [ "zip" ] }, "defaultValue": null, "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "tableName", "dataType": "GPString", "displayName": "tableName", "description": "Name of the sheet if the input is a zipped xlsx. Name of the table if the input is a zipped gdb.Example: \"Sheet1\"", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "sourceCountry", "dataType": "GPString", "displayName": "sourceCountry", "description": " Acceptable values include the full country name, the ISO 3166-1 2-digit country code, or the ISO 3166-1 3-digit country code.", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "category", "dataType": "GPString", "displayName": "category", "description": "Enter a category if your geocoding service supports it ", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "outputFields", "dataType": "GPString", "displayName": "outputFields", "description": "Enter the output fields that you want to recieve from the geocoding service, separated by commas. Example: \"x,y,score,match_addr\" ", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "headerRowsToSkip", "dataType": "GPLong", "displayName": "headerRowsToSkip", "description": "Default is 1. If there is no header row, enter 0. If there are empty rows after the header, add them to the one header row and enter the number", "direction": "esriGPParameterDirectionInput", "defaultValue": 1, "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "outputName", "dataType": "GPString", "displayName": "outputName", "description": " Additional properties such as output feature service name ", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "context", "dataType": "GPString", "displayName": "context", "description": "Additional settings such as processing extent and output spatial reference", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "locatorParameters", "dataType": "GPString", "displayName": "locatorParameters", "description": "JSON input can include more geocoding properties. Another way to pass sourceCountry or category. The only way to pass locationType.Example: {\"locationType\":\"rooftop\"}", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "geocodeResult", "dataType": "GPDataFile", "displayName": "geocodeResult", "description": "", "direction": "esriGPParameterDirectionOutput", "defaultValue": null, "parameterType": "esriGPParameterTypeDerived", "category": "" }, { "name": "geocodingStatistics", "dataType": "GPString", "displayName": "geocodingStatistics", "description": "", "direction": "esriGPParameterDirectionOutput", "defaultValue": "", "parameterType": "esriGPParameterTypeDerived", "category": "" } ] }