Learn R Programming

⚠️There's a newer version (1.5-20) of this package.Take me there.

geosphere (version 1.5-5)

Spherical Trigonometry

Description

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

Copy Link

Version

Install

install.packages('geosphere')

Monthly Downloads

35,733

Version

1.5-5

License

GPL (>= 3)

Maintainer

Robert Hijmans

Last Published

June 15th, 2016

Functions in geosphere (1.5-5)

destPointRhumb

Destination along a rhumb line
bearingRhumb

Rhumbline direction
antipode

Antipodes
daylength

Daylength
areaPolygon

Area of a longitude/latitude polygon
bearing

Direction of travel
centroid

Centroid of spherical polygons
alongTrackDistance

Along Track Distance
destPoint

Destination given bearing (direction) and distance
wrld

World countries
dist2gc

Cross Track Distance
dist2Line

Distance between points and lines or the border of polygons.
distRhumb

Distance along a rhumb line
distCosine

'Law of cosines' great circle distance
distVincentyEllipsoid

'Vincenty' (ellipsoid) great circle distance
distMeeus

'Meeus' great circle distance
distVincentySphere

'Vincenty' (sphere) great circle distance
distHaversine

'Haversine' great circle distance
distm

Distance matrix
distGeo

Distance on an ellipsoid (the geodesic)
gcLon

Longitude on a Great Circle
gcMaxLat

Highest latitude on a great circle
finalBearing

Final direction
gcIntersect

Intersections of two great circles
geodesic

geodesic and inverse geodesic problem
gcIntersectBearing

Intersections of two great circles
gcLat

Latitude on a Great Circle
geomean

Mean location of sperhical coordinates
geosphere-package

Geosphere
greatCircle

Great circle
midPoint

Mid-point
onGreatCircle

Is a point on a given great circle?
intermediate

Intermediate points on a great circle (sphere)
mercator

Mercator projection
makePoly

Add vertices to a polygon or line
perimeter

Compute the perimeter of a longitude/latitude polygon
plotArrows

Plot
randomCoordinates

Random or regularly distributed coordinates on the globe
greatCircleBearing

Great circle
horizon

Distance to the horizon
refEllipsoids

Reference ellipsoids
span

Span of polygons