5
votes
Defining extent to limit labeled area in QGIS
You can set the data defined "Show label" in the "Rendering" category with the expression intersects(layer_property('smaller_layer', 'extent'), $geometry) to do this.
Without ...
5
votes
Accepted
Defining extent to limit labeled area in QGIS
You can use Rule-based labeling with this expression as the rule filter
within(
$geometry,
layer_property('raster', 'extent')
)
5
votes
Label placement with callouts in QGIS
Regarding point 3: If your intention was to use a geometry generator for the symbol to make it behave like a polygon in terms of label settings, that won't work. You need to use the geometry ...
3
votes
Accepted
Using label placement via PyQGIS
The QgsVectorLayer class has no method like placement. However, the QgsPalLayerSettings does.
I suppose you are trying to apply this LabelPlacement mode.
Just add this settings.placement = Qgis....
1
vote
Create multiple callout lines from a single label
Create a multi-point layer:
Then, in this order:
define your label style,
move the labels
select Draw lines to all feature parts:
Result:
This is somewhat trick, as it seems not all multi-parts ...
1
vote
Changing font size of all labels in annotated attribute table in ArcGIS Pro to be one size
Another option is to access the Symbology of the Annotation layer. Under "Symbol Substitution" > double-click the grey box in "Substitute symbols in collection" > then ...
1
vote
QGIS data defined labelling using attribute fields in shapefile
I found the answer myself.
My overall setting for the labelling of the line objects was parallel labelling which requires anchor settings in order to determine where on the lines the labels should be ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
labeling × 2291qgis × 1090
arcgis-desktop × 528
arcmap × 252
qgis-3 × 138
expression × 134
symbology × 99
python-parser × 89
arcpy × 71
pyqgis × 71
arcgis-10.0 × 68
arcgis-pro × 67
print-composer × 67
maplex × 63
annotation × 62
geoserver × 61
arcgis-10.1 × 60
arcgis-10.2 × 59
polygon × 56
python × 55
vbscript × 55
qgis-2 × 49
style × 47
arcgis-10.3 × 46
line × 44