hi,
we've created user inputted geometry using this,
then we've tried to send the geometry.tojson() to our gis arcgis pro worker.
however he is unable to convert the json to a shp file on his arc gis pro.
thanks in advance.
Hi. Are you asking for a programatic way to import the geometry JSON into ArcGIS Pro, or for a tool in ArcGIS Pro to read the geometry JSON? If the former, I think this question belongs in the ArcGIS Pro SDK place.
Programatically, perhaps start here.
It also looks like there's a JSON Import tool in ArcGIS Pro. See here.
But note that geometry.tojson() will only output the JSON for the geometry object, not a full feature. The ArcGIS Pro links above require full Featureset JSON - see here. You may need to process your geometry JSON into that format to import it.
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.