Tagged Questions
1
vote
1answer
42 views
How to reach a field value of a record in field calculator in ArcGIS 10.1
I have two fields showing number of people in two age groups "young" and "old". these people also live in a cell (point) whose distance to a specific facility is calculated. then I categorized these ...
0
votes
0answers
80 views
python script to calculate and return values based on several conditions
I need to calculate and return the value "continuous" to those records in a polygon feature class with species records aggregated to a UTM grid
considering the attributes are species name, grid code, ...
1
vote
1answer
156 views
Why does Field Calculator return 0 values when decimals are expected?
I realize I posed this question, and got answers, several days ago (see (Field calculator error)) , but none seem to really be working, and so am posing again.
Below are two screenshots that show the ...
3
votes
3answers
144 views
Field calculator error [duplicate]
NOTE: This problem is similar to one that was answered here: Why does Field Calculator return 0 values when decimals are expected?
I'm relatively new to python, and am trying to run a simple field ...
2
votes
1answer
72 views
Calculate field result is float with Arc tool, integer with arcpy script
I am trying to calculate a field for some points within a python script using arcpy functions. (This is calculating the percentage visibility from a cumulative viewshed, if that matters.)
# Process: ...
2
votes
1answer
96 views
Mysterious Invalid Syntax in Field Calculation
I'm trying to calculate a field in Model Builder using the Calculate Field tool. I'm using the following code block and expression in the calculation, but am getting an "invalid syntax (, line 1)" ...
2
votes
2answers
140 views
Type mismatch error in Calculate Field tool in ArcGIS 10.1
I'm trying to run a rather lengthy model (built in ArcGIS 9.3.1) in ArcGIS 10.1 and I'm recieving an error on a Calculate Field tool. The error is - Type mismatch: 'iif'.
This error is refering to ...
3
votes
1answer
472 views
Using Python to Calculate a field
I am trying to replace values in a single column using an else if statement, but I keep getting an Syntax error in line 2. I'm new to Python so it's probably an easy solution, but I haven't been able ...
1
vote
2answers
872 views
Use Round in ArcMap 10.x Field Calculator on field with both numeric and NULL values
With older versions of ArcMap (9.3, 9.2, etc) I was always able to round numbers down to 2 decimal places using field calculator even if that field had both numeric values and a bunch of NULL values. ...
6
votes
2answers
621 views
Calculating Field based on name of shapefile
I have multiple shapefiles to which I have added a field called "gname1". For each shapefile, I want "gname1" to be set to the name of that particular shapefile, for every feature within the ...
