Skip to content
R 📦 about n-vector for geographical postion calculations using an ellipsoidal model of Earth 🌐
Branch: master
Clone or download
espinielli Added new example for cross track intersection.
This can be useful in calculation both cross track and along track distances for landing aircraft at airports with multiple runways.
Latest commit 8c72bfd Apr 26, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R
inst n_E_and_wa2R_EL now works (via improvement of n_E2lat_lon) and has te… Feb 21, 2019
man Implemented changes as per CRAN maintainer request Mar 6, 2019
pkgdown still experimenting with trying to get bookdown generate vignette Apr 25, 2019
tests fixes #5 . Updated DESCRIPTION according to CRAN feedback. Mar 1, 2019
vignettes Added new example for cross track intersection. Apr 26, 2019
.Rbuildignore n_E_and_wa2R_EL now works (via improvement of n_E2lat_lon) and has te… Feb 21, 2019
.gitattributes try pandoc fix in order to make appveyor build ok Feb 19, 2019
.gitignore new build on osx Feb 18, 2019
.travis.yml try pandoc fix in order to make appveyor build ok Feb 19, 2019
DESCRIPTION Added Figure numbers via bookdown Apr 24, 2019
LICENSE transfer to euctrl-pru account Feb 19, 2019
LICENSE.md transfer to euctrl-pru account Feb 19, 2019
NAMESPACE implemented (with test) and documented n_EA_E_and_p_AB_E2n_EB_E; fixe… Feb 7, 2019
NEWS.md Added news Feb 21, 2019
README.Rmd fixed https URLs Mar 26, 2019
README.md URLs to https in README Mar 26, 2019
appveyor.yml restore old working appveyor Feb 19, 2019
codecov.yml setting CI up Feb 11, 2019
cran-comments.md Implemented changes as per CRAN maintainer request Mar 6, 2019
nvctr.Rproj initial partial implementation (with tests!) Feb 1, 2019
tic.R re-establish deploymento ti gh-pages Mar 25, 2019

README.md

nvctr

Travis build status AppVeyor build status Coverage Status CRAN version

Overview

The nvctr package implements the n-vector approach to geographical position calculations using an ellipsoidal model of Earth as described in (Gade 2010).

Implementations in various computer languages can be found at the n-vector page (Navigation Group 2010).

Installation

You can install the development version of nvctr from GitHub with:

devtools::install_github("euctrl-pru/nvctr")

or the CRAN version (when this package will land to CRAN):

install.packages("nvctr")

Usage

nvctr can be used to solve geographical position calculation like (example numbers refer to the ones in the vignette):

  • Calculate the surface distance between two geographical positions (Example 5).
  • Find the destination point given start point, azimuth/bearing and distance (Example 8).
  • Find the mean position (center/midpoint) of several geographical positions (Example 6).
  • Find the intersection between two paths (Example 9).
  • Find the cross track distance between a path and a position (Example 10).

References

Gade, Kenneth. 2010. “A Non-Singular Horizontal Position Representation.” Journal of Navigation. doi:10.1017/S0373463309990415.

Navigation Group, FFI. 2010. “The N-Vector Page.” https://www.navlab.net/nvector/.

You can’t perform that action at this time.