[R-sig-Geo] Calculating distance (km) between points by sea

2011-06-28 Thread Ruth Kelly
Hi, I'm trying to calculate the shortest distances by sea between points in the Meditteranean sea. I've been trying to do this using a costDistance approach in the gdistance package.(See code below). I have imported maps from ArcGIS in which sea has a value of 1 and land 10,000 there are

Re: [R-sig-Geo] Calculating distance (km) between points by sea

2011-06-28 Thread Sarah Goslee
Hi, On Tue, Jun 28, 2011 at 9:24 AM, Ruth Kelly ruthkelly...@gmail.com wrote: Hi, I'm trying to calculate the shortest distances by sea between points in the Meditteranean sea.   I've been trying to do this using a costDistance approach in the gdistance package.    (See code below). I have

Re: [R-sig-Geo] Calculating distance (km) between points by sea

2011-06-28 Thread Jacob van Etten
sarah.gos...@gmail.com Subject: Re: [R-sig-Geo] Calculating distance (km) between points by sea To: Ruth Kelly ruthkelly...@gmail.com Cc: r-sig-geo@r-project.org Date: Tuesday, 28 June, 2011, 15:35 Hi, On Tue, Jun 28, 2011 at 9:24 AM, Ruth Kelly ruthkelly...@gmail.com wrote: Hi, I'm