
In  spatstat you have function "nncross" that computes distances from 
point feature to point or to segment features

Cheers,

Marcelino


At 17:43 16/02/2011, O'Hanlon, Simon J wrote:
>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]]
>
>_______________________________________________
>R-sig-Geo mailing list
>R-sig-Geo@r-project.org
>https://stat.ethz.ch/mailman/listinfo/r-sig-geo

____________________________________

Marcelino de la Cruz Rot
Depto. Biologia Vegetal
EUIT Agricola
Universidad Politecnica de Madrid

tel: 34 + 913365435
____________________________________  
	[[alternative HTML version deleted]]

