[QGIS-Developer] How to encode blobs in (Geo)JSON?

Alessandro Pasotti apasotti at gmail.com
Thu Nov 7 08:40:08 PST 2019


Hi,

I'm running into an issue with OAPIF and blob/binary fields, the
QgsJsonExporter does not currently handle that kind of field and just
convert them to string (whatever that means).

This is clearly wrong in case the blob does not contain ascii or UTF-8, I
think the way to go might be to base64 the blob but I'd like to know if
anyone has a better idea.


-- 
Alessandro Pasotti
w3:   www.itopen.it
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20191107/f3753f54/attachment.html>


More information about the QGIS-Developer mailing list