MyNixOS website logo
Description

Convert, Validate, Format and Print Geographic Coordinates and Waypoints.

Convert, validate, format and elegantly print geographic coordinates and waypoints (paired latitude and longitude values) in decimal degrees, degrees and minutes, and degrees, minutes and seconds using high performance C++ code to enable rapid conversion and formatting of large coordinate and waypoint datasets.

Waypoint

Conversion, Validation, Formatting and Printing of Geographic Coordinates

The Waypoint R package enables conversion, validation, formatting and and elegant printing of geographic positional coordinates and waypoints (paired latitude and longitude values). Coordinates and waypoints may be converted easily and rapidly between (i) decimal degree, (ii) degrees and minutes, and (iii) degrees, minutes and seconds formats.

Installation

You can install the currently-released version from CRAN with this R command:

install.packages("Waypoint")

Alternatively, you can install the latest development version of Waypoint from GitHub with:

  
# install.packages("devtools")
devtools::install_github("Mark-Eis/Waypoint")

Author: Mark C. Eisler

eMail: [email protected]

ORCID = 0000-0001-6843-3345

Waypoint Package Overview: –

  • Create "coords" objects in each format with as_coords().

  • Create "waypoints" objects in each format with as_waypoints().

  • Convert "coords" and "waypoints" objects between decimal degrees, degrees and minutes, and degrees, minutes and seconds formats with convert().

  • Assign latitude and longitude attributes to individual coordinate values within "coords" objects with latlon<-().

  • Ensure values within "coords" and "waypoints" objects are valid geographic locations with validate() and identify individual invalid values with review().

  • Use format() and print() S3 methods for neat formatting and printing of objects of classes "coords" and "waypoints".

  • Use `[`(<coords>) and `[<-`(<coords>) S3 methods to extract or replace subsets of "coords" objects.

Methodology

Waypoint uses high performance C++ code seamlessly integrated into R using Rcpp to enable rapid conversion and formatting of large coordinate and waypoint datasets.

Disclaimer

While every effort is made to ensure this package functions as expected, the author accepts no responsibility for the consequences of errors even if your map shows a city in the middle of the ocean, your boat runs aground, or your aeroplane crashes into the mountain.

Metadata

Version

1.2.1

License

Unknown

Platforms (75)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-freebsd
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64-windows
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-windows