Message-ID: <51CBCF0E.3000108@uni-muenster.de>
Date: 2013-06-27T05:35:10Z
From: Edzer Pebesma
Subject: distance units in "zerodist" function (sp)
In-Reply-To: <7FAA73D70AEE6B4BA5BE48F8BD97BC9A05F5B59398@HQEXDB02.hq.un.fao.org>
Good point, thanks!
zerodist computes Euclidian distances, meaning you should use have
projected coordinates to do something useful at the poles.
I'll put it on the TODO list to compute great circle distances when data
are in long lat, hopefully for the next sp, which might come out pretty
soon.
Best regards,
On 06/27/2013 05:17 AM, Parra, Mauricio (AGPM) wrote:
> Hi everyone,
> I would like to know how the distance for "zero" parameter in
> zerodist/remove.duplicates function (sp package) should be entered when
> coordinates for SpatialPoints are in lat/long. Function documentation has
> no mention about you have to use either map units (decimal degrees for lat/long)
> or in all cases meters.
> Thanks in advance,
> Sincerely,
> Mauricio
>
>
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>
--
Edzer Pebesma
Institute for Geoinformatics (ifgi), University of M?nster
Weseler Stra?e 253, 48151 M?nster, Germany. Phone: +49 251
83 33081, Fax: +49 251 8339763 http://ifgi.uni-muenster.de