buf_df = geodata.copy()
buf_df['geometry'] = buf_df['geometry'].buffer(10)
fig, ax = plt.subplots(figsize=(10,10))
tx_shapefile.plot(ax=ax, facecolor='Grey', edgecolor='k',alpha=1,linewidth=1,cmap="binary")
plt.title('Locations', fontsize=15,fontweight='bold')

I want to plot the buf_df onto a shapefile plot. Basically draw buffer circles over my (lat,long) coordinates on the map. But it plots only a single circle on a normal plot

1 Answer 1


It looks like the coordinates of your geometries are in degrees, not in real-world distance units (like meters or feet). Therefore, the value you're using for your buffer is way too large and generates these huge circles that envelop your entire plotting area.

Try substituting your second line with this one:

buf_df['geometry'] = buf_df['geometry'].buffer(0.01)

This way, the buffer being generated is significantly smaller and will allow you to see most other things on the map.

If you need to draw a buffer of a specific size in the real world (for example, 10 meters, or 10 kilometers), you'll have to convert the GeoDataFrame's CRS to a projection-based one, apply the buffer, and then go back to the original CRS.

  • 1
    Thanks, it works perfect Commented Feb 3, 2022 at 17:31
  • No worries! I'm glad it helped =)
    – Felipe D.
    Commented Feb 4, 2022 at 23:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.