gcLat function

Latitude on a Great Circle

Latitude on a Great Circle

Latitude at which a great circle crosses a longitude 1.1

gcLat(p1, p2, lon)

Arguments

  • p1: Longitude/latitude of a single point, in degrees; can be a vector of two numbers, a matrix of 2 columns (first one is longitude, second is latitude) or a SpatialPoints* object
  • p2: As above
  • lon: Longitude

Returns

A numeric (latitude)

References

https://www.edwilliams.org/avform147.htm#Int

Author(s)

Robert Hijmans based on a formula by Ed Williams

See Also

gcLon, gcMaxLat

Examples

gcLat(c(5,52), c(-120,37), lon=-120)
  • Maintainer: Robert J. Hijmans
  • License: GPL (>= 3)
  • Last published: 2024-10-04

Useful links