geosphere v1.5-10


Monthly downloads



Spherical Trigonometry

Spherical trigonometry for geographic applications. That is, compute distances and related measures for angular (longitude/latitude) locations.

Functions in geosphere

Name Description
distRhumb Distance along a rhumb line
distVincentyEllipsoid 'Vincenty' (ellipsoid) great circle distance
distHaversine 'Haversine' great circle distance
distMeeus 'Meeus' great circle distance
gcIntersect Intersections of two great circles
intermediate Intermediate points on a great circle (sphere)
finalBearing Final direction
lengthLine Length of lines
destPointRhumb Destination along a rhumb line
distCosine 'Law of cosines' great circle distance
distGeo Distance on an ellipsoid (the geodesic)
dist2gc Cross Track Distance
perimeter Compute the perimeter of a longitude/latitude polygon
gcIntersectBearing Intersections of two great circles
dist2Line Distance between points and lines or the border of polygons.
span Span of polygons
gcLat Latitude on a Great Circle
plotArrows Plot
geosphere-package Geosphere
distVincentySphere 'Vincenty' (sphere) great circle distance
distm Distance matrix
greatCircle Great circle
midPoint Mid-point
greatCircleBearing Great circle
gcMaxLat Highest latitude on a great circle
onGreatCircle Is a point on a given great circle?
randomCoordinates Random or regularly distributed coordinates on the globe
gcLon Longitude on a Great Circle
geodesic geodesic and inverse geodesic problem
refEllipsoids Reference ellipsoids
geomean Mean location of sperhical coordinates
horizon Distance to the horizon
makePoly Add vertices to a polygon or line
mercator Mercator projection
wrld World countries
daylength Daylength
areaPolygon Area of a longitude/latitude polygon
destPoint Destination given bearing (direction) and distance
bearing Direction of travel
bearingRhumb Rhumbline direction
centroid Centroid of spherical polygons
alongTrackDistance Along Track Distance
antipode Antipodes
No Results!

Vignettes of geosphere

No Results!

Last month downloads


Type Package
Date 2019-05-25
License GPL (>= 3)
LazyLoad yes
NeedsCompilation yes
Packaged 2019-05-26 01:10:19 UTC; rhijm
Repository CRAN
Date/Publication 2019-05-26 04:50:14 UTC
suggests methods , raster
depends R (>= 3.0.0)
imports sp
Contributors Ed Williams, Chris Vennes

Include our badge in your README