country_ansp | R Documentation |
Extract ANSP polygon at defined flight level
country_ansp(ansps, ansp_id = "ENAV", fl = 300)
ansps |
the |
ansp_id |
optional, the ANSP ID of the relevant country, "ENAV" otherwise. It can be a regular expression, i.e. "DFS|ENAV" for matching Germany and Italy. |
fl |
the flight level of interest |
a polygon for the ANSP(s)
## Not run:
country_ansp(ansps_ace_406, "DFS", fl = 350)
# more complicated for Italy/ENAV: there is a hole over Rome.
# if we want to get rid of it we can use smoothr::fill_holes()
enav <- pruatlas::ansps_ace_406 %>%
country_ansp(ansp_id = "ENAV", fl = 355) %>%
smoothr::fill_holes(units::set_units(10000, km^2))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.