2015 · 19 citations · 3 references
Natural SciencesGeographyMathematicsComputational GeometryGeographic Information ScienceGeometryCoordinate GeometryGeometric GeodesyGeometric MeasurementPolar CoordinatesSpherical GeometryThree-dimensional GeometryGeographic Coordinate SystemsGeographic Information Systems (Gis) ApplicationsGreat CirclesPolygon GeometryRhumb Line RepresentationSpherical CoordinatesSpherical DistanceSpherical Trigonometry
This vignette describes the R package ’geosphere’. The package implements spherical trigonometry functions for geographic applications. Many of the functions have applications in navigation, but others are more general, or have no relation to navigation at all. There is a number of functions to compute distance and direction (= bearing, azimuth, course) along great circles (= shortest distance on a sphere, or ”as the crow flies”) and along rhumb lines (lines of constant bearing). There are also functions that compute distances on a spheroid. Other functions include the computation of the location of an object at a given direction and distance; and the area, perimeter, and centroid of a spherical polygon. Geographic locations must be specified in longitude and latitude (and in that order!) in degrees (i.e., NOT in radians). Degrees are (obviously) in decimal notation. Thus 12 degrees, 10 minutes, 30 seconds = 12 + 10/60 + 30/3600 = 12.175 degrees. The southern and western hemispheres have a negative sign. The default unit of distance is meter; but this can be adjusted by supplying a different radius ’r’ to functions. Directions are expressed in degrees (N = 0 and 360, E = 90, S = 180, and W = 270 degrees). If arguments of functions that take several arguments (e.g. points, bearings, radius of the earth), do not have the same length (for vectors) or number of rows (for matrices) the shorter arguments are re-cycled. Many functions in this package are based on formulae provided by Ed Williams (http://williams.best.vwh.net/ftp/avsig/avform.txt, and partly on javascript implementations of these formulae by Chris Veness (http://www.movable-type. co.uk/scripts/latlong.html ) Most geodesic computations (for a spheroid rather than a sphere) use the GeographicLib by C.F.F. Karney (http://geographiclib.sourceforge.net/.
3
Roger W. Sinnott · Sky and Telescope · 1984 · 714 citations