All Questions
4
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 ...
2
votes
1
answer
443
views
Create Polygons by Category in sf file R
I have a large set of coordinates from the critical and endangered habit federal registry. I'm trying to digitize these maps for analysis. Here's a sample of the data as an example.
library(tidyverse)
...
3
votes
4
answers
1k
views
How to compute all pairwise interaction between polygons and the the percentage coverage in R with sf?
I have polygons where I want to calculate the percentage overlap between them. The idea is that when a polygon intersects another one, the percentage can be calculated on the perspective of one ...