Re: [R] calculating distance inland from coastline

2011-07-14 Thread Francois Rousseu
Hires database. Cheers, Francois Rousseu > Date: Thu, 14 Jul 2011 05:43:23 -0700 > From: s.j.good...@leeds.ac.uk > To: r-help@r-project.org > Subject: [R] calculating distance inland from coastline > > Hi All, > > Does anybody know of any existing functions that will calcu

[R] calculating distance inland from coastline

2011-07-14 Thread Simon Goodman
Hi All, Does anybody know of any existing functions that will calculate distance inland from a coastline? It's possible to test if a lon,lat location is land or sea using map.where(), but I need to add a buffer to this of say 2km, to allow for points that are just on the coast, and below the res