I would like to label data entries with multiple fields (that is easy, using the expression editor) in QGIS 2.18. But I fail to alter the styling of the labels, so that say the colour of the label from one data field (e.g., in the first line) was different to the second label value (second line). An older answer had the standard solution (duplicating the layer, ) I am wondering whether QGIS 2.18 or even the up and coming 3.0 will have a solution.
121616
Is it possible to have label in QGis 2.8 two different colours? For example Field1 in red colour and Field2 in blue (Field1 || ‘  ’ || Field2).
82720
I viewed in this post  a solution to my question, but...    Are there any easier way (or alternative) to do this using colors?  Thank you. ------------------ edited after showed than it´s duplicate ------------- I think that there are many sols, but for example this is easy using a normal table without pgf...     I´m trying to adapt to similar colors to apply to the table probabilitiess
48914
When I open the attribute table in QGIS 2.14 it looks like this:    In 2.18 the attribute table for the same project looks like this:    How do I make the attribute table of 2.18 look like the attribute table of 2.14?  How can I get the 2.18 attribute table to display the rows and columns that I see in 2.14?
7197
Working with documents with huge amount of equations it becomes cumbersome to go back and remind yourself what you labeled a certain equation to (I try to name them in a smart way, but there are too many).  Is there a convenient way to have equations print the label along with the tag/number, so that I can easily check the label in the compiled document?  Something like this would be perfect:  x = y               (14.1) eq:my_label
56237
I work in Oil and Gas and trying to label leases is a huge pain.  In most cases there are multiple polygons of the exact same size and shape stacked on each other with records that represent different lessees.    The number of lessees per section is unlimited.  How can i label these polys so that they look like the annotation in the picture below. Optimally the labels would be sorted on the date field as well. This label is also an expression containing the Net Acres and the Expiration Date.
96791
I used to import csv files in previous versions of QGIS using the format below, but when I upgraded to QGIS 2.0 the delimited text layer plugin was changed and I can't import the file anymore. The plugin can't also detect the x,y or long lat field unlike in previous versions. Any ideas how to add the file? Thanks      Heres what it looks in Text Editor:
31526
I'm trying to manually move labels but having some trouble. I'm trying to move the labels while in edit mode. I've added fields for x coordinate (all null), y coordinate (all null), rotation (all =0), and font-size (all =10). This makes the "move label" and "rotate label" buttons active, but when I click on the labels, no box around the label appears and it's impossible to move the label. What am I doing wrong?
115075
I have a point shapefile with several numeric fields, among them FuelFlow and Slope. I have successfully applied colour to the various points according to the value of the FuelFlow field. Now I would like to control some other attribute of the map symbols (shape? size?) according to the value in the Slope field. Something like slope between 0 and 10 gets one display style, 10-20 gets a second style, 20-30 etc. I get the sense that this is possible in QGIS (using v 2.2.0 - Windows) according to some of the tools in the Style dialog, but I don't know where to start. Can someone point me in the right direction? I believe I saw one online posting about using a CASE statement in the style definition, but now 1) I can't find it in the UI and 2) I don't know how to construct the CASE statement.
117925
I'm trying to create some custom labels for point features in a QGIS point vector layer, and I want to write a python plugin to do it.  We need our labels to be presented with color tinted rectangles behind them (or else!). The labels are long strings, and are created using labeling engine expressions and conditionals.   I thought the easiest way would be to let the user set up labels for the active layer the way they want, and then let my plugin can grab the label text from the features in the layer and use the text strings to create boxes. My problem is I can't find a way to access those text strings in the QGIS API. How are label strings generated by the labeling engine stored in QGIS and how can I get to them?
75602
Is there a way in qgis 2.0 to prevent overlapping labels?   I have a layer with a large geographical extent, which means a hell of a lot of labels. Many of them collide and it looks really bad. Is there a way for me to get qgis to automatically place the labels on an alternative 'location'?  I know it is possible in MapInfo but I'd rather use qgis :)
83230
I have been struggling for one hour with this simple problem (QGIS 1.8.0-Lisboa, Windows 7) :  I have a raster layer. I would like to display the label and not only the band value when I use the Identify Features button. Is it possible?
38161
I would like to know if there is a way to add a dynamic coordinate system field into a QGIS composer layout.  I can use an expression to add many items such as document name, file path, etc but I can;t seem to figure out how to add the coordinate system?
15159
I have several layers which are stagged on each other. I need to create a label (or text-window / description, doesn't matter) which should contain values from different layers. Creating a regular label I can only choose attributes from this layer. Because the features have different nodes, it is not possible to just merge the layers.
107205
I have a large project with provincial data. The project is currently using a data driven map with a clipped data frame for the province. The issue is the data I'm trying to show is thousands of point labels within each province, and the now clipped border is clipping labels as well. How do I stop the labels from being clipped along with the data frame?  Also, I only want to show labels that are applicable to that specific province and not the neighbouring provinces.
22959
In answer to  Klas Karlsson puts forward a solution to the problem of formatting print composer grid labels for projected maps.  I'm very weak on scripting, but in QGIS 2.14 I've tried to enter the text as shown in Klas's illustration, which generates error messages. In my case I'm working with a coordinate system that has a six-digit Easting and a six-digit Northing and I'm trying to get a result similar to that shown in Klas's picture (but with a six-digit Northing). Can anyone help me with this?
35403
I am looking to replicate black &amp; white maps in QGis, using hatching patterns and greyscales to indicate different categories of a continuous variable (example below).  It is possible/straightforward to do so in QGis? At first sight I only see color gradients and symbol fills.   ).
79921
I have several rectangular polygons that overlap each other and I'd like to label them with the ID's (for atlas page numbers).  The image below shows my initial setup.  I've offset each label from the centroid using the data defined override which I can easily understand how this one works.  But I would like to add more offset to each individual label using a CASE WHEN expression, so here's the issue.  At the bottom of the image are two inputs for "Offset X,Y".  The data defined override for this option says:  Data defined override Active: yes (ctrl/right-click toggles) Expected input: double coord [X,Y] as &lt;= 0.0 =&gt; Valid input types: string, int, double Current definition (expression):   I've used the overide for other individual coordinate values (just X or just Y) and they work fine because they expect just a single number.  But what is the format for the expression to use BOTH X and Y values?  I've tried two comma sperated numbers in square and curly brackets, as well as just numbers and also without the comma separation but I keep getting Expression is invalid from the output preview.  Any answers that I come across only really refer to python which I can't use.