Learn R Programming

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

geosphere (version 1.2-15)

Spherical Trigonometry

Description

Spherical trigonometry for geographic applications

Copy Link

Version

Install

install.packages('geosphere')

Monthly Downloads

30,397

Version

1.2-15

License

GPL

Maintainer

Robert Hijmans

Last Published

November 4th, 2010

Functions in geosphere (1.2-15)

centroid

Centroid of spherical polygons
distm

Distance matrix
plotArrows

Plot
destPointRhumb

Destination along a rhumb line
bearing

Direction of travel
gcLon

Longitude on a Great Circle
mercator

Mercator projection
greatCircleBearing

Great circle
distCosine

'Law of cosines' great circle distance
midPoint

Mid-point
daylength

Daylength
distVincentySphere

'Vincenty' (sphere) great circle distance
gcIntermediate

Intermediate points on a great circle
alongTrackDistance

Along Track Distance
antipode

Antipodes
makePoly

Add vertices to a polygon or line
geosphere-package

Geosphere
gcIntersectBearing

Intersections of two great circles
randomCoordinates

Random or regularly distributed coordinates on the globe
distVincentyEllipsoid

'Vincenty' (ellipsoid) great circle distance
wrld

World countries
horizon

Distance to the horizon
distHaversine

'Haversine' great circle distance
gcLat

Latitude on a Great Circle
distRhumb

Distance along a rhumb line
gcIntersect

Intersections of two great circles
onGreatCircle

Is a point on a given great circle?
span

Span of polygons
areaPolygon

Compute the areaPolygon of a polygon
destPoint

Destination given bearing (direction) and distance, when following a Great Circle
dist2Line

Distance between points and lines or (the border of) polygons.
crossTrackDistfance

Cross Track Distance
finalBearing

Final direction
greatCircle

Great circle
gcMaxLat

Highest latitude on a great circle
bearingRhumb

Rhumbline direction
perimeter

Compute the perimeter of a polygon