Update Cursor Python Programming Issue

460
10
10-28-2017 02:35 PM
CourtneyWade
New Contributor II

Hi there. I'm a frustrated student taking a programming class where I am way over my head. I am taking this class with my first GIS class (bad idea) so my understanding is very limited. That being said, if you could give clear and simple explanations, I would greatly appreciate it. Thanks!

This is the assignment question:

"For this assignment you will perform a batch update on the trees fc. While the arborists performed their tree inventory of the park, they mistakenly made some data collection errors. Each “Ash” tree that had a DBH greater than 25 should actually be an “Oak” species. Your task is to develop an update cursor/python code that performs this data fix."

This is a screenshot of my attribute table. 

This one of countless attempts:

Tags (1)
0 Kudos
10 Replies
JoeBorgione
MVP Esteemed Contributor

Courtney-  I cut my teeth in the early 90's using what was then known as ArcInfo.   Python syntax gets us old hands with a ton of GIS experience as easliy as someone like yourself; it's all about learning how to use a new tool.  The nice thing is folks like Dan and Xander, along with a host of others are here and willing to help us out.

courtneylwade2017

Dan_Patterson

xander_bakker

That should just about do it....