thephpleague / geotools

Geo-related tools PHP 7.3+ library built atop Geocoder and React libraries
MIT License
1.37k stars 122 forks source link

how to find out the point of intersection with the help of this package between the polygon and the line #134

Open BUGOVER opened 4 years ago

Daniel-FDS commented 2 years ago

I am interested in this one as well, are there any possible further developments on it? I am working with aircraft flight routing, and I need to know the coordinates of where a flight path enters and exits a country, because the flight pricings differ based on which country you are in. I can make a polygon using the country's coordinates using data from [https://gadm.org/index.html], but I am struggling to find the coordinates of where the flight path enters/exits a country.

Thank you so much.