Package: nvctr 0.1.4.9000

Enrico Spinielli

nvctr: The n-vector Approach to Geographical Position Calculations using an Ellipsoidal Model of Earth

The n-vector framework uses the normal vector to the Earth ellipsoid (called n-vector) as a non-singular position representation that turns out to be very convenient for practical position calculations. The n-vector is simple to use and gives exact answers for all global positions, and all distances, for both ellipsoidal and spherical Earth models. This package is a translation of the 'Matlab' library from FFI, the Norwegian Defence Research Establishment, as described in Gade (2010) <doi:10.1017/S0373463309990415>.

Authors:Enrico Spinielli [aut, cre], EUROCONTROL [cph, fnd]

nvctr_0.1.4.9000.tar.gz
nvctr_0.1.4.9000.zip(r-4.5)nvctr_0.1.4.9000.zip(r-4.4)nvctr_0.1.4.9000.zip(r-4.3)
nvctr_0.1.4.9000.tgz(r-4.4-any)nvctr_0.1.4.9000.tgz(r-4.3-any)
nvctr_0.1.4.9000.tar.gz(r-4.5-noble)nvctr_0.1.4.9000.tar.gz(r-4.4-noble)
nvctr_0.1.4.9000.tgz(r-4.4-emscripten)nvctr_0.1.4.9000.tgz(r-4.3-emscripten)
nvctr.pdf |nvctr.html
nvctr/json (API)
NEWS

# Install 'nvctr' in R:
install.packages('nvctr', repos = c('https://euctrl-pru.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/euctrl-pru/nvctr/issues

On CRAN:

geographical-positionsn-vector

23 exports 10 stars 5.19 score 2 dependencies 31 scripts 128 downloads

Last updated 6 months agofrom:8edd7d938b. Checks:OK: 3 NOTE: 4. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 26 2024
R-4.5-winNOTESep 26 2024
R-4.5-linuxNOTESep 26 2024
R-4.4-winNOTESep 26 2024
R-4.4-macNOTESep 26 2024
R-4.3-winOKSep 26 2024
R-4.3-macOKSep 26 2024

Exports:%>%along_track_distancealtitude_azimuth_distancecross_track_distancecross_track_intersectiondeglat_lon2n_En_E_and_wa2R_ELn_E2lat_lonn_E2R_ENn_EA_E_and_n_EB_E2p_AB_En_EA_E_and_p_AB_E2n_EB_En_EB_E2p_EB_Ep_EB_E2n_EB_ER_EeR_EL2n_ER_EN2n_ER2xyzR2zyxradunitxyz2Rzyx2R

Dependencies:magrittrpracma

Simple and Exact Solutions to Position Calculation

Rendered fromposition-calculations.Rmdusingknitr::rmarkdownon Sep 26 2024.

Last update: 2020-10-28
Started: 2019-02-07

Readme and manuals

Help Manual

Help pageTopics
Compute the along-track distance from a great circle arcalong_track_distance
Calculate the altitude, azimuth and distance of B from Aaltitude_azimuth_distance
Compute the cross-track distance from a great circle arccross_track_distance
Calculate cross-track intersectioncross_track_intersection
Convert angle in radians to degreesdeg
Convert (geodetic) latitude and longitude to n-vectorlat_lon2n_E
Find 'R_EL' from n-vector and wander azimuth anglen_E_and_wa2R_EL
Convert n-vector to latitude and longituden_E2lat_lon
Find the rotation matrix R_EN from n-vectorn_E2R_EN
Find the delta position from two positions A and Bn_EA_E_and_n_EB_E2p_AB_E
Find position B from position A and deltan_EA_E_and_p_AB_E2n_EB_E
Convert n-vector to cartesian position vector in metersn_EB_E2p_EB_E
nvctr: non-singular geographical position calculationsnvctr-package nvctr
Convert cartesian position vector in meters to n-vectorp_EB_E2n_EB_E
Select the axes of the coordinate frame ER_Ee
Find n-vector from the rotation matrix (direction cosine matrix) 'R_EL'R_EL2n_E
Find n-vector from R_ER_EN2n_E
Find the three rotation angles about new axes in the xyz order from a rotation matrixR2xyz
Find the three angles about new axes in the zyx order from a rotation matrixR2zyx
Convert angle in degrees to radians.rad
Make input vector unit length, i.e. norm == 1unit
Create a rotation matrix from 3 angles about new axes in the xyz order.xyz2R
Create a rotation matrix from 3 angles about new axes in the zyx order.zyx2R