I have two objects:
eez
:https://github.com/yuliaUU/test/blob/main/eez.RDS
bordering_polygons
: https://github.com/yuliaUU/test/blob/main/madg_bordering_polygons.RData
So what i want to do is to try to extend teh outer boundary of each bordering_polygons
untill eez
line, and so that boundaries will not overlap
I tried doing buffer, but beffer will add toi each side.
So i was thinking along these steps:
- add buffer to each polygon in
bordering_polygons
of a certain distance aka 500km - then once i have buffer fo all, i intesect them: so that each boundary wont overalp ( aka taking only unique boundaries)
- and then crop the polygon to only be within eez.
I wonder if you cna hel me with suggestions on whetehr there is a faster way to do it? or a different approach?
buffered <- st_buffer(polygon, dist = 200000) #