Dear list members,
 
I would like to look for attributes (e.g. distance from the shore) of spatial 
points in other data sets (e.g. dist_shoreDF)  after matching the points in 
fishlocationDF and dist_shoreDF by their coordinates.
 
fishlocationDF$dist=dist_shoreDF$dist[match(dist_shoreDF$coordinates, 
fishlocationDF$coordinates)] does not work 
but illustrates what I am trying to do. 
 
How can I deal with the two coordinates that every point has ? Would it be 
possible to coerce both x and y-coordinate into one column in order in order to 
apply the match() function ? Or is there a better way of approaching this ? I 
would be grateful for a hint.
 
 Thank you for your time.
 
Juliane 

        [[alternative HTML version deleted]]

_______________________________________________
R-sig-Geo mailing list
R-sig-Geo@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-geo

Reply via email to