Good evening classmates,
This week we tackled dictionaries, cursors, and lists. Oh my!
But seriously, these are incredibly powerful tools that you'll implement frequently in your GIS solutions. I've seen them in most of the scripts I've encountered. There was a lot of material this week and I'll admit, I did struggle to keep up with it.
The part of the lab that I struggled with most was updating the dictionary with values from the feature class. Beyond the two lines in the lab assignment, I couldn't find any references in the readings or exercise about populating an empty dictionary. I got as far as the below error (cannot concatenate 'str' and 'int'. I tried converting the integer field to string , but that didn't affect the error message. Even put together a try/except statement to see if anything was making it to the dictionary, but nothing was. Unfortunately, I had to stop my efforts on the lab there this week.
Comments
Post a Comment