| bio | website | |
|---|---|---|
| location | ||
| age | ||
| visits | member for | 10 months |
| seen | Aug 12 '12 at 20:14 | |
| stats | profile views | 2 |
|
Jul 27 |
comment |
Arcpy: Calculate new field from user input and existing data Thanks Phillip, script is working. Learned a lot and I'm quite thrilled. As you suggested it was a couple pieces of messy syntax and a lot of bad math. Will be more careful in the future. |
|
Jul 26 |
comment |
Arcpy: Calculate new field from user input and existing data There is no mpg row in the table, the mpg is a user input that is to be used as a parameter. After the mpg is converted to liters per km it is used as one of the inputs to calculate the "cost" field. |
|
Jul 26 |
comment |
Arcpy: Calculate new field from user input and existing data Thank you for the feedback. After changing the UpdateCurser The row length messages are coming through alright, that is the last thing I get. I have determined that the error is on the line: lperkm = row.getValue(mpg) I've converted the float to a string with the same function parameter error in the result mpgx = str(mpg) lperkm = row.getValue(mpgx) I'll check out tutorials as recommended. |
|
Jul 26 |
awarded | Supporter |
|
Jul 26 |
awarded | Student |
|
Jul 26 |
comment |
Arcpy: Calculate new field from user input and existing data AHight, PolyGeo Thanks a lot for the quick answers, really appreciate the help. |
|
Jul 25 |
asked | Arcpy: Calculate new field from user input and existing data |