Using areal units on geographic data will yield questionable results as decimal degrees are not consistent across the Areal unit of measure keywords: Python expressions can use the geometry area and length properties with an areal or linear unit to convert the value to a different unit of measure (for example, If the data is stored in a geographic coordinate system and a linear unit is supplied (for example, miles), the length will be calculated using a geodesic algorithm. ACRES | ARES | HECTARES | SQUARECENTIMETERS | SQUAREDECIMETERS | SQUAREINCHES | SQUAREFEET | SQUAREKILOMETERS | SQUAREMETERS | SQUAREMILES | SQUAREMILLIMETERS | SQUAREYARDS | SQUAREMAPUNITS | UNKNOWN.CENTIMETERS | DECIMALDEGREES | DECIMETERS | FEET | INCHES | KILOMETERS | METERS | MILES | MILLIMETERS | NAUTICALMILES | POINTS | UNKNOWN | YARDS.
Arcmap raster calculator update#
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.įields are always enclosed in brackets for VBScript.įor Python calculations, field names must be enclosed in exclamation points ( !fieldname!). To calculate strings to text or character fields, in 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.