Dear list,
Is it currently possible to calculate either the Euclidean distance between some point features (let's say survey locations in a given country) and the nearest feature in a SpatialLinesDataFrame? (for distances between 2 sets of points we could of course use spDistsN1 in package 'sp').

I have a set of geo-referenced survey points and an ESRI shapefile containing feature data on rivers which I can perfectly read and display in R using 'maptools' and readShapeSpatial(). I would like to calculate the Euclidean distance from each of my survey points to the nearest river. Does anyone know if a function for this exists?

Cheers,

Simon

	[[alternative HTML version deleted]]

