AnsweredAssumed Answered

GeoJSON created with Feature to JSON produces error when read back in with JSON to Feature

Question asked by bf_tadej_bevk on Nov 5, 2019
Latest reply on Nov 7, 2019 by dflater-esristaff

Hi,

I've had some trouble working with GeoJSON files in ArcGIS Pro. Specifically, if I create a new GeoJSON using the Feature to JSON from a polygon feature shapefile (ticked Output to GeoJSON, Project to WGS_1984) and then import the output back in using JSON to Feature an error is given:

ERROR 999999: Something unexpected caused the tool to fail. Contact Esri Technical Support (http://esriurl.com/support) to Report a Bug, and refer to the error help for potential solutions or workarounds.
Field is not editable. [Shape_Length]
The table was not found. [Test_json_JSONToFeatures]
Expected property name; state : startOfObject; buffer : {"type":"FeatureCollection","features":[{"type":"F
Failed to execute (JSONToFeatures).

Reading the error, I manually deleted properties "Shape_Length" and "Shape_Area" from the GeoJSON file. After this procedure the tool works and the import succeeds. I guess the two properties are in conflict with geometry fields that are automatically produced for each created feature.

 

Does anyone have the same problem? The bug should not be hard to reproduce. 

I've reported it to technical support already.

 

I'm attaching both original GeoJSON output (which produces error) and the modified one (which works). Both were successfully verified on GeoJSONLint - Validate your GeoJSON .

 

All the best.

Attachments

Outcomes