How can I use FeatureCollection ToJson() in ArcGIS Pro?

263
0
02-21-2023 12:59 PM
Labels (2)
noodle
by
New Contributor III

I'm generating contours (FeatureCollectionLayer) using gpkx and do FeatureQueryResult to FeatureCollectionTable, then to FeatureCollection, then to FeatureCollectionLayer.  Under .NET you can create json text by featureCollection ToJson() and get back FeatureCollection by FeatureCollection.FromJson(jsonTxt).   I tried to use the resulting json file in ArcGISPro to look at by "Json To Feature" method.  Unfortunately it throws exception.   Is there any way to use this json file in ArcGIS Pro to look at?   I attached the json file created in my app.

 

0 Kudos
0 Replies