Calculate Field Tool ArcGIS

preview_player
Показать описание
Calculate Field Tool, Fields Toolset, Data Management ArcToolbox
Summary
Calculates the values of a field for a feature class, feature layer, or raster.

Usage
To learn more about Python expressions, see Calculate Field Python examples.

When used with a selected set of features, such as those created from a query in Make Feature Layer or Select Layer By Attribute, this tool will only update the selected records.
The calculation can only be applied to one field per operation.

Existing field values will be overwritten. Make a copy of the input table if you want to preserve the original values.

For Python calculations, field names must be enclosed in exclamation points (!fieldname!).
For VB calculations, field names must be enclosed in square brackets ([fieldname]).

To calculate strings to text or character fields, on the dialog box, the string must use double quotation marks ("string"), or in scripting, the string using double quotation marks must also be encapsulated in single quotation marks ('"string"').

This tool can also be used to update character items. Expressions using a character string should be wrapped using single quotation marks, for example, [CHARITEM] = 'NEW STRING'. However, if the character string has embedded single quotation marks, wrap the string using double quotation marks, for example, [CHARITEM] = "TYPE'A'".
To calculate a field to be a numeric value, enter the numeric value in the Expression parameter; no quotation marks around the value are required.

The Code Block parameter allows you to create complex expressions. You can enter the code block directly on the dialog box or as a continuous string in scripting. The expression and code block are connected. The code block must relate back to the expression; the result of the code block should be passed into the expression.

The Python math module and formatting are available for use in the Code Block parameter. You can import additional modules. The math module provides number-theoretic and representation functions, power and logarithmic functions, trigonometric functions, angular conversion functions, hyperbolic functions, and mathematical constants. To learn more about the math module, see the Python help.
Saved VB .cal files from previous versions of ArcGIS may work or require minimal modifications. If you have VBA code from past releases that uses ArcObjects, you will need to modify your calculations.

field calculator ,calculate field ,field calculate ,calculated field ,calculate fields ,calcuate field ,how to use calculated field in arcgis pro ,[q&a] - using calculated field in arcgis pro ,calculate geometry ,field calculator - replace string in a column ,field ,populate a field in a table ,autopopulate field table attribute arcgis ,arcmap field calculator ,calculate ,arcmap calculate area tool ,use of field calculator ,field calculator in gis , calculate volume
شرح الأداة :
لمتابعة موقع GISforWE من هنا:
تنزيل برامج ArcGIS و ArcGIS Pro مدى الحياة:
موقع لكل مهتم في مجال نظم المعلومات الجغرافية GIS من هنا:
احترف التعامل مع البيانات الجغرافية من خلال برامج ArcGIS:
تعلم اساسيات إنشاء قواعد البيانات الجغرافية من هنا:
اليك صفحه ومجموعة على الفيس بوك لتعلم أكثر بما يخص نظم المعلومات الجغرافية (GIS) و برامج ArcGIS من خلال هذه الروابط:
مجموعة على الفيس بوك ArcGIS :
مجموعة على الفيس بوك GIS for WE - ArcGIS:
صفحة الفيس بوك GIS for WE:
رابط فيديو مقدمة تعلم على برامج ArcGIS بثلاثة مراحل :

#ArcGIS
#Analysis_GIS
#data_analysis

#GISforWE
GIS for World of E-Learning
Рекомендации по теме