All Questions
2
questions
0
votes
0
answers
221
views
R terra cannot create SpatVector from sf MULTILINESTRING if line contains only single point
I have an MULTILINESTRING sf that appears to be ok (see dput below), but when I try and convert it to a SpatVector using pv <- terra::vect(test2) I get the error:
Error: [as,sf] coercion failed. ...
0
votes
2
answers
157
views
subset raster to separate two classes
I have a raster that is too large to post here but can be downloaded from here: https://login.filesanywhere.com/fs/v.aspx?v=8c6c688b586472bcab6a . When I plot it I see a mix of water and land. I would ...