Hey everyone, hope your lab went better than mine this week. It was going really well, until I got to the end and didn't have the correct number of features. It had been looking good, I was nearing down on a suitable campsite that didn't fall in the buffer of our water and road features. I had just removed the overlap between the buffer union and the conservation lands, but my end result didn't make sense. See my results below:
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