Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [rule-based]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
15
votes
3answers
1k views

Controlling rule-based labelling using PyQGIS?

Following on from this question: How to turn on/off all labels of all layers in QGIS, OP mentioned in his comment that he uses rule-based labels. I tried searching online as to how these types of ...
2
votes
2answers
241 views

QGIS Atlas map composition to show only points inside Polygon?

I want to create an atlas map where I have some 40 polygons, 100 points and 200 lines as different shapefile. Now I want to automate the atlas map preparation for each polygon and needs to show the ...
2
votes
6answers
133 views

Rule based coloured background for labeling in QGIS

I am a newbie working on QGIS 3.6 / Windows 10. I need to label a polygon layer which is categorised by colour. (pls refer to attached pic as a graphical reference) The labels need to have a ...
2
votes
1answer
159 views

QGIS 3 - Variables in rule-based rendering?

I'll try and lay this out clearly, I have most of it covered, but there's a very specific thing I'm looking for in the rules - whether or not it can be done and if so, how? Key things I have done and/...
5
votes
2answers
4k views

Rule-based labeling in QGIS

I'm trying to label visited countries in a world map shapefile, what is wrong with my rule : if( "Visited" = 'yes', "NAME", NULL)
3
votes
3answers
3k views

Using 'max()' in expression with QGIS?

I want to make a rule-based style on the maximum value from a field. I set my expression like: max("fieldname") It returns every value instead of only the maximum one. Can anyone tell me the right ...
2
votes
1answer
239 views

Is it possible to show all label on a polyline layer with minimum overlaps, by automatic changing of the font size?

My goal is the following: I would like to show every street name/label, without overlapping (the scale I use is <20000, and it is changing). The default label is curved, 8p, but if the software ...