I am currently trying to create buffers of 5km around polygons of the region of interest. However, every time I increase the radius from 500 metres to 5000 metres, the shape of the buffer is not similar to the shape of the original polygons. How do I preserve the shape as I scale up the radius of the buffer?
trial <- st_read("C:\\Users\\vr235\\Downloads\\issuewithbufferusingsfpackage\\TownVillCity1.shp") trial <- st_transform(trial, 32644)
Select 3 polygons from your shapefile to try
sel <- c(1,5,14) geom <- st_geometry(trial[sel,]) buf <- st_buffer(geom, dist = 5000) plot(buf, border = 'red') plot(geom, add = TRUE)
EDIT The question has been modified based on one of the comments.