[R] calculating distance inland from coastline

Simon Goodman s.j.goodman at leeds.ac.uk
Thu Jul 14 14:43:23 CEST 2011


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 resolution of the
worldHires database.

I'm working with a marine mammal satellite telemetry dataset and wish to
filter out spurious locations on land.

On another issue, does anybody know of any free vector map datasets that are
more up to date and have a higher resolution than the worldHires database
from the 'maps' package.

Thanks, Simon 



--
View this message in context: http://r.789695.n4.nabble.com/calculating-distance-inland-from-coastline-tp3667464p3667464.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list