powered by
make_route_envelope finds the range envelope for a given route
make_route_envelope
make_route_envelope(ac, ap2, envelope_points = 200, fuzz = 0.005)
sf POLYGON with ad hoc coordinate reference system.
sf POLYGON
See find_route
find_route
How many points are used to define the ellipse? Default 200.
Add a little margin to the range, to allow the longest range to be flown, rather than be cut off at the boundary. (Default 0.005)
The 'route envelope' is the region within which a route from A to B must remain. This is an ellipse.
It differs from the pure 'range envelope' which is the points which an aircraft can reach from a given airport.
# Need aircraft and airport datasets ac <- make_aircraft(warn = FALSE) ap <- make_airports() z <- make_route_envelope(ac[1,], make_AP2("EGLL","KJFK",ap))
Run the code above in your browser using DataLab