Description Usage Arguments Value Examples
check and assign potential geographic country to lat/lon position
1 | check_nngeo(.sf_pts, .poly, .maxdist = 1e+05, ...)
|
.sf_pts |
simple feature sf of position points (lat/lon) |
.poly |
sf polygon(s) to verify whether points are in or next (.maxdist) from polygon (e.g. aircraft position over country or waters close by) |
.maxdist |
maximum distance in meters, e.g. 100km = 100000 |
country code derived from .poly added to input sf_pts object
1 2 3 4 | ## Not run:
check_nngeo(mysf, world)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.