I have some points in a shapefile and I want to create an offset area around them. In particular, what I am doing is the following:
import shapefile
sf = shapefile.Reader(path+'Data/One_Road_Segment/one_segment_road')
shapes = sf.shapes()
x = list()
y = list()
for i in range(0,len(shapes)):
for j in range(0,len(shapes[i].points)):
X = shapes[i].points[j][0]
Y = shapes[i].points[j][1]
x.append(X)
y.append(Y)
plt.scatter(x,y)
In this way I have the following map.
What I want to do is to create an area around the points in order to check in the future if other points are in that area. I would like to have something like the following: