[R-sig-Geo] Delete points within a certain distance of each other

Edzer Pebesma edzer.pebesma at uni-muenster.de
Sat Oct 15 17:41:07 CEST 2011


Sandeep,

I pointed you to sp::zerodist earlier today. It won't harm to read its 
documentation. After all, that is why we write it.

On 10/15/2011 04:57 PM, Sandeep Patil wrote:
> Hello all
>
> I have about 4500 spatial points which are irregularly spaced...
>
> What is want to do is to replace points that are clustered very near
>
> each other by one point ...i.e say the distance betweeen Point A&  Point B
>
> is less than a threshold that i will define , i will delete either A or B
> and essentially
>
> do this for the complete dataset so that there is at least a minimum
> separation
>
> between every pair of points.
>
> Any idea how to proceed ?
>
> Sandeep
>
> 	[[alternative HTML version deleted]]
>
> _______________________________________________
> 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
8333081, Fax: +49 251 8339763  http://ifgi.uni-muenster.de
http://www.52north.org/geostatistics      e.pebesma at wwu.de



More information about the R-sig-Geo mailing list