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
I am looking to get a covering of a polygon using S2 cells. From here, its possible to get the covering using buffer s2_buffer_cells. The result is a "s2_geography", "s2_xptr" object. How do we get the s2 cells which make up this covering polygon? (There was an method in the older version to do this)
Would a generic "s2_geography" --> character vector of s2 cells help?
The text was updated successfully, but these errors were encountered:
We're hoping to add this soon! I got excited about it a few months ago and opened an issue but soon ran out of time to actually do it. On the C++ side this is easy, but on the R side it needs a new type of vector class to handle an s2 cell which takes a bit more work.
Out of curiosity, what is your use case? (Will help me get a sense as to what interface you were hoping for)
Thanks for the quick response @paleolimbot
We are trying to store isochrones (essentially polygons) as set of small enough S2 cells which cover it. This is planned to be used in production usecases. Our stack is for spatial work is mostly sf based, while the prod(engg) use S2.
Hi,
Firstly, great job with the package!
I am looking to get a covering of a polygon using S2 cells. From here, its possible to get the covering using buffer
s2_buffer_cells
. The result is a "s2_geography", "s2_xptr" object. How do we get the s2 cells which make up this covering polygon? (There was an method in the older version to do this)Would a generic "s2_geography" --> character vector of s2 cells help?
The text was updated successfully, but these errors were encountered: