-
-
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
[BUGFIX] Read SLD TextSymbolizer: venderOptions to get advanced settings #33813
[BUGFIX] Read SLD TextSymbolizer: venderOptions to get advanced settings #33813
Conversation
I could be boring, but lack of tests that this vendorOption font settings are propagated to font and settings. other this this aspect, LGTM Another question... this are QGIS or Geoserver vendor options? (I suppose qgis) |
These VendorOption are QGIS ones. All the sld loader and reader tests have to be enhancent. |
I cannot provide much of a review in terms of QGIS behavior, but the code looks legit, and I'm noticing that the vendor option names match the ones used in GeoServer. |
The vendor option names are the one used by QGIS in the save as SLD https://github.com/qgis/QGIS/blob/master/src/core/labeling/qgsvectorlayerlabeling.cpp#L457 |
a71375f
to
c43e1d7
Compare
@luipir I test |
not clear to me how did you teste all settings set in the added code. IMHO could be interesting create a test SLD (or a set) as in
Are there problems to create a test data set? If the problem is the feature freeze (tomorrow?), I agree to merge and then add new tests later. Is this the reason to merge without good test coverage? |
Thanks @luipir I will make tests next week. |
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-release-3_10 release-3_10
# Navigate to the new working tree
cd .worktrees/backport-release-3_10
# Create a new branch
git switch --create backport-33813-to-release-3_10
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick 0fa5a8f4d86978901678c277cfff55c730ec9837
# Push it to GitHub
git push --set-upstream origin backport-33813-to-release-3_10
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-release-3_10 Then, create a pull request where the |
Description
VendorOptions element is used by QGIS is used to provide advanced settings.
Checklist
Fixes #11111
at the bottom of the commit messagescripts/prepare-commit.sh
script before each commit