geosphere: Spherical Trigonometry

Spherical trigonometry for geographic applications. That is, compute distances and related measures for angular (longitude/latitude) locations.

AuthorRobert J. Hijmans [cre, aut], Ed Williams [ctb], Chris Vennes [ctb]
Date of publication2016-06-15 12:26:37
MaintainerRobert J. Hijmans <r.hijmans@gmail.com>
LicenseGPL (>= 3)
Version1.5-5

View on CRAN

Man pages

alongTrackDistance: Along Track Distance

antipode: Antipodes

area: Area of a longitude/latitude polygon

bearing: Direction of travel

bearingRhumb: Rhumbline direction

centroid: Centroid of spherical polygons

data: World countries

daylength: Daylength

destPoint: Destination given bearing (direction) and distance

destPointRhumb: Destination along a rhumb line

dist2gc: Cross Track Distance

dist2line: Distance between points and lines or the border of polygons.

distCosine: 'Law of cosines' great circle distance

distGeo: Distance on an ellipsoid (the geodesic)

distHaversine: 'Haversine' great circle distance

distm: Distance matrix

distMeeus: 'Meeus' great circle distance

distRhumb: Distance along a rhumb line

distVincentyEllipsoid: 'Vincenty' (ellipsoid) great circle distance

distVincentySphere: 'Vincenty' (sphere) great circle distance

finalDirection: Final direction

gcIntersect: Intersections of two great circles

gcIntersectBearing: Intersections of two great circles

gcLat: Latitude on a Great Circle

gcLon: Longitude on a Great Circle

gcMaxLat: Highest latitude on a great circle

geodesic: geodesic and inverse geodesic problem

geomean: Mean location of sperhical coordinates

geosphere-package: Geosphere

greatCircle: Great circle

greatCircleBearing: Great circle

horizon: Distance to the horizon

intermediate: Intermediate points on a great circle (sphere)

makepoly: Add vertices to a polygon or line

mercator: Mercator projection

midPoint: Mid-point

onGreatCircle: Is a point on a given great circle?

perimeter: Compute the perimeter of a longitude/latitude polygon

plotArrows: Plot

randomCoordinates: Random or regularly distributed coordinates on the globe

refEllipsoids: Reference ellipsoids

span: Span of polygons

Functions

alongTrackDistance Man page
antipodal Man page
antipode Man page
areaPolygon Man page
areaPolygon,data.frame-method Man page
areaPolygon,matrix-method Man page
areaPolygon,SpatialPolygons-method Man page
bearing Man page
bearingRhumb Man page
centroid Man page
centroid,data.frame-method Man page
centroid,matrix-method Man page
centroid,SpatialPolygons-method Man page
daylength Man page
destPoint Man page
destPointRhumb Man page
dist2gc Man page
dist2Line Man page
distCosine Man page
distGeo Man page
distHaversine Man page
distm Man page
distMeeus Man page
distRhumb Man page
distVincentyEllipsoid Man page
distVincentySphere Man page
finalBearing Man page
gcIntermediate Man page
gcIntersect Man page
gcIntersectBearing Man page
gcLat Man page
gcLon Man page
gcMaxLat Man page
geodesic Man page
geodesic_inverse Man page
geomean Man page
geosphere Man page
geosphere-package Man page
greatCircle Man page
greatCircleBearing Man page
horizon Man page
makeLine Man page
makePoly Man page
merc Man page
mercator Man page
midPoint Man page
onGreatCircle Man page
perimeter Man page
perimeter,data.frame-method Man page
perimeter,matrix-method Man page
perimeter,SpatialLines-method Man page
perimeter,SpatialPolygons-method Man page
plotArrows Man page
randomCoordinates Man page
refEllipsoids Man page
regularCoordinates Man page
span Man page
span,matrix-method Man page
span,SpatialPolygons-method Man page
wrld Man page

Files

geosphere
geosphere/inst
geosphere/inst/doc
geosphere/inst/doc/geosphere.Rnw
geosphere/inst/doc/geosphere.R
geosphere/inst/doc/geosphere.pdf
geosphere/src
geosphere/src/util.c
geosphere/src/util.h
geosphere/src/geodesic.c
geosphere/src/geolib.c
geosphere/src/geodesic.h
geosphere/src/dist.c
geosphere/NAMESPACE
geosphere/data
geosphere/data/merc.RData
geosphere/data/wrld.RData
geosphere/R
geosphere/R/dist2Line.R geosphere/R/destPointRhumb.R geosphere/R/greatCircleBearing.R geosphere/R/distm.R geosphere/R/bearingRhumb.R geosphere/R/plotPoly.R geosphere/R/pointsToMatrix.R geosphere/R/distMeeus.R geosphere/R/destPoint.R geosphere/R/onGreatCircle.R geosphere/R/alongTrack.R geosphere/R/gcMaxLat.R geosphere/R/horizon.R geosphere/R/gcIntersectBearing.R geosphere/R/gcLat.R geosphere/R/distGeo.R geosphere/R/distVincentySphere.R geosphere/R/daylength.R geosphere/R/antipodal.R geosphere/R/gcIntersect.R geosphere/R/greatCircle.R geosphere/R/gcLon.R geosphere/R/regularCoordinates.R geosphere/R/distRhumb.R geosphere/R/randomCoordinates.R geosphere/R/geodesic.R geosphere/R/dist2gc.R geosphere/R/bearing.R geosphere/R/old_destPoint.R geosphere/R/midPoint.R geosphere/R/gcIntermediate.R geosphere/R/centroid.R geosphere/R/distHaversine.R geosphere/R/helper.R geosphere/R/geomean.R geosphere/R/makePoly.R geosphere/R/distVincentyEllipsoid.R geosphere/R/span.R geosphere/R/perimeter.R geosphere/R/areaPolygon.R geosphere/R/geomedian.R geosphere/R/distCosines.R geosphere/R/refEllipsoids.R geosphere/R/finalBearing.R geosphere/R/mercator.R
geosphere/vignettes
geosphere/vignettes/geosphere.Rnw
geosphere/MD5
geosphere/build
geosphere/build/vignette.rds
geosphere/DESCRIPTION
geosphere/ChangeLog
geosphere/man
geosphere/man/destPoint.Rd geosphere/man/onGreatCircle.Rd geosphere/man/plotArrows.Rd geosphere/man/geomean.Rd geosphere/man/makepoly.Rd geosphere/man/greatCircleBearing.Rd geosphere/man/alongTrackDistance.Rd geosphere/man/span.Rd geosphere/man/dist2line.Rd geosphere/man/gcIntersectBearing.Rd geosphere/man/geodesic.Rd geosphere/man/distHaversine.Rd geosphere/man/gcMaxLat.Rd geosphere/man/distMeeus.Rd geosphere/man/bearing.Rd geosphere/man/midPoint.Rd geosphere/man/distVincentySphere.Rd geosphere/man/randomCoordinates.Rd geosphere/man/distGeo.Rd geosphere/man/finalDirection.Rd geosphere/man/perimeter.Rd geosphere/man/geosphere-package.Rd geosphere/man/dist2gc.Rd geosphere/man/greatCircle.Rd geosphere/man/mercator.Rd geosphere/man/intermediate.Rd geosphere/man/data.Rd geosphere/man/bearingRhumb.Rd geosphere/man/distVincentyEllipsoid.Rd geosphere/man/horizon.Rd geosphere/man/distm.Rd geosphere/man/daylength.Rd geosphere/man/gcIntersect.Rd geosphere/man/gcLon.Rd geosphere/man/distRhumb.Rd geosphere/man/gcLat.Rd geosphere/man/destPointRhumb.Rd geosphere/man/antipode.Rd geosphere/man/centroid.Rd geosphere/man/distCosine.Rd geosphere/man/refEllipsoids.Rd geosphere/man/area.Rd

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.