I have something resembling transect data, with a SpatialLines object with a non-linear path,
x <- seq(1,10, 0.1); y <- sin(x) * exp(-0.2 * x); 
path <- data.frame(x,y)
coordinates(path) <- ~x+y
path <- as(path, "SpatialLines")
a SpatialPoints object that stores coordinates along the path at which the observation was recorded, and the perpendicular offset from the path to the observation.
path_sample_points <- spsample(path, 50, "regular"); offset = rnorm(50, 0, 1)
Using R, I need to get the real coordinates at which each observation was made.
Since the path isn't linear, using the DSpat package is out, which would otherwise have been perfect.
Any help with R or QGIS is most welcome!
