[R-sig-Geo] How to efficiently generate data of neighboring points

Roger Bivand Roger@B|v@nd @end|ng |rom nhh@no
Tue Jun 2 15:59:12 CEST 2020


On Tue, 2 Jun 2020, Kent Johnson wrote:

>> Date: Tue, 2 Jun 2020 02:44:17 -0500
>> From: Lom Navanyo <lomnavasia using gmail.com>
>> To: r-sig-geo using r-project.org
>> Subject: [R-sig-Geo] How to efficiently generate data of neighboring
>>         points within specified radii (distances) for each point in a given
>>         points data set.
>>
>
>
>> Hello,
>> I have data set of about 3400 location points with which I am trying to
>> generate data of each point and their neighbors within defined radii (eg,
>> 0.25, 1, and 3 miles).
>>
>
> The rtree package is very fast and memory-efficient for within-distance
> calculations.
> https://github.com/hunzikp/rtree

Thanks! Does this also apply when the input points are in geographical 
coordinates?

Roger

>
> Kent Johnson
> Cambridge, MA
>
> 	[[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo using r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>

-- 
Roger Bivand
Department of Economics, Norwegian School of Economics,
Helleveien 30, N-5045 Bergen, Norway.
voice: +47 55 95 93 55; e-mail: Roger.Bivand using nhh.no
https://orcid.org/0000-0003-2392-6140
https://scholar.google.no/citations?user=AWeghB0AAAAJ&hl=en



More information about the R-sig-Geo mailing list