-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
Add support for QML style from QGIS 3.28 #577
Conversation
PS so far this PR only contains src/ and data/ changes. |
@KaiVolland can you take a look? |
I'm actually not sure why dist is not in .gitignore. Usually this should be covered by the pipeline. |
Thanks for the contribution. 🙏 Just a minor note with a possible improvement. |
Tests should read both pre-3.28 QML - from data/qmls_old and, post-3.28 QML - stored in data/qmls When writing, the output should be 3.28 compatible. This only sets up the new text structure - the test data and conversion logic is not yet updated to be 3.28 compatible.
and to read both 3.28 style QML, and earlier style QML Update test data in qmls/ to be 3.28 style QML
a5193b2
to
dac4475
Compare
Just FYI: I reworded your commit messages and force pushed to the main branch again. This is breaking change and it's my bad that i didn't notice. |
See #455
Fixes #455
Fixes #540
Fixes #541
Changes to conversion logic are basically the same as in previous attempt by geographika:
#569
it's only a very minor change to the conversion logic that is needed, so can't go too far wrong.
However, updated test data is quite different to that supplied by geographika - test data is mostly limited to the properties that we actually read and write (consistent with the old test data now in
data/qmls_old
) and not the complete output of QGIS, which tends to have a lot of noise that we can't parse and don't care about.TESTED=tests pass, test data in both
data/qmls
anddata/qmls_old
can be understood by my QGIS-3.34 on macos.