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

rendering order in rule-based style not working with scale ranges #15218

Closed
qgib opened this issue May 30, 2012 · 11 comments
Closed

rendering order in rule-based style not working with scale ranges #15218

qgib opened this issue May 30, 2012 · 11 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Symbology Related to vector layer symbology or renderers
Milestone

Comments

@qgib
Copy link
Contributor

qgib commented May 30, 2012

Author Name: Bernhard Ströbl (Bernhard Ströbl)
Original Redmine Issue: 5665
Affected QGIS version: master
Redmine category:symbology


the rendering order in rule based style does not work any more, instead feature rendering is ordered by chance
behaviour can only be observed if rule-based style is combined with scale ranges, if rules do not have scale ranges rendering order works as it should


@qgib
Copy link
Contributor Author

qgib commented May 30, 2012

Author Name: Giovanni Manghi (@gioman)


I tested a clip of osm data and the attached style, and it seems to work.


  • 4520 was configured as estradas.qml
  • 4521 was configured as a_estradas_osm_shp.zip
  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented May 30, 2012

Author Name: Bernhard Ströbl (Bernhard Ströbl)


Hi Giovanni,
I checked your example and examined mine (attached). It seems that it does not work if there are gaps between any two layer numbers in rendering order. I used steps of 10 in order to be able to squeeze another layer in, in case there is need to do so, without rearranging all layers. This used to work in 1.7.4. If I use sequnetial numbers for the layers it works.


  • 4522 was configured as roads.zip

@qgib
Copy link
Contributor Author

qgib commented May 30, 2012

Author Name: Giovanni Manghi (@gioman)


Bernhard Ströbl wrote:

Hi Giovanni,
I checked your example and examined mine (attached). It seems that it does not work if there are gaps between any two layer numbers in rendering order. I used steps of 10 in order to be able to squeeze another layer in, in case there is need to do so, without rearranging all layers. This used to work in 1.7.4. If I use sequnetial numbers for the layers it works.

if you confirm me that is a regression since 1.7.4 then we have to tag this as "blocker".

@qgib
Copy link
Contributor Author

qgib commented May 30, 2012

Author Name: Giovanni Manghi (@gioman)


  • priority_id was changed from Normal to Severe/Regression

@qgib
Copy link
Contributor Author

qgib commented May 30, 2012

Author Name: Martin Dobias (@wonder-sk)


Fixed in changeset "056300f00dd3821f2508dafb9d6193e294098c63".


  • status_id was changed from Feedback to Closed

@qgib
Copy link
Contributor Author

qgib commented May 30, 2012

Author Name: Bernhard Ströbl (Bernhard Ströbl)


Martin Dobias wrote:

Fixed in changeset "056300f00dd3821f2508dafb9d6193e294098c63".

Martin, great that you looked into this so fast. I am sorry to inform you that the problem persists here. Did you check with the shape file and qml I provided?

@qgib
Copy link
Contributor Author

qgib commented May 30, 2012

Author Name: Nathan Woodrow (@NathanW2)


Seems to work ok for me. This is what I see at 1:18000, is this correct

image

@qgib
Copy link
Contributor Author

qgib commented May 30, 2012

Author Name: Bernhard Ströbl (Bernhard Ströbl)


Nathan Woodrow wrote:

Seems to work ok for me. This is what I see at 1:18000, is this correct

image

Nathan this looks good, the grey streets are supposed to be rendered beneath the yellow ones. At me they are not (QGIS 1.8.0 Codeversion c367a35)How does it look when you zoom in at say 1:1000?

@qgib
Copy link
Contributor Author

qgib commented May 30, 2012

Author Name: Nathan Woodrow (@NathanW2)


Like this (1:1000):

image

@qgib
Copy link
Contributor Author

qgib commented May 30, 2012

Author Name: Nathan Woodrow (@NathanW2)


(QGIS 1.8.0 Codeversion c367a35)

There is your problem. Martin only fixed this last night so you will have to get a new build to test with. You build is from the 22nd of May

@qgib
Copy link
Contributor Author

qgib commented May 31, 2012

Author Name: Bernhard Ströbl (Bernhard Ströbl)


Nathan Woodrow wrote:

(QGIS 1.8.0 Codeversion c367a35)

There is your problem. Martin only fixed this last night so you will have to get a new build to test with. You build is from the 22nd of May

Hmm, I made a git pull this morning, compiled and installed into a new directory with no avail, the codeversion stays the same!?

OK got it fixed and can confirm now, ticket is solved.
thanks again

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Symbology Related to vector layer symbology or renderers labels May 24, 2019
@qgib qgib added this to the Version 1.8.0 milestone May 24, 2019
@qgib qgib closed this as completed May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Symbology Related to vector layer symbology or renderers
Projects
None yet
Development

No branches or pull requests

1 participant