AnsweredAssumed Answered

Converting polygons drawn with Sketch widget to GeoJSON

Question asked by cesium133 on May 12, 2019
Latest reply on May 14, 2019 by ubatsukh-esristaff

I want to create an option in my webmap (drawn with ArcGIS API for JS) where I allow the user to draw polygons (probably using the Sketch widget). I then want to submit this polygon to a database. What's the best way to do this? Perhaps GeoJSON? Are there any options to convert created polygons to geojson with this API? 


I'm using php to connect to a postgreSQL db that stores this data.