distance in predefined directions/angles

Discussion created by daedvi on Feb 27, 2013
Hello all.
I have a problem for which I cannot find any answer:
I have a polygon (of quite complex shape) and points that lie within that polygon. I also have another polygon surrounding the first polygon.

1. I would like to calculate the mean distance of the points to the boundaries of the polygon, averaged over distances measured in several predefined directions/angles (e.g. North, East, South, West).
Any assumptions on this or on calculating distances in predefined angles at all would help.

2. Referring to this I want to find the potential point (or raster cell after conversion) with the maximum mean distance value to the polygon boundaries.

Does somebody has an idea? Any suggestions are highly welcome...
Thank you!