Learn R Programming

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

geosphere (version 1.3-13)

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.3-13

License

GPL (>= 3)

Maintainer

Last Published

April 11th, 2015

Functions in geosphere (1.3-13)

areaPolygon

Compute the areaPolygon of a polygon
alongTrackDistance

Along Track Distance
onGreatCircle

Is a point on a given great circle?
dist2Line

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

'Haversine' great circle distance
daylength

Daylength
makePoly

Add vertices to a polygon or line
destPointRhumb

Destination along a rhumb line
centroid

Centroid of spherical polygons
dist2gc

Cross Track Distance
geosphere-package

Geosphere
span

Span of polygons
distRhumb

Distance along a rhumb line
mercator

Mercator projection
gcMaxLat

Highest latitude on a great circle
distCosine

'Law of cosines' great circle distance
midPoint

Mid-point
gcLat

Latitude on a Great Circle
distVincentyEllipsoid

'Vincenty' (ellipsoid) great circle distance
gcIntermediate

Intermediate points on a great circle
distm

Distance matrix
bearing

Direction of travel
wrld

World countries
perimeter

Compute the perimeter of a polygon
geomean

Mean location of sperhical coordinates
plotArrows

Plot
gcIntersect

Intersections of two great circles
greatCircle

Great circle
horizon

Distance to the horizon
greatCircleBearing

Great circle
gcIntersectBearing

Intersections of two great circles
destPoint

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

Antipodes
randomCoordinates

Random or regularly distributed coordinates on the globe
bearingRhumb

Rhumbline direction
gcLon

Longitude on a Great Circle
finalBearing

Final direction
distVincentySphere

'Vincenty' (sphere) great circle distance
distMeeus

'Meeus' great circle distance