Skip to main content

Questions tagged [data-defined-override]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
62 views

Customize simple symbol shape for point (sharper triangle) in QGIS

I want to customize a simple symbol shape in QGIS because the basic triangle has a too large base for my purpose. I see that in simple symbol panel there is a data defined property next to the symbol ...
dmjf08's user avatar
  • 1,273
1 vote
1 answer
37 views

QGIS data defined labelling using attribute fields in shapefile

I usually override automatic labelling by storing the X and Y coordinates of labels in manually created fields in my shapefile. I find that when using auxiliary storage in the project file, QGIS tends ...
Fabian's user avatar
  • 21
0 votes
1 answer
245 views

QGIS QFIELD data defined symbols

I'm in the process of creating a QFIELD project for geological mapping. I want to symbolize the features based on their attribute values. i.e. I'm collecting data for strike, dip and dip direction of ...
Anon's user avatar
  • 1
2 votes
0 answers
48 views

Data Defined Override option is being ignored after modification in python function code

In the function editor I made a Python function to control the font size of several layers (using Data Defined Override option). But whenever I need to change something in the function's code and then ...
Guilherme Alexsander Pereira's user avatar
1 vote
1 answer
62 views

Is there any way to customize the categories that the data-defined override offers?

My question is if there is a possibility of changing the color scale that the data defines override gives you by default. My data set goes from 0 to 1 and the program defines a color every 0.1, but I ...
Ana Tomba's user avatar
9 votes
1 answer
527 views

Making color from color name in QGIS expression

I have a layer containing color field storing color names as text like red, green. The layer is read-only. id color 1 green 2 red 3 blue 4 green I would like to define -using data-defined ...
Kadir Şahbaz's user avatar
3 votes
1 answer
206 views

QGIS Atlas Bind a second layer to show more content

The Goal My goal is to plot archaeological profiles with the QGIS Atlas. Here as an example the plan for the Profile 100. The way so far I have detached the profiles from their original positional ...
Janko's user avatar
  • 31
2 votes
1 answer
453 views

SVG or PNG image from web as maker symbol (QGIS)

Is it possible to use a image (SVG oder PNG) from web (http) to use it as maker icon in QGIS? In my case: Hiking Trails in OSM sometimes have a symbol as way marking (wiki:symbol). Here is one: https:/...
MartinMap's user avatar
  • 8,326
1 vote
0 answers
203 views

Can't set label background nor callouts color to the the variable @symbol_color

Working with QGIS 3.22.8 you can set a data defined override for label color to match that of the associated feature using the variable @symbol_color, but it does not work for label background fill/...
user209491's user avatar
3 votes
2 answers
221 views

QGIS - symbol transparency not working when using string-defined fill colour

I want to fill and outline polygons by using a field that contains HEX codes as a string, e.g. #99d594, as well as set the fill opacity to 25%. I'm able to set the colours with the right field through ...
CJL's user avatar
  • 33
2 votes
1 answer
195 views

"Rule-based" background color in QGIS attribute form containers?

In QGIS attribute form Drag and Drop Designer we can choose a backgroud color for widget containers (Tabs and Group boxes): Is it possible to have rule based background colors depending on some ...
Jochen Schwarze's user avatar
4 votes
1 answer
618 views

Using data defined override for SVG-marker lines

After not getting enough detail on that part of my problem in this post, I am now trying in a separate question. I am unable to do data defined override with SVG markers on a line layer. I'm not sure ...
e-shirt's user avatar
  • 667
5 votes
1 answer
722 views

Text from attribute table as symbols (font marker?) not showing correct in legend (QGIS)

I need to place symbols (point layer) with abbreviations from a attribute table. I solved that with "font marker" and data defined override as you can see in the screenshot below. The result ...
MartinMap's user avatar
  • 8,326
1 vote
1 answer
766 views

How do I limit label placement based on the distance to neighboring features' labels in QGIS?

I'm attempting to label population centers in a map of a state which has a vast disparity between the population density in the west versus the east: I'd like to reduce the clutter in the western ...
watkipet's user avatar
  • 209
1 vote
1 answer
459 views

Specify start/stop within color ramp in QGIS

I'm trying to color values along buffered two-point lines with a color ramp in QGIS. The color ramp should represent the height of the lines, that varies linearly from start to end point. Now I cannot ...
tammojan's user avatar
0 votes
1 answer
250 views

Can you use data defined override for QGIS label callouts to make the callout line start at the origin if map feature is moved

I love the QGIS callouts feature for labels but wanted to know if it was possible to anchor the label callout to the original feature position so that when the feature is moved the label callout is ...
AWGIS's user avatar
  • 3,230
3 votes
1 answer
513 views

QGIS 3.6 - Modifying data defined override-expression?

Is there a way to alter the data defined override expression? I have a points layer which I label with one of its attributes. The attribute table also comes with a field for an offset from point-value ...
Jeston Lunnigan's user avatar
1 vote
1 answer
2k views

QGIS3 data defined overide not active

In QGIS 3.4 MADEIRA, I get no active "data defined override"; I click on the sybol right toio "Size", that I want to modify with a function. The words "data defined override" are pale grey and italic, ...
catindri's user avatar
  • 351
8 votes
0 answers
2k views

Question marks ("?") in QGIS layer panel when using SVG markers defined with "Data defined override"

When using SVG marker symbols and set the path to SVG file via Data defined override the SVGs display well in the map canvas, but not in the layers panel (applies for QGIS 2.x and 3.x). SVG marker ...
Jochen Schwarze's user avatar
2 votes
1 answer
689 views

Align label text using an expression

I want to align text to a specific angle in QGIS. Both the text and the angle are specified in a table (column: street name / column: angle) When I generate the labels, at the moment all the labels ...
Koen Schrauwen's user avatar
1 vote
0 answers
165 views

Map rotation field don´t change in Atlas QGIS 2.18.14. Is this a bug?

I set up Scale and Rotation Map Fields to use with Data defined Override function, in an Atlas. As I browse the maps in the Atlas, the Scale field appears fine, it change with the data from that ...
Carlos Pires's user avatar
  • 1,135
4 votes
1 answer
905 views

How to colour text background by category?

How can I change the colour of text labels by category? EG, I have a text layer with text that is categorised into 6 different categories. I need either the text itself, or its background to match ...
PJ Lightning's user avatar
4 votes
1 answer
200 views

Apply color ramp to marker outline

I have a point layer in QGIS 2.18.14. I have colored the points based on a category, using the YlOrRd color ramp. Now I am trying to change the outline of each point marker to be slightly darker than ...
Becky's user avatar
  • 41
3 votes
1 answer
495 views

eval() statement in QGIS data defined override expression editor gives unexpected results

In QGIS I've set up some project variables called rv_farbe1, rv_farbe2 and so on. The contain color values in html notation like '#ff0080'. Now in rule base labels I would like to setup data defined ...
Jochen Schwarze's user avatar