How to measure the distance of the intersection between a polygon and a straigt line?

646
2
05-02-2013 08:36 AM
ShaneMiao
New Contributor
Suppose a straight line with a certain rotation angle 'alpha', intersec with a poligon, how to measure the segment within this poligon?
My plan is to use this routine to find the maximum 'width' of the polygon for a certain angle.
Thanks, shane
0 Kudos
2 Replies
RobertBorchert
Frequent Contributor III
try the Euclidean Direction  distance tool or the Near tool.

However I think most of your built in options may require the Spatial Analysis extension.

Suppose a straight line with a certain rotation angle 'alpha', intersec with a poligon, how to measure the segment within this poligon?
My plan is to use this routine to find the maximum 'width' of the polygon for a certain angle.
Thanks, shane
0 Kudos
DaleHoneycutt
Regular Contributor
I'm assuming you have a feature class of the lines already constructed.  If so,  you could use the Intersect tool.   Intersect the polygons and the lines.  The result is a line feature class with the feature ID of the polygon that it intersects.  The result is simply the length of the line (shape_length if you're writing the output to a file geodatabase).
0 Kudos