Exploring spatial data

Discussion created by jtw010 on Feb 24, 2014
Latest reply on Feb 24, 2014 by xander_bakker
I have been working on this for hours and am getting increasingly frustrated. i do not know how to get these answers or what code to put in. I have followed through all of the lab walkthroughs and have searched online, nothing is providing me with a proper answer. I dont necessarily need someone to figure it out for me but i need something to put into arcMap python that will provide me with these answers. An explanation on what to do for each step with code to type in would be appreciated.

I have been provided with data from the lab exercise, however i would have to attach over 20 items to provide them. So as i said a code sequence to get me to where i need to be would work for me

Challenge 1:

Write a script that reads all the feature classes in a workspace and prints
the name of each feature class and the geometry type of that feature
class in the following format:
streams is a point feature class

Challenge 2:

Write a script that reads all the feature classes in a personal or file
geodatabase and copies only the polygon feature classes to a new file
geodatabase. You can assume there are no feature datasets in the existing
data, and the feature classes can keep the same name.