Learn R Programming

geosphere (version 1.5-20)

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,946

Version

1.5-20

License

GPL (>= 3)

Maintainer

Last Published

October 4th, 2024

Functions in geosphere (1.5-20)

gcMaxLat

Highest latitude on a great circle
geomean

Mean location of sperhical coordinates
finalBearing

Final direction
distHaversine

'Haversine' great circle distance
onGreatCircle

Is a point on a given great circle?
gcLon

Longitude on a Great Circle
gcLat

Latitude on a Great Circle
dist2gc

Cross Track Distance
distm

Distance matrix
gcIntersect

Intersections of two great circles
intermediate

Intermediate points on a great circle (sphere)
perimeter

Compute the perimeter of a longitude/latitude polygon
horizon

Distance to the horizon
gcIntersectBearing

Intersections of two great circles
refEllipsoids

Reference ellipsoids
greatCircle

Great circle
geodesic

geodesic and inverse geodesic problem
mercator

Mercator projection
midPoint

Mid-point
span

Span of polygons
geosphere-package

Geosphere
lengthLine

Length of lines
randomCoordinates

Random or regularly distributed coordinates on the globe
greatCircleBearing

Great circle
plotArrows

Plot
makePoly

Add vertices to a polygon or line
bearingRhumb

Rhumbline direction
OSGB

Ordnance Survey for Great Britain grid reference system
antipode

Antipodes
alongTrackDistance

Along Track Distance
bearing

Direction of travel
areaPolygon

Area of a longitude/latitude polygon
distGeo

Distance on an ellipsoid (the geodesic)
dist2Line

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

Destination along a rhumb line
wrld

World countries
distCosine

'Law of cosines' great circle distance
centroid

Centroid of spherical polygons
daylength

Daylength
distVincentyEllipsoid

'Vincenty' (ellipsoid) great circle distance
distVincentySphere

'Vincenty' (sphere) great circle distance
destPoint

Destination given bearing (direction) and distance
distMeeus

'Meeus' great circle distance
distRhumb

Distance along a rhumb line