New answers tagged

1 vote

Rule-based symbology label to map labelling

You can achieve half of it. Go to the rule based symbology, select every rules, right click, copy. Go to the label options, select rule based, right click, paste. Doing this copies every rules, and ...
  • 36.1k
0 votes

Using CIM Maplex to include feature weights and never remove unplaced labels

If the code sample you have provided is truly what you have written then you are missing the "write your changes back" step. Look at the example 1 sample code in the help file on CIM and you ...
  • 40k
0 votes

QGIS auxiliary label locations: determining their storage locations

When you move the first label, you must select the primary key to use for joining with internal data storage. Solution 1 When this is created (as it is the case with you), you automatically find two ...
  • 45.1k
3 votes

Extract QGIS text label position as polygon feature

Not 100% what you are looking for but hopefully a start. This will only work for labels which are in Curved placement mode. You need to select the layer from which you want to calculate the polygons ...
  • 1,290
1 vote
Accepted

Is there a specific arcade expression to remove duplicate labels?

If you want a case-insensitive test, use the Upper or Lower functions when comparing: if(Upper($feature.Location) == Upper($feature.Location_Description)){ return $feature.Location } else { ...
  • 54.3k
0 votes

Ensuring Maplex label engine is enabled on new layers?

Here is how I turn on Maplex engine on my arcmap and on my arcPro. Arcmap First: Here is esri document Enabling the Maplex Label Engine and adding the Labeling toolbar https://desktop.arcgis.com/en/...
  • 1,440
0 votes

Displaying both numeric and text values in Label using Arcade?

As commented by @Hornbydd: Try Text($feature.WIND_SPEED / 1.6) + " mph";
  • 64.2k
0 votes

QGIS label formula

You should use if(field = 0,'N/A',coalesce(field, 'N/A')) or better replace the NULL values in your datasource, or create a view with ‚N/A instead of NULL.
  • 3,813
3 votes

QGIS label formula

For your case is better to use the format function, and you can create an array with all the fields value to replace them when "NULL" or "0" with "N/A". with_variable( ...
  • 1,848
1 vote

Adjusting text style in multiline label in QGIS

In 3.16 this is not possible with a single label but in the following QGIS 3.28 (will be released October 2022) this will be implemented. See more at blog post by North Road . You might use a ...
  • 1,533
2 votes

QGIS Labels with HTML formating

The next QGIS release (QGIS 3.28, to be released) comes with a new feature: Mixed Format Labels in QGIS. It will be released in a month (Oct. 21, 2022) and will allow html formatting: users can ...
  • 45.1k
1 vote

Adjusting text style in multiline label in QGIS

HTML Styling in labels is currently limited to colors, but you can work around that by using John's dynamic SVG solutions (see here and here), or by exporting to SVG (keep text as text objects) and ...
1 vote

QGIS Labels with HTML formating

christoph's answer worked great for me, but I want to mention another workaround for people who come to this page just wanting to apply multiple kinds of simple formatting to a single-line label (e.g.,...
0 votes

Why is Label Placement Menu Different with Additional Data Frame in ArcMap?

Use Maplex engine fixed my problem. If you use standard labeling engine, later on, when you publish it to arcgis server, you can not create custom labeling with arcgis online map viewer. By using ...
  • 1,440
2 votes
Accepted

Rotating labels based on custom CRS QGIS 3

First of all, clarify that the grid convergence is not the angle of rotation of the parallel, but that of the meridian. In most cases both lines are perpendicular and the function can be used to find ...
3 votes

Rotating labels based on custom CRS QGIS 3

Curved label along a parallel See below for variant of rotated label of a point. To create a curved label along parallels for a point layer, create a parallel through each point you want to label. You ...
  • 45.1k
0 votes
Accepted

Match label color to polygon color

@symbol_color is the answer! Thanks to @mrxsquared
  • 869

Top 50 recent answers are included