Select to view content in your preferred language

Select polygons by width

916
2
05-28-2014 02:43 AM
MiroslavKopecky
Deactivated User
Hello,
I was wondering if anyone would have any idea on how to solve my problem?
I have polygon LandUse layer (stored in geodatabase) and I need automatically select all polygons whose width is less than some threshold (for example roads under 10 m or strips of the grass under 50 m etc). Is there any way to solve this problem by using the arcpy and python scripting, please? I have experience in ArcGIS programming with Python, but I have no idea how to solve this problem.

Thank you all very much in advance
Miroslav Kopecky
Tags (2)
0 Kudos
2 Replies
markdenil
Frequent Contributor
This has always been a tricky one.
You might start with Minimum Bounding Geometry (Data Management)
The tool has a RECTANGLE_BY_WIDTH geometry type parameter
that looks promising for relatively simple polygons...
0 Kudos
MattEiben
Deactivated User
I think a good general workflow would be to make a field to store your minimum widths in.  Have a Python script populate those fields so you can select them by attribute. 

However, I can see this being a bit tricky, especially if your polygons are irregularly shaped.
Perhaps using the Minimum Bounding Geometry tool could be of use here.

Beat to the punch!
0 Kudos