In jupyter notebook, I'm trying to make draw a shape (say circle) on some location points plotted on map as shown below:
# df is a pandas dataframe with coloumns 'lon' & 'lat'
points = gis.content.import_data(df)
# cen_lon, cen_lat are center longitude and latitude respectively.
I want a circle/polygon should appear, which encircles the points of df upto some radius r
I tried the following (both with analysis.create_buffers and use_proximitiy.create_buffers (simo xu)]:
layer0 = g.layers buffer0 = use_proximity.create_buffers(layer0, distances=, units = 'Miles')
and getting this error:
AttributeError: 'NoneType' object has no attribute 'create_buffers'