Display Name: Calculate Field
Description: Geoprocessing tool used to perform field calculations.
Category:
Help URL: https://mapsdev.co.ramsey.mn.us/arcgis/rest/directories/arcgisoutput/Services/CalculateField_GPServer/Services_CalculateField/CalculateField.htm
Execution Type: esriExecutionTypeAsynchronous
Parameters:
Parameter: in_table
Data Type: GPString
Display Name Input Table
Description: The table containing the field that will be updated with the new calculation.
Direction: esriGPParameterDirectionInput
Default Value: GISTrans.GISPUB.CountyRdGrid
Parameter Type: esriGPParameterTypeRequired
Category:
Choice List: [ GISTrans.GISPUB.CountyRdGrid ]
Parameter: field
Data Type: GPString
Display Name Field Name
Description: The field that will be updated with the new calculation.
Direction: esriGPParameterDirectionInput
Default Value: Factor3Value
Parameter Type: esriGPParameterTypeRequired
Category:
Choice List: [ Factor1Value, Factor2Value, Factor3Value, TotalRasterValue, Shape, Shape.STArea(), Shape.STLength() ]
Parameter: expression
Data Type: GPString
Display Name Expression
Description: The simple calculation expression used to create a value that will populate the selected rows.
Direction: esriGPParameterDirectionInput
Default Value: !Factor1Value! + !Factor2Value! + !Factor3Value!
Parameter Type: esriGPParameterTypeRequired
Category:
Parameter: expression_type
Data Type: GPString
Display Name Expression Type
Description: Specify the type of expression that will be used.VB—The expression will be written in a standard VB format. This is the default. PYTHON—The 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—The 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—Background 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
Default Value: PYTHON_9.3
Parameter Type: esriGPParameterTypeOptional
Category:
Choice List: [ VB, PYTHON, PYTHON_9.3 ]
Parameter: code_block
Data Type: GPString
Display Name Code Block
Description: Allows for a block of code to be entered for complex expressions.
Direction: esriGPParameterDirectionInput
Default Value:
Parameter Type: esriGPParameterTypeOptional
Category:
Parameter: out_table
Data Type: GPFeatureRecordSetLayer
Display Name Output Feature Class
Description:
Direction: esriGPParameterDirectionOutput
Default Value:
Geometry Type: esriGeometryPolygon
HasZ: true
HasM: true
Spatial Reference: 202011
(202011)
Fields:
-
OBJECTID
(
type: esriFieldTypeOID, alias: OBJECTID
)
-
Factor1Value
(
type: esriFieldTypeDouble, alias: Factor1Value
)
-
Factor2Value
(
type: esriFieldTypeDouble, alias: Factor2Value
)
-
Factor3Value
(
type: esriFieldTypeDouble, alias: Factor3Value
)
-
TotalRasterValue
(
type: esriFieldTypeDouble, alias: TotalRasterValue
)
-
Shape_Length
(
type: esriFieldTypeDouble, alias: Shape_Length
)
-
Shape_Area
(
type: esriFieldTypeDouble, alias: Shape_Area
)
Features: None.
Parameter Type: esriGPParameterTypeDerived
Category:
Supported Operations:
Submit Job