Timeline for Combining st_join with st_nn to include all points within, as well as within a given distance of a polygon
Current License: CC BY-SA 4.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 10, 2019 at 10:37 | vote | accept | Adam G | ||
May 10, 2019 at 10:36 | answer | added | Adam G | timeline score: 3 | |
May 2, 2019 at 19:44 | answer | added | Michael Dorman | timeline score: 5 | |
May 2, 2019 at 12:02 | comment | added | Adam G | @Spacedman, I'm not sure this would make any difference. 'join = st_nn, maxdist = 500' already finds all the points within 500m of the polygons. The problem is with how points within and within 500m of polygons are assigned when more than one point is within or within 500m of a polygon. If you disagree, could you please elaborate on your answer? | |
Apr 25, 2019 at 14:49 | comment | added | Spacedman |
Can you use st_distance to create a distance matrix - returns 0 if point is in polygon otherwise returns distance to polygon...
|
|
Apr 25, 2019 at 14:24 | history | edited | Adam G | CC BY-SA 4.0 |
Provided more info regarding use of the k function
|
Apr 25, 2019 at 13:01 | history | asked | Adam G | CC BY-SA 4.0 |