Problems with spherical geometry when extracting MODIS time series using sf
gilbertocamara opened this issue · comments
Gilberto Camara commented
Describe the bug
When extracting MODIS time series using sf using S2 spherical geometry, a problem appears that leads to an error.
To Reproduce
If reporting a change from previous versions
In the latest version of sits, time series extraction is done based on chunks. In this case, the sf "intersects" operation gives an error when extracting a time series for some points. "Edge is degenerate".
Additional context
This appears to be a problem with S2 geometry operations in sf. It is advisable to use planar operations for the intersect operation.