AnsweredAssumed Answered

Proper ESRI format for a JSON file

Question asked by jbridwell_Dewberry on Oct 17, 2018
Latest reply on Oct 18, 2018 by bixb0012

I keep getting a 001558: Error parsing .json file. According to ESRI documentation for that error, "the JSON must have at least the geometryType, spatialReference, fields, and features (with geometry and attributes) property."

I checked my .json file and it appeared to have all that but I want to see an example of a proper format. Can anyone give me a proper example of hwo ESRI want a file to look. Below is what my .json file looks like:

 

{"displayFieldName": "CSLF_ID","fieldAliases": {...},"geometryType": "esriGeometryPolygon","spatialReference": {  "wkid": 102100,  "latestWkid": 3857},"fields": [...],"features": [  {"attributes": {...},   "geometry": {...}  },...]}

Outcomes