Portfolios — Print several layouts at once
定義
A portfolio is a set of folios. Each folio is a QGIS print layout combined with a QGIS map theme.
In Lizmap Web Client, the user chooses a portfolio and draws a point, a line or a polygon on the map. Lizmap then generates one PDF for each folio of the portfolio, centered on the drawn geometry, using the layers and styles of the map theme of the folio.
For instance, with a single click on a parcel, a user can get a location map, a cadastral map and an aerial view of this parcel, each one with its own layout and its own layers.
前提条件
At least one print layout in the QGIS project, read 印刷/ファイル出力.
At least one map theme in the QGIS project. To create your themes, follow the QGIS documentation about map themes.
ツールの設定
In the Lizmap plugin, open the Portfolios panel.
To add a portfolio:
ボタン
をクリックします。
Set the Title displayed in Lizmap Web Client.
Optionally, set a Description, HTML is supported.
Choose the Geometry the user will draw on the map:
Point,LineorPolygon.Add one or more folios. For each folio, choose:
the Layout, the QGIS print layout to use,
the Theme, the QGIS map theme to apply,
the Zoom method:
Fixed scale, the map is centered on the geometry at the given scale. This is the only method available for aPointgeometry.Best scale, the map is zoomed on the extent of the geometry. Only forLineandPolygon.Margin (%), the map is zoomed on the extent of the geometry with a margin, as a percentage. Only forLineandPolygon.
テーブル内のレイヤーを編集するには、レイヤーを選択して、
ボタンをクリックするか、行をダブルクリックします。
テーブルからレイヤーを削除するには、レイヤーを選択して、
ボタン。
レイヤーを上下に移動するには、レイヤーを選択して
または
ボタン。lizmapでも順序が変わります。
Usage in Lizmap Web Client
When at least one portfolio is configured, a Portfolios panel is available in the menu.
Choose a portfolio in the list, its description is displayed.
Draw the geometry on the map.
Click on Run to generate the PDF files, one file per folio. The name of each file contains the theme and the scale used.
Click on Deactivate to stop drawing.