How to store polygons created by addDraw in variables as sf data

Viewed 96

How to store polygons created by addDrawToolbar in variables as sf data

By using addDrawToolbar, I was able to draw polygons on the map. Is it possible to store this polygon in a variable as sf format?

In the subsequent processing, I intend to combine (st_union) with the existing polygon (Administrative district data). Therefore, I am looking for a way to save it as sf format data.

If you know or have a web page that you can refer to, please let me know.

0 Answers
Related