Learn R Programming

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

geosphere (version 1.5-1)

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

40,114

Version

1.5-1

License

GPL (>= 3)

Maintainer

Last Published

December 18th, 2015

Functions in geosphere (1.5-1)

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