I have a set of polygons (available here: http://ulozto.cz/x39ELbFt/polygons-zip) created in QGis and processed in R. I would like to know if they are overlapping or not, and if yes, where is the overlapped area (and between which polygons)? I know that to figure this out I can use tools:
Any suggestion will be highly appreciated
library(sp) library(raster) library(rgeos) library(spatstat) library(rgdal) setwd("D:/...") p1
- over{sp} - return data.frame not a spatial object!
- intersect{raster}
- gIntersection{rgeos}
- intersect(p1, p2)
- intersect(p1, p3)
- intersect(p1, p4)
- intersect(p2, p3)
- etc...
Any suggestion will be highly appreciated
library(sp) library(raster) library(rgeos) library(spatstat) library(rgdal) setwd("D:/...") p1