I have started using the geosphere package kindly provided by Robert
Hijmans [http://cran.r-project.org/web/packages/geosphere/]. My
intention is to derive a global map of the air routes density using
the open access flight routes [http://openflights.org/data.html].
I have discovered some strange results when trying to derive the
intermediate points on a path:
gcIntermediate(p1, p2, n)
*this uses the formulas described in
[http://williams.best.vwh.net/avform.htm#Intermediate]
I discovered that, depending on the location of points considering
quadrants, the current formula will (systematically?) shift the
coordinates to some new quadrant, which is obviously a bug:
library(geosphere)
gcIntermediate(c(0,0), c(10,10), 5) # this one is OK