construct a line starting at a point with given angle until it touches a boundary

23 views
Skip to first unread message

sanat kumar Karmacharya

unread,
Feb 2, 2024, 3:26:22 AM2/2/24
to geopandas
Hi All,
I am trying to find distances between a point inside a irregular polygon and the boundary of the polygon at given angles (angle can be taken in reference to North direction). 
My current approach is to construct a line with given angle and a very long length and find the intersection with the polygon boundary. But the problem is the polygon is irregular in shape and the line might intersect the polygon in multiple points.
I am wondering if there is already built module for such problem or can anybody suggest me a easy workaround.

with regards,
Sanat

Reply all
Reply to author
Forward
0 new messages