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

Reflect style rules order also within a set of filtered rules #4493

Open
jmacura opened this issue Nov 17, 2023 · 1 comment
Open

Reflect style rules order also within a set of filtered rules #4493

jmacura opened this issue Nov 17, 2023 · 1 comment
Assignees
Milestone

Comments

@jmacura
Copy link
Collaborator

jmacura commented Nov 17, 2023

Feature Request

Is your feature request related to a problem? Please describe.
When more rules are defined based on a filter on the same attribute, the order of rules is not reflected in the map.

Describe the solution you'd like
The order of rules in Styler panel corresponding with the order of rendering features in the map canvas.
In the screenshot, the small yellow dots shall be under the larger orange and red dots.
image

Describe alternatives you've considered
...

Additional context
spin-off from #4447
Also need to check if the order is stored in the SLD/QML/Geostyler somehow

@jmacura jmacura added the Styler label Nov 17, 2023
@jmacura jmacura added this to the Future milestone Nov 17, 2023
@jmacura jmacura changed the title Reflect style rulse order also within a (filtered) layer Reflect style rules order also within a (filtered) layer Nov 17, 2023
@jmacura jmacura changed the title Reflect style rules order also within a (filtered) layer Reflect style rules order also within a set of filtered rules Nov 17, 2023
@fzadrazil fzadrazil modified the milestones: Future, 15.0 Oct 7, 2024
@FilipLeitner
Copy link
Collaborator

I am afraid this will not be possible....at least not easily.
While openlayers allows to set zIndex on style, geostyler (for multiple rules )returns a styleFunction (not style obj or array of objs) which is called to construct a style for each feature. See mark symbolizer example here
And for zIndex there is no control.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants