Something simple
Posted on 30. Jul, 2009 by Guido in Uncategorized
I am probably like many GIS Analysts out there and would love some simple changes to be made to the ArcMap / ArcCatalog interface. I spend a lot of time editing, organizing, and desgining data. I run into shortfalls a lot.
So I want to start programming some simple buttons that will allow me to work faster by making a button without having to click into many different windows and sus around.
So my first case study is going to be…. Spatial Indexes. Why Spatial index? Because all the spatial index tools are trapped in the properties window and force me to open many windows before I can delete or recalc them. BTW if you have a spatial index and put in a feature that exceeds it, you will get an error. (reminds me of the original bounding issues with the original geo-databases).
OK… so this is what I want to do, but how do I get started. Well… I started poking around the support/resource website and found a page that had some code that allowed access to a selected layer in arcatalog and returns information about the name of the layer here.
Now that I have this code, I need to do some searching to find out how to get the full path/dataset and featureclass name to allow me to locate the file I want to work on.
I hope that I can figure this out in the next week and move onto running a geo-proccessing function to remove the spatial Index.
