Hello All,
Has anyone ever counted their GIS layers? If so, how?
One option is to use Windows Explorer and search for *.shp (and other GIS extensions) and looking at the count in the bottom of the results window.
Are there any other methods/tools?
thanks
Mark
Solved! Go to Solution.
Using Python, you can use a combination of os.walk (to traverse directory tree) and arcpy.ListFeatureClasses (to list feature classes). Windows Explorer search won't include file geodatabase feature classes.
Using Python, you can use a combination of os.walk (to traverse directory tree) and arcpy.ListFeatureClasses (to list feature classes). Windows Explorer search won't include file geodatabase feature classes.
Thank you Darren. This was very helpful. Please excuse the delay in replying. Best Regards. Mark
Thank you
Or there is another way around that you can do is to go to the folder where the files you want to look for such as shapefiles, excel or so on...
Explaining the Views Available in Windows Explorer and File Explorer
Look at number 3 and see the list under the View..change it to "Details" because it will give you all the deteails about the files and show you the columns. When you see "Type" there is a down arrow that will give you the list to choose from to display...
That is what I always do is to select one and delete anything you don't need not only for gis but in general...