GeoNode / QGISGeoNodePlugin

A QGIS plugin that provides integration with GeoNode
https://geonode.org/QGISGeoNodePlugin/
GNU General Public License v3.0
12 stars 16 forks source link

WFS cannot be loaded if layer has previously uploaded styles to geonode #270

Open AdamChyl opened 6 months ago

AdamChyl commented 6 months ago

As in the title, if a layer has custom styles loaded from qgis, it is not possible to download this layer again from WFS

buttons disabled after trying to download, layer without styles loads correctly Zrzut ekranu 2024-05-22 124915

AdamChyl commented 6 months ago

Fixed, if styling is done using strings from fields and if these strings contain special characters, it will crash.

Add error ignoring in styles.py file: return buffer_.data().decode(encoding=“utf-8”, errors=“ignore”)