kalcan83

Python script for coastal sinuosity (arc10-arcpy)

Discussion created by kalcan83 on Dec 14, 2012
I am trying to run a script for coastal sinuosity, but it seems to keep freezing at the first stage in the 'for' loop where I try to clip a coastline to a buffer.  The script is attached

The script currently, takes a polygon of a coastline, densify(s) it to add vertices, converts the vertices to point, creates buffers for each point, dissolves the line file, (adds in three field - Length T - for the full or total length of the coast, LengthD - for the distance between the two points, and Sin - the final sinuosity).  An update cursor is created and then a for loop for each row in the Buffer file.

This is where things freeze.

Any help would be great

Outcomes