| bio | website | |
|---|---|---|
| location | ||
| age | ||
| visits | member for | 9 months |
| seen | Nov 29 '12 at 5:14 | |
| stats | profile views | 1 |
|
Oct 19 |
comment |
Cursors and Field calculation - Python 2.5 - ArcGis 9.3 To give more details, it seems that in 2) and 3) only the updates from C2 (or CalculateField) computed during the last iteration of the first cursor (C1) are taken into account.... Hope these comments help to the understanding of my original questions. |
|
Oct 19 |
comment |
Cursors and Field calculation - Python 2.5 - ArcGis 9.3 Hi Luke. My original code was correct. Piece of code were just for highlighting. Basically, what I found is that: 1) Using UpdateCursor within a SearchCursor is working fine, but is taking time. 2) using an Updatecursor (C2) within an Updatecursor (C1) on the same table, updates from C2 are not persistent (records from the last run are ok, previous ones are erased. I found that by checking the results after a different number of row.next()). 3) I got the same problem using a calculate field within an Updatecursor. I do not understand why updates are not persistent in 2) and 3). |
|
Oct 19 |
revised |
Cursors and Field calculation - Python 2.5 - ArcGis 9.3 added 2 characters in body |
|
Oct 19 |
revised |
Cursors and Field calculation - Python 2.5 - ArcGis 9.3 added 148 characters in body |
|
Oct 19 |
revised |
Cursors and Field calculation - Python 2.5 - ArcGis 9.3 added 60 characters in body |
|
Oct 19 |
comment |
Cursors and Field calculation - Python 2.5 - ArcGis 9.3 Thanks for your reply. I modified my post. I did put the "row.UpdateRow(row)" within my script. Just forgot to put it on the post..... Sorry about this mistake! |
|
Oct 19 |
revised |
Cursors and Field calculation - Python 2.5 - ArcGis 9.3 I forgot to put the "urow.UpdateRow(urow)" within the message. But it was in my code. Sorry for the mistake!; deleted 336 characters in body |
|
Oct 19 |
awarded | Student |
|
Oct 19 |
revised |
Cursors and Field calculation - Python 2.5 - ArcGis 9.3 added 268 characters in body |
|
Oct 19 |
asked | Cursors and Field calculation - Python 2.5 - ArcGis 9.3 |
|
Sep 14 |
revised |
Split polygons programatically added 59 characters in body |
|
Sep 14 |
awarded | Editor |
|
Sep 14 |
revised |
Split polygons programatically added 349 characters in body |
|
Sep 13 |
awarded | Teacher |
|
Sep 13 |
answered | Split polygons programatically |