[R-sig-Geo] distance units in "zerodist" function (sp)

Edzer Pebesma edzer.pebesma at uni-muenster.de
Thu Jun 27 07:35:10 CEST 2013

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

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

More information about the R-sig-Geo mailing list