-
Notifications
You must be signed in to change notification settings - Fork 31
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
Symbology is not exported correctly when categorized in QGIS #28
Comments
What version of QGIS are you using and what operating system are you on? Categorized lines work fine for me and the last time I tried it, points did as well. I will need more details on your setup and perhaps a sample QGIS project you are working with. |
@Jordanluiz One thing you need to be careful with is that the line symbol has to be simple. The KML specification has no ability to create complex symbology. |
@hamiltoncj I was using version 3.30 on Windows 11 and it only works fine when using version 3.22 of QGIS. The error stopped happening when I stopped categorizing using more than one field in the value. |
I was able to replicate this and the issue is that you are using an expression rather than a simple attribute. I will spend a little bit of time looking at the problem and see if it is an easy solution to fix. My hands are tied a little as I have been pulled off from QGIS development. I am still allowed to do some minor bug fixes. As a temporary solution you can create a virtual string attribute and use the expression to fill it in then you can select the virtual attribute as the categorized style. The KMZ export will then work correctly. |
Both in point layers and in lines, when they are categorized, the export assumes only one of the styles (the first or the last).
Lines:
Categorized
QGIS
Google Earth
Points:
categorized
QGIS
Google Earth
The text was updated successfully, but these errors were encountered: