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

521
3
11-05-2019 05:59 AM
Highlighted
New Contributor

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.

Reply
0 Kudos
3 Replies
Highlighted
MVP Esteemed Contributor

I get the same error (in Pro 2.5 beta). 

It has to be a bug.  Even with hidden fields shape_length and area are causing issues.

I have passed on the information and will reply back here.

If you have a chance could you see if it has been reported as a bug in previous versions

Reply
0 Kudos
Highlighted
MVP Esteemed Contributor

Kory Kramer‌ flagged on 2.5 Beta as well, but no response yet

Reply
0 Kudos
Highlighted
Esri Contributor

This issue has been fixed in Pro 2.5 beta 2. Thank you for reporting the problem.