[QGIS-Developer] QgsJsonUtils does not parse fields - bug or a feature?

Aron Gergely aron.gergely at rasterra.nl
Thu Jul 23 04:17:17 PDT 2020


Thanks Nyall, I reproduced that GDAL issue.
It seems to be the culprit in my case as well!

On 23/07/2020 11:12, Nyall Dawson wrote:
> On Thu, 23 Jul 2020 at 18:01, Áron Gergely <aron.gergely at rasterra.nl> wrote:
>> Hi list,
>>
>> I am parsing a larger (about 200k characters) GeoJSON FeatureCollection string via QgsJsonUtils.stringToFields().
>> It contains polygon features, each with many coordinate pairs.
>> Despite the string being valid GeoJSON, no fields are returned.
>>
> Quite possibly you're hitting this recently fixed GDAL bug:
> https://github.com/OSGeo/gdal/issues/2787
>
> Does that sound possible to you?
>
> Nyall

-- 
Email Signature Kind Regards,

Aron Gergely
+31 (0) 6 38 70 97 66

*Rasterra* | www.rasterra.nl <https://www.rasterra.nl>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20200723/a299bc4b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: aron_gergely.vcf
Type: text/x-vcard
Size: 4 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20200723/a299bc4b/attachment.vcf>


More information about the QGIS-Developer mailing list