Description Usage Arguments Value Author(s) References See Also Examples

View source: R/destPointRhumb.R

Calculate the destination point when travelling along a 'rhumb line' (loxodrome), given a start point, direction, and distance.

1 | ```
destPointRhumb(p, b, d, r = 6378137)
``` |

`p` |
longitude/latitude of point(s). Can be a vector of two numbers, a matrix of 2 columns (first one is longitude, second is latitude) or a SpatialPoints* object |

`b` |
bearing (direction) in degrees |

`d` |
distance; in the same unit as |

`r` |
radius of the earth; default = 6378137 m |

Coordinates (longitude/latitude) of a point

Chris Veness; ported to R by Robert Hijmans

http://www.edwilliams.org/avform.htm#Rhumb

http://www.movable-type.co.uk/scripts/latlong.html

http://en.wikipedia.org/wiki/Rhumb_line

1 | ```
destPointRhumb(c(0,0), 30, 100000, r = 6378137)
``` |

```
Loading required package: sp
lon lat
0.4491714 0.7779639
```

geosphere documentation built on Nov. 17, 2017, 4:59 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.