All Questions
Tagged with arcgis-10.5 field-calculator
16
questions
1
vote
2
answers
3k
views
Getting max value from field in Field Calculator of ArcMap
I'm working from a geodatabase in ArcMap 10.5, and using Model Builder.
I currently have a field with values that range from 0 to 30 and I want to convert that to a 0-10 scale. The idea was to use a ...
0
votes
1
answer
63
views
Combine Two Fields Into One
I joined two tables to a shapefile and the output table has a field from each. Both fields represent the same thing so I'd like to combine them into one. You can see a clip of my fields below, where ...
2
votes
1
answer
192
views
Splitting ID number along hyphens and creating new field with only parts of ID In Field Calculator?
I have a shapefile with polygons and each polygon has an ID number that follows a pattern like this:
SMP_ID
1077-1-1
8-2-2
1281-1-3
304-2-1
In have created a new field and I need to populate it ...
0
votes
3
answers
289
views
Converting VB codeblock to Python in ArcGIS Field Calculator?
I have created a tool in Model Builder to plot telecoms data - the user clicks a point on the map, enters a radius and enters an azimuth. The model then creates the buffer and cuts a segment out of ...
3
votes
2
answers
371
views
Refering to (Joined) Field Names in arcpy in Field Calculator
I'm trying to update the locations of a point FeatureClass using a table.
I have joined the table to the featureclass, and am attempting to use Field Calculator to update the SHAPE field.
I found ...
2
votes
0
answers
116
views
Shape Count vs. Record Count Mismatch
First of all, I really could not think of a good title for this question, so feel free to modify it.
I keep encountering an error using ArcMap 10.5.1. I'll have a table open, to which I add a field.
...
1
vote
1
answer
3k
views
Field calculator to calculate if field contains certain text
I have a field (WS_Type in the screenshot) that I want to use to calculate values based on the text within the field. The number of occurrences of each WS_Type in the field is not important, but the ...
3
votes
2
answers
447
views
Calculate field by comparing a field value to two other fields as min and max
Using ArcMap 10.5, I'm trying to compare recommended fire regimes for different veg types (min/ max fire frequency) with actual burns from the past 10 years to see whether they are in or out of regime....
0
votes
1
answer
334
views
Field calculator to automatically update fields in ArcGIS Desktop?
Trying to get an attribute table to update based on the values in their corresponding rows. for example - If I have a selection of fields whose value is 3, I want the corresponding fields to auto ...
4
votes
1
answer
228
views
Field Calculator - use a string field to determine how a calculation is applied to a numeric field
I have a String field ('Prefix') and a Double field ('Result'). I am trying to group data by a specific range, <0.002, 0.002 to 0.07, >0.07, however some values have a '<' or '>' prefix ...
1
vote
1
answer
64
views
Using Python codeblocks in ArcGIS to evaluate if all values in many columns is 0
I'm working on zoning data and I've been evaluating if the percentage for various zoning is more than 90% of the area, so I can define it as that zone in a new field, like so:
def ifBlock(RS, RM):
if ...
1
vote
1
answer
638
views
Multiple Conditionals String with ArcGIS Field Calculator?
I am trying to use Field Calculator to use a multiple conditional based on a string in another field of the same attribute table.
I have written the code below, but without success.
Pre-Logic Script ...
2
votes
2
answers
2k
views
Use field calculator to return the word after "unit"?
Working on ArcMap Desktop 10.5; the file in question lives in a file gdb. I have a polygon layer with a field of full property addresses (string) from which I need to extract ONLY the unit number, to ...
3
votes
1
answer
2k
views
Python Max Function in Field Calculator for Date values
I have 4 fields with Date Time values, and created a new field (Date type as well) which takes the most recent date from these 4 fields. I have tried using the Max python in the field calculator to ...
3
votes
1
answer
3k
views
Field Calculator error: "calculated value is invalid"
I'm getting the following error when trying to calculate a field:
I'm just trying to calculate all the selected records to equal a value I specify, a simple two-letter zoning code. So the field ...