geosphere v1.5-1


Monthly downloads



by Robert Hijmans

Spherical Trigonometry

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

Functions in geosphere

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

Last month downloads


Type Package
Date 2015-12-18
License GPL (>= 3)
LazyLoad yes
NeedsCompilation yes
Packaged 2015-12-18 19:14:00 UTC; rhijmans
Repository CRAN
Date/Publication 2015-12-18 23:27:21

Include our badge in your README