{ "name": "CalculateField", "displayName": "Calculate Field", "description": "Geoprocessing tool used to perform field calculations.", "category": "", "helpUrl": "https://mapsdev.co.ramsey.mn.us/arcgis/rest/directories/arcgisoutput/Services/CalculateField_GPServer/Services_CalculateField/CalculateField.htm", "executionType": "esriExecutionTypeAsynchronous", "parameters": [ { "name": "in_table", "dataType": "GPString", "displayName": "Input Table", "description": "The table containing the field that will be updated with the new calculation.", "direction": "esriGPParameterDirectionInput", "defaultValue": "GISTrans.GISPUB.CountyRdGrid", "parameterType": "esriGPParameterTypeRequired", "category": "", "choiceList": [ "GISTrans.GISPUB.CountyRdGrid" ] }, { "name": "field", "dataType": "GPString", "displayName": "Field Name", "description": "The field that will be updated with the new calculation.", "direction": "esriGPParameterDirectionInput", "defaultValue": "Factor3Value", "parameterType": "esriGPParameterTypeRequired", "category": "", "choiceList": [ "Factor1Value", "Factor2Value", "Factor3Value", "TotalRasterValue", "Shape", "Shape.STArea()", "Shape.STLength()" ] }, { "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": "!Factor1Value! + !Factor2Value! + !Factor3Value!", "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "expression_type", "dataType": "GPString", "displayName": "Expression Type", "description": "Specify 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 for Desktop\u2014Background Geoprocessing (64-bit) and ArcGIS for 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": "", "hasZ": true, "hasM": true, "geometryType": "esriGeometryPolygon", "spatialReference": { "wkid": 202011, "latestWkid": 202011 }, "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID" }, { "name": "Factor1Value", "type": "esriFieldTypeDouble", "alias": "Factor1Value" }, { "name": "Factor2Value", "type": "esriFieldTypeDouble", "alias": "Factor2Value" }, { "name": "Factor3Value", "type": "esriFieldTypeDouble", "alias": "Factor3Value" }, { "name": "TotalRasterValue", "type": "esriFieldTypeDouble", "alias": "TotalRasterValue" }, { "name": "Shape_Length", "type": "esriFieldTypeDouble", "alias": "Shape_Length" }, { "name": "Shape_Area", "type": "esriFieldTypeDouble", "alias": "Shape_Area" } ], "features": [], "exceededTransferLimit": false }, "parameterType": "esriGPParameterTypeDerived", "category": "" } ] }