-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Rule Based Symbology not working if filter is based on column with "-" in its name #44379
Comments
@MakkieSA please attach sample data and detail the necessary steps to replicate. |
Please see attached polygon shapefile and QGIS style file attached in Zip file. If I load the shapefile in QGIS 3.16.3 and If I do exactly the same in QGIS 3.16.9 and QGIS 3.20.1, the shape disappear/doesn't display on my map. Hope this helps. |
Seems to be caused by the "-" in the column name used for creating the rules. If you use an equivalent column without "-" it works. |
Thanks GiovanniI will check.Regards
-------- Original message --------From: Giovanni Manghi ***@***.***> Date: 2021/07/28 12:48 (GMT+02:00) To: qgis/QGIS ***@***.***> Cc: MakkieSA ***@***.***>, Mention ***@***.***> Subject: Re: [qgis/QGIS] Rule Based Symbology not working if filter is based on column with "-" in its name (#44379)
Seems to be caused by the "-" in the column name used for creating the rules. If you use an equivalent column without "-" it works.
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe.
|
Hello GiovanniYes, can confirm, once "-" removed from field name all sorted.Thanks & regards
-------- Original message --------From: Giovanni Manghi ***@***.***> Date: 2021/07/28 15:15 (GMT+02:00) To: qgis/QGIS ***@***.***> Cc: MakkieSA ***@***.***>, Mention ***@***.***> Subject: Re: [qgis/QGIS] Rule Based Symbology not working if filter is based on column with "-" in its name (#44379)
@gioman It seems similar to #43616 as if the attribute name contains "-" some qgis features fail ?
seems related.
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe.
|
Fixes qgis#44379 (cherry picked from commit 51fa984)
This do not seems completely fixed, see #46459 |
I'm pretty sure it's fixed, I think it's just the conversion that is broken, not quite the same sadly. |
Certain Vector Layers not displaying on Map with Rule Based Symbology (Version 3.16.9 & 3.20.1) Work on older versions
The text was updated successfully, but these errors were encountered: