xyz-qgis-plugin icon indicating copy to clipboard operation
xyz-qgis-plugin copied to clipboard

Add option for automatic flatner of any json attribute in xyz-layer loaded.

Open jvidin opened this issue 4 years ago • 2 comments

As an analyst i would like to jump straight away into labeling and symbology in Qgis using flat attributes and avoiding the need to dive into the exposed string json structures received when loading xyz layers.

Please see below an image example of a flaten attribute.

SNAGHTML12aff953

jvidin avatar Sep 29 '20 13:09 jvidin

Hi @jvidin, thanks for the suggestion, it would be very useful for nested json string. Could you share how you flattened the attributes as shown in the screenshot ? Was it done with some built-in QGIS functions ?

minff avatar Sep 29 '20 14:09 minff

Hi , screenshot is from FME tool ... this is how they internally flaten the nested json structures and expose them. docs I belleive pandas.json_normalize does something similar.

jvidin avatar Sep 29 '20 18:09 jvidin