Learn R Programming

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

geosphere (version 1.4-3)

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

31,638

Version

1.4-3

License

GPL (>= 3)

Maintainer

Robert Hijmans

Last Published

July 1st, 2015

Functions in geosphere (1.4-3)

dist2gc

Cross Track Distance
bearingRhumb

Rhumbline direction
centroid

Centroid of spherical polygons
intermediate

Intermediate points on a great circle (sphere)
greatCircleBearing

Great circle
bearing

Direction of travel
antipode

Antipodes
finalBearing

Final direction
areaPolygon

Area of a longitude/latitude polygon
geomean

Mean location of sperhical coordinates
destPoint

Destination given bearing (direction) and distance
alongTrackDistance

Along Track Distance
gcLon

Longitude on a Great Circle
wrld

World countries
gcMaxLat

Highest latitude on a great circle
dist2Line

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

Distance to the horizon
midPoint

Mid-point
onGreatCircle

Is a point on a given great circle?
geosphere-package

Geosphere
distHaversine

'Haversine' great circle distance
randomCoordinates

Random or regularly distributed coordinates on the globe
daylength

Daylength
gcIntersect

Intersections of two great circles
distMeeus

'Meeus' great circle distance
greatCircle

Great circle
distVincentySphere

'Vincenty' (sphere) great circle distance
gcIntersectBearing

Intersections of two great circles
geodesic

geodesic and inverse geodesic problem
mercator

Mercator projection
distVincentyEllipsoid

'Vincenty' (ellipsoid) great circle distance
distRhumb

Distance along a rhumb line
span

Span of polygons
perimeter

Compute the perimeter of a longitude/latitude polygon
makePoly

Add vertices to a polygon or line
distCosine

'Law of cosines' great circle distance
distm

Distance matrix
distGeo

Distance on an ellipsoid (the geodesic)
plotArrows

Plot
destPointRhumb

Destination along a rhumb line
gcLat

Latitude on a Great Circle