7
votes
Accepted
Working with expressions inside variables in QGIS
Interesting question, as far as I know these variables can only be static string values. But you can pass these string values to eval() to evaluate as an expression.
First store your @maptype variable ...
3
votes
Accepted
Make QGIS report use raster rather than vector images in its PDF export
Print as raster
In the print layout composer (and its equivalent for reports) you will find a number of tabs: {Item properties|Layout|Guides|Atlas}.
On the Layout tab, scroll down to the Export ...
2
votes
Accepted
QGIS atlas feature: Storing information from coverage layer in an atlas variable
There is no need to store the attributes of the coverage layer in an atlas variable, because a reference to the coverage feature of the current atlas page is stored in the @atlas_feature variable.
So ...
2
votes
QGIS print layout: Dynamic text with attributes from different layers with different geometry
Use this expression to calculate the mean value of the field value from layer points, but only for points features overlapping the current atlas feature:
array_mean (overlay_intersects ('points',"...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
print-composer × 1530qgis × 1195
pyqgis × 170
qgis-3 × 144
legend × 141
atlas × 139
printing × 107
qgis-2 × 92
layouts × 72
labeling × 67
expression × 52
export × 48
grids-graticules × 47
scale × 44
pdf × 43
attribute-table × 42
python × 37
pyqgis-3 × 32
coordinate-system × 31
scale-bar × 30
qgis-plugins × 29
mapping × 27
symbology × 24
cartography × 21
svg × 19