Hi,
I've generated random segment patterns with spatstat::rpoisline so as to
plot differences of profile lines between two different digital elevation
models.
Now, I want to use raster::extract function to get the raster values on
both rasters for each segment but for this, I have to coerce a psp to a
SpatialLines object but I don't know how to do the coercion. (SpatialLines
to psp is OK).
as(psp, "SpatialLines") doesn't seem to work.
Any help would be appreciated,
Mathieu
[[alternative HTML version deleted]]
_______________________________________________
R-sig-Geo mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-geo