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

Paul Hiemstra paul.hiemstra at knmi.nl
Mon Oct 17 10:07:26 CEST 2011


On 10/15/2011 02: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

?spDists, ?zerodist

Paul

-- 
Paul Hiemstra, Ph.D.
Global Climate Division
Royal Netherlands Meteorological Institute (KNMI)
Wilhelminalaan 10 | 3732 GK | De Bilt | Kamer B 3.39
P.O. Box 201 | 3730 AE | De Bilt
tel: +31 30 2206 494

http://intamap.geo.uu.nl/~paul
http://nl.linkedin.com/pub/paul-hiemstra/20/30b/770



More information about the R-sig-Geo mailing list