Re: [Qgis-user] Showing json text in atrribute widgets

2019-12-08 Thread Matthias Kuhn
Hi Bo, Glad to hear it works. Yes, please open a ticket! Best regards Matthias On 12/8/19 7:16 PM, Bo Victor Thomsen wrote: Thanks Matthias - I was not aware that GeoPackage could handle json data. It works nicely now after I have redefined the fields from text to json-text Shall I open

Re: [Qgis-user] Showing json text in atrribute widgets

2019-12-08 Thread Bo Victor Thomsen
Thanks Matthias - I was not aware that GeoPackage could handle json data. It works nicely now after I have redefined the fields from text to json-text Shall I open a ticket in GitHub about the missing option for creating json-text fields in the create layer dialog for geopackage ? -- Med

Re: [Qgis-user] Showing json text in atrribute widgets

2019-12-07 Thread Matthias Kuhn
Hi Bo, GeoPackage has support for JSON fields, meaning that text fields can be of JSON type. When you add a new JSON field (e.g via the field calculator) this type can be chosen and then the key/value widget should work. I just realized, that the JSON field type is missing from the create

[Qgis-user] Showing json text in atrribute widgets

2019-12-07 Thread Bo Victor Thomsen
Hi list - I'm trying to create a attribute form that would show  json key/value pairs in an attribute form. The json data is stored in a text field like this : '{ "one":"1", "two":"2",... }'. The dataaprovider is a GeoPackage I would like to show the json text field using a key/value widget.