GeoNode / QGISGeoNodePlugin

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

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

Open AdamChyl opened 1 month ago

AdamChyl commented 1 month 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 1 month 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”)