Hi,
Has anyone ever tried to draw a buffer on the map using geometry.buffer in ArcGIS API for Python?
I can draw a point or a simple polygon on the map, but when I try to draw a buffer,a circle around a point, which is a polygon in essence, it won't be dawn, nor does it return me any warning or error.
I am stuck and puzzled...
screenshots are attached, any advice and suggestions are highly appreciated.
There were some errors in code shown in the screenshot. I tried to tidy up the code and did some copy and paste before I did the snipping.
I figured out why the buffer was not drawn:
It was because of the projection, the input feature needs to be projected. (the documentation of the API needs to be improved, I have to dive into their source code to find the acceptable input feature types ... )
Here is the working code:
Use the default coordinate system (4326)