AnsweredAssumed Answered

How to draw a polygon or circle on few locations in Jupyter notebook?

Question asked by Bhartendu on Sep 21, 2018
Latest reply on Sep 24, 2018 by Bhartendu

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)

g.add_layer(points)

 

# cen_lon, cen_lat are center longitude and latitude respectively.

g.draw('circle',[cen_x, cen_y])

 

I want a circle/polygon should appear, which encircles the points of df upto some radius r

Outcomes