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

Error importing qml of vector layer with classes (qgis 3.30) #540

Open
pvgenuchten opened this issue Oct 26, 2023 · 1 comment
Open

Error importing qml of vector layer with classes (qgis 3.30) #540

pvgenuchten opened this issue Oct 26, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@pvgenuchten
Copy link

Bug

Describe the bug

when i run:
npx geostyler-cli vector-classes.qml

I get this error:

Error during translation of file "vector-classes.qml": TypeError: Cannot read property 'forEach' of undefined

Style file exported with qgis 3.30 (attached)

image

Desktop (please complete the following information):

  • OS: Windows, command line

vector-classes.zip

@pvgenuchten pvgenuchten added the bug Something isn't working label Oct 26, 2023
@pvgenuchten
Copy link
Author

as indicated on #455 the style format of qgis has had big changes with 3.28, so this library probably needs to differentiate between qgis >3.28 and <3.28 (or support latest only)

the work by oshistory seems relevant here, can it be merged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Todo
Development

No branches or pull requests

3 participants