Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
AdamChyl opened this issue May 22, 2024 · 1 comment
Open

Comments

@AdamChyl
Copy link

AdamChyl commented May 22, 2024

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 AdamChyl changed the title Can't load WFS if the layer has before uploaded styles to geonode WFS cannot be loaded if layer has previously uploaded styles to geonode May 22, 2024
@AdamChyl
Copy link
Author

AdamChyl commented May 22, 2024

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”)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant