You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The st_is_within_distance function was removed in commit 587cbc7 because of changes in the GEOS C API. Would it be possible to bring it back?
From some naïve Googling, it seems like GEOS still includes a function to answer the question "is x within some distance of y?"
If you'd rather not reimplement st_is_within_distance, I can do a quick PR to remove the reference to it from vignette 1.
The text was updated successfully, but these errors were encountered:
The GEOS C API did not change, but sf changed from using the C++ API to using the C API from GEOS, which does not offer this. Using the C++ API caused a lot of portability troubles on WIndows and Mac osx.
I decided to bring st_is_within_distance back to sf, but for sparse matrices only. If you can hold dense matrices, you could already do
st_distance(x, y) <=dist
to obtain the dense logical matrix; in case the dense matrix is too large to hold in memory, st_is_within_distance now returns you the sparse representation.
The
st_is_within_distance
function was removed in commit 587cbc7 because of changes in the GEOS C API. Would it be possible to bring it back?From some naïve Googling, it seems like GEOS still includes a function to answer the question "is x within some distance of y?"
If you'd rather not reimplement
st_is_within_distance
, I can do a quick PR to remove the reference to it from vignette 1.The text was updated successfully, but these errors were encountered: