2

Im joining dots with a CSV file and map my data with proportional circles. Unfortunately I have some overlapping.

How do I sort a join layer based on attribute column called aPOPCLA72 ?

  • Filtering virtual layer of my layer based on 1=1 order by "aPOPCLA72" desc do not work. The column is not sorted.

  • Sorting using MMQGIS gives me invalid sort field name error (field name: aPOPCLA72)

Why I want to sort my data: avoiding proportional circles overlapping. I want to render the big circles first.

enter image description here

I am using QGIS 3.6

PolyGeo
65.5k29 gold badges115 silver badges350 bronze badges
asked Jun 12, 2019 at 10:33
1
  • the suggestion below to use the 'control feature rendering order' will only work if your data is NOT joined, that is, if you export your joined datasets into a static one... I've been having this issue lately. Commented Jun 12, 2019 at 15:48

1 Answer 1

4

Try controlling drawing order within symbology menu:

image

Note this is just a workaround to get your visual result. It will not change the sort order of attributes. Only the order in which your features will be drawn.

answered Jun 12, 2019 at 10:45
8
  • Thank you forhelping. Not working with the size assistant ? Commented Jun 12, 2019 at 10:50
  • Not sure if I get you right. But you can not control drawing or attribute order using size assistant. Commented Jun 12, 2019 at 10:52
  • It should actually work like you tried with virtual layer. E.g. select * from pointlayername order by "aPOPCLA72 " desc. Can't tell why it does not from here... Commented Jun 12, 2019 at 10:53
  • OK. It is why I want to sort my column before to ovoid overlapping. The size asssistant is great for rendering proportional symbols. Commented Jun 12, 2019 at 10:54
  • Ah ok. Yes sure, use the renderer like you already did. Just leave everything as it is and do the step in my answer as additional step. Commented Jun 12, 2019 at 10:56

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.