crop_shape(shp, bbox = shp@bbox, set.bbox = TRUE)
bb
. Data is retained in case shp
has data. A vector of matched ID's is stored as a attribute matchID
. This vector contains for each polygon in the returned shape object the number of its orignal polygon in shp
.shp