Q:

Find Direction/Location of point in polygon using Python ArcGIS10.1

I have a point located inside a polygon, I want to determine its location or direction i.e. if it is in the northwest corner or southwest. I have the x,y of the point. Any idea on how to do this? I have the shape file of the point and polygon. Any help on this is most welcome.

A:

You could do this by analyzing the point's position relative to the centroid of the polygon.  If would just be a matter of calculating the angle between the two points and then testing that angle to determine which quadrant it runs towards/into.  So for example, if the angle between two points is 45°, then it's running towards the northeast corner, if it's 135°, then it's the southeast.
You'll have to test the angle against ranges, not specific values, so angles between 0 and 90 would be northeast, 90-180 southeast, 180-270 southwest, 270-360 northwest.
Coding it all out and making it work are another matter entirely but conceptually I think this would accomplish what you're trying to do.

