{ "name": "CalculateField", "displayName": "Calculate Field", "description": "Geoprocessing tool used to perform field calculations.", "category": "", "helpUrl": "https://maps1webserver2.croppermap.com/arcgis/rest/directories/arcgisoutput/Refresh_GPServer/Refresh/CalculateField.htm", "executionType": "esriExecutionTypeAsynchronous", "parameters": [ { "name": "in_table", "dataType": "GPFeatureRecordSetLayer", "displayName": "Input Table", "description": "The table containing the field that will be updated with the new calculation.", "direction": "esriGPParameterDirectionInput", "defaultValue": { "displayFieldName": "", "geometryType": "esriGeometryPolygon", "spatialReference": { "wkid": 102100, "latestWkid": 3857 }, "fields": [ { "name": "FID", "type": "esriFieldTypeOID", "alias": "FID" }, { "name": "ESZone1920", "type": "esriFieldTypeString", "alias": "ESZone1920", "length": 50 }, { "name": "PBID", "type": "esriFieldTypeString", "alias": "PBID", "length": 10 }, { "name": "LiveK5", "type": "esriFieldTypeInteger", "alias": "LiveK5" }, { "name": "Live68", "type": "esriFieldTypeInteger", "alias": "Live68" }, { "name": "Live912", "type": "esriFieldTypeInteger", "alias": "Live912" }, { "name": "Size", "type": "esriFieldTypeDouble", "alias": "Size" }, { "name": "Shape_Length", "type": "esriFieldTypeDouble", "alias": "Shape_Length" }, { "name": "Shape_Area", "type": "esriFieldTypeDouble", "alias": "Shape_Area" } ], "features": [], "exceededTransferLimit": false }, "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "field", "dataType": "GPString", "displayName": "Field Name", "description": "The field that will be updated with the new calculation.", "direction": "esriGPParameterDirectionInput", "defaultValue": "ESZone1920", "parameterType": "esriGPParameterTypeRequired", "category": "", "choiceList": [ "Shape", "ESZone1920", "PBID", "LiveK5", "Live68", "Live912", "Size" ] }, { "name": "expression", "dataType": "GPString", "displayName": "Expression", "description": "The simple calculation expression used to create a value that will populate the selected rows.", "direction": "esriGPParameterDirectionInput", "defaultValue": "!ESZone1920!", "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "expression_type", "dataType": "GPString", "displayName": "Expression Type", "description": "Specifies the type of expression that will be used.VB\u2014The expression will be written in a standard VB format. This is the default. PYTHON\u2014The expression will be written in a standard Python format. Use of geoprocessor methods and properties is the same as creating a 9.2 version geoprocessor. PYTHON_9.3\u2014The expression will be written in a standard Python format. Use of geoprocessor methods and properties is the same as creating a 9.3 version geoprocessor. Field calculations with a VB Expression type are not supported on 64-bit products, including ArcGIS Pro, ArcGIS Desktop\u2014Background Geoprocessing (64-bit)\u2014and ArcGIS Server. To successfully use Calculate Field in these products, expressions should be converted to Python, or in the case of Background Geoprocessing (64-bit), background processing can alternatively be disabled.", "direction": "esriGPParameterDirectionInput", "defaultValue": "PYTHON_9.3", "parameterType": "esriGPParameterTypeOptional", "category": "", "choiceList": [ "VB", "PYTHON", "PYTHON_9.3" ] }, { "name": "code_block", "dataType": "GPString", "displayName": "Code Block", "description": "Allows for a block of code to be entered for complex expressions.", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "out_table", "dataType": "GPFeatureRecordSetLayer", "displayName": "Output Feature Class", "description": "", "direction": "esriGPParameterDirectionOutput", "defaultValue": { "displayFieldName": "", "geometryType": "esriGeometryPolygon", "spatialReference": { "wkid": 102100, "latestWkid": 3857 }, "fields": [ { "name": "FID", "type": "esriFieldTypeOID", "alias": "FID" }, { "name": "ESZone1920", "type": "esriFieldTypeString", "alias": "ESZone1920", "length": 50 }, { "name": "PBID", "type": "esriFieldTypeString", "alias": "PBID", "length": 10 }, { "name": "LiveK5", "type": "esriFieldTypeInteger", "alias": "LiveK5" }, { "name": "Live68", "type": "esriFieldTypeInteger", "alias": "Live68" }, { "name": "Live912", "type": "esriFieldTypeInteger", "alias": "Live912" }, { "name": "Size", "type": "esriFieldTypeDouble", "alias": "Size" }, { "name": "Shape_Length", "type": "esriFieldTypeDouble", "alias": "Shape_Length" }, { "name": "Shape_Area", "type": "esriFieldTypeDouble", "alias": "Shape_Area" } ], "features": [], "exceededTransferLimit": false }, "parameterType": "esriGPParameterTypeDerived", "category": "" } ] }