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'd forgotten about this, I've been exploring marching squares with vectorized R code and some raster tricks - I think it's feasible, though the C++ would obviously be faster. Just FYI if/when anyone gets to this
Functions to convert rasters/stars/matrices to sf.
contourize()
: produce LINESTRINGS with value equal to thresholdclosed=TRUE
: close contours at edges of extent. Otherwise end lines at extent.polygonize()
: produce closed polygons with values of upper and lower boundsrings=TRUE
produce polygons with holes. Otherwise filled polygons with values over thresholdsmooth=TRUE
, use linear interpolation to smooth contoursThe text was updated successfully, but these errors were encountered: