Spherical trigonometry for geographic coordinates in R
open sourceGPL-3.0-or-laterfree
geosphere is an R package for spherical trigonometry in geographic applications: it computes distances and related measures for longitude/latitude locations. It's by Robert J. Hijmans, author of terra, with GeographicLib's Charles Karney as a contributor.
Problems it solves
- calculate the distance between two GPS coordinates in R
- great-circle distance between lat/long points in R
- geographic distance matrix for locations in R
Features
- distances between longitude/latitude points
- related spherical measures for angular coordinates
