Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 68655

Statistical computing language and software environment.

2 votes
0 answers
2k views

Faster st_is_within_distance for points to lines

Is there an R equivalent of NEAR in ESRI ArcGIS?) The R help for ? … st_is_within_distance contains this note: For most predicates, a spatial index is built on argument x; see http://r-spatial.org/r/2017/06/22/spatial-index.html. …
Richard DiSalvo's user avatar
2 votes
1 answer
302 views

Find minimum number of polygons connecting two points

But to provide an example here is some code in R using the sf package. I load North Carolina counties and put two points on it. The straight line path between the two points goes through 5 counties. …
Richard DiSalvo's user avatar
2 votes
Accepted

Find minimum number of polygons connecting two points

R code and packages implementing this for the North Carolina example below. …
Richard DiSalvo's user avatar