Home > Software engineering >  Intersection keeping non-intersecting polygons in sf - R
Intersection keeping non-intersecting polygons in sf - R

Time:03-01

I'm looking to intersect 2 spatial layers, keeping all the non-intersecting features as well.

My first layer is the SA2 from NSW, Australia, which look like

enter image description here


# Join all back
SA2_end <- dplyr::bind_rows(
  SA2_diff,
  intersection
)


ggplot(SA2_end)  
  geom_sf(aes(fill = koala))

enter image description here

  • Related