<div dir="ltr">Hi All,<div><br></div><div>Seeking advice here... </div><div><br></div><div>The GeoJSON spec supports nested json within properties, see example #2 @ <a href="https://www.rfc-editor.org/rfc/rfc7946#section-1.5">https://www.rfc-editor.org/rfc/rfc7946#section-1.5</a></div><div><br></div><div>It would appear that QGIS 3.16 is unable to load this as layers. I'm highly skeptical about how much support there is for nested JSON not just in QGIS but from all GIS technologies.</div><div><br></div><div>I'd really appreciate any words of wisdom on how best to deal with this.</div><div><br></div><div>Maybe things like:</div><div><ul><li>Do it, it has enough support </li><li>Don't do this, nobody likes it (

gdal/ogr2ogr, postgres, esri e.t.c...)</li><li>Flatten the json (i.e. stringify) only when needed so no data is destroyed</li></ul></div><div><br></div><div>Thank you</div><div><br></div><div>p.s. Here's an example if you wish to reproduce it, save locally as *.geojson and drop it in qgis and it will not load. Remove the red nested object and all will be fine.</div><div><div><br></div><div><font face="monospace">{<br>  "type": "FeatureCollection",<br>  "features": [<br>    {<br>      "type": "Feature",<br>      "geometry": {<br>        "type": "LineString",<br>        "coordinates": [<br>          [<br>            153,<br>            -27<br>          ],<br>          [<br>            152.9,<br>            -27.1<br>          ]<br>        ]<br>      },<br>      "properties": {<br>        <font color="#6aa84f">"flatProperty": "works fine",</font><br><b style="background-color:rgb(255,255,255)"><font color="#cc0000">        "nestedObject : {<br>          "withinQGIS316" : "FAIL TO LOAD AS A LAYER in v 3.16"<br>        }</font></b><br>      }<br>    }<br>  ]<br>}</font><br></div></div></div>