Select to view content in your preferred language

Running Lake Classification with Python

544
1
03-25-2013 02:55 PM
ScottAtherton1
Deactivated User
Hi All,
I am going to attempt to write my first script. It is basically a select by attribute/select by location query to classify out some lakes. I have attached the flow chart of the specifications that need to be met. I would like my final product to be a column with the lake classification populated. I have watched the ???Python for Everyone??? video and I bought the book ???A Python Primer for Arc GIS???. I was hoping someone could help me out with the basic structure/ provide a road map on how I can accomplish this.
Tags (2)
0 Kudos
1 Reply
JoelCalhoun
Deactivated User
Scott,

One option is to look at building a Geoprocessing Model with Modelbuilder.

You can easily drag the tools you need (e.g. select by attribute and select by location tools) right from ArcToolbox onto the model and then link them up.

You can also include If-Then-Else logic for branching.  This is where you would put some of that python to use to build the logic but leave all of the geoprocessing operations to the model.

Using a model might be a little easier and quicker to build than coding the whole thing as a python script and it is a good way to visualize your workflow like in your PDF.


Good Luck!


Joel
0 Kudos