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

René-Luc Dhont rldhont at gmail.com
Thu Nov 7 09:26:04 PST 2019


Hi Alessandro,

I think the same as you,base64 the blob.

Regards,
René-Luc

Le 07/11/2019 à 17:40, Alessandro Pasotti a écrit :
> 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 <http://www.itopen.it>
>
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20191107/b0539da7/attachment.html>


More information about the QGIS-Developer mailing list