Questions tagged [print-composer]

Print composer provides growing layout and printing capabilities in QGIS.

Filter by
Sorted by
Tagged with
0
votes
0answers
24 views

Export Layout out as PDF algorithm works differently in Graphic Modeller & Python

I am using QGIS 3.16.8 Hannover and facing strange issue while converting Graphic modeller to Python Script. I have build a graphic modeler which exports PDFs based on specific Print Layout using &...
0
votes
2answers
71 views

Print number of features as text in QGIS Print Composer (Atlas generator)

I have made an atlas in QGIS 3.6.3 (Noosa) of plant species distributions in two periods of time. Black dots represent distribution in the period 2000-2019 and gray squares represent distribution in ...
0
votes
3answers
61 views

Creating maps that look the same but display different data

I want to make several maps of the same area displaying different data (e.g. population, GDP, currency...) on QGIS. I want everything to be the same way in the maps (area displayed, scale, position of ...
0
votes
0answers
28 views

QGIS map window rotation shutting off callout labels

I have a QGIS map layout showing some callout labels. If I apply a map rotation in the properties it inexplicably shuts off SOME of the callouts. Does anyone know why it is doing this and if it is ...
-1
votes
1answer
39 views

Merging shapefile and raster file and export it as single PNG via PyQGIS [closed]

I have one temperature raster file and one shapefile containing country borders. I want to create a single file by merging the shapefile with the raster file and I export it as a PNG file. I want to ...
1
vote
2answers
31 views

Add raster band statistics to print layout

I would like to add raster band statistics to the print layout. I know something similar is possible to vector layers using "layer_property". Any ideas on how to achieve it on rasters or is ...
1
vote
1answer
49 views

Adding more values to legend on print composer tool of QGIS

I am creating a map with a bathymetry layer (raster) on the print composer tool of QGIS. On the legend it only appears the minimum depth and the maximum depth. Is there a way on QGIS to show more ...
0
votes
0answers
29 views

QGIS 3.20 issue with print composer - layers not aligned

I have installed QGIS 3.20 and found that when moving from the canvas to print composer all my layers have moved, and do not line up anymore.They look fine each time I go back to the main canvas, but ...
0
votes
0answers
10 views

Can't create a new print layout from project

When I save my project and go to New Print Layout and then give it a name, it gives me a blank Print Layout. I go to select my file in the Layouts and it's still empty. It was working fine an hour ago....
2
votes
1answer
37 views

QGIS Print Layouter exports only first page in PDF

I have a print layout of four A3-sized Maps showming different areas of the same QGIS-project. When I try to export them via Layout > Export as PDF ...' and check the option 'Create Geospatial PDF (...
1
vote
2answers
58 views

How to centre all QGIS composers on the main map canvas

I have a template project that will be used for many future sites and I want to automatically centre all the composer layout maps to the same centre as the main canvas. Ideally this would be done as ...
2
votes
2answers
48 views

Can individual inset maps be added to individual pages of QGIS atlas?

QGIS 3.20 on Windows 10 Pro. I am about to create a 50 page atlas via QGIS Print Layout. I wish to insert enlargements on many pages to make congested areas on those pages more readable. On a ...
2
votes
1answer
39 views

Unable to load raster image in QGIS 3.20 Print composer

I have loaded QGIS 3.20, and in print composer, I have tried to load a gif image I have used a lot in other versions, and it fails to load, just the red X through the box. I have checked 3.18 ...
4
votes
1answer
68 views

QGIS 3.18: Listing visible features in print composer

I'm trying to achieve auto-listing of features visible (ie rendered and in Map's extents) in a text field rendered as HTML. My idea is: Adding attribute's table to print composer, setting it to show ...
0
votes
0answers
26 views

How to resize attribute table on QGIS print layout

I have a attribute table which I want to print using the layout composer. From here I have three questions: How to resize the columns in the print layout? How do I set the horizontal alignment to ...
4
votes
1answer
47 views

Adding folding marks to Print Layout in QGIS

Is there any way to automatically add folding marks to Print Layouts in QGIS? I want to print maps on A0 size and need markers for folding to A4 size, like you can do in most CAD software for plans ...
4
votes
1answer
68 views

QGIS: multi column legend wrapping: how to keep layer symbols aligned horizontally?

In my legend I have one layer with a group heading and due to layout reasons I need it to be split in 2 columns: The only work around I can think of is to set heading to '' either in the layer panel ...
2
votes
0answers
35 views

PDF export from print layout is smaller than page size in QGIS

I am trying to export a map to a 1132x1132 px pdf. Here are the steps I followed: create a new print layout with a custom 1132x1132 px page size add the map and define Position and Size* properties ...
0
votes
0answers
15 views

Functions disappear with layout view on map QGIS 3.16

I'm using QGIS 3.16 LTR and MacOS Big Sur. When i'm opening a new print layout it is opening in a new tab and the original map is disappearing (turning black). I always need to close the print layout ...
2
votes
0answers
27 views

QGIS - page numbers in print layout [duplicate]

I use QGIS print layout to create atlas with many features. I am tring to find a way to show page number left, right, up and down of atlas feature. Is there any way to insert these page numbers to ...
0
votes
1answer
37 views

PyQGIS Print Layout text rotation resets on view refresh

I have created a PyQGIS script that builds a Print Layout with various text labels that are rotated to read vertically on the page. The script creates the labels and places them just fine. But upon ...
1
vote
1answer
94 views

In QGIS Atlas how to get the index and the number of features grouped/filtered by an Attribute with expression?

Using a QGIS Expression in the Layout Editor, how can one return the count of features matching a particular attribute value for an atlas feature, for example, "AREAS_Area". In this ...
6
votes
1answer
99 views

Is it possible to display all icons and labels but not cover other icons in QGIS?

I've been trying to find a way to automatically distribute icons and labels from different data sources so that they don't cover each other at any scale. The PDF will have the data showing at this ...
8
votes
1answer
95 views

Vertically and Horizontally align the labels in multi-column QGIS legends

In QGIS 3.18 (and older versions) I noticed that the first item in a multi-column legend isn't aligned with the items in other columns. I have played with the settings in the Spacing column but can't ...
7
votes
1answer
103 views

Line pattern fill missing when exporting as SVG in QGIS Print Layout

When exporting from Print Layout as a .svg-file in QGIS the line fill pattern disappears of all polygons. How can I stop this happening? The problem doesn't occur when exporting as an image file or ...
1
vote
1answer
45 views

Is there any way to get QGIS Decorations passed through to prints or layouts or QGIS2Web?

I can't see any way to have the QGIS decorations that are available to the desktop passed on to any outputs! The don't show up in layouts. They don't export to html via QGIS2web. (except the scalebar!...
2
votes
1answer
35 views

Print out centroid coordinates of a polygon in layout text box

I wanted to put the coordinates of the centre of a polygon in a text box in the print composer. When I run the expression in the labelling panel on the canvas it works, like below However, when I run ...
2
votes
0answers
58 views

QGIS 3.18.2 Print Composer/Layout map legend vanishes/goes blank when layer/theme is changed

Using the print composer/layout in QGIS 3.18.2 I have the following problem ... Starting point: I had a print layout set up with a map and legend. The map layers were set by 4 themes. The layout used ...
1
vote
1answer
35 views

Plugin to extract print layouts layer by layer

I need a plugin that lets me extract all the layers i have active in the file one by one as a print layout. So when i activate the plugin it automatically gives me png files of every layer separately ...
2
votes
1answer
41 views

I would like to sum the total area of my attribute table to reflect in the print setup [duplicate]

I have the following attribute table and I wish to show the total area in hectares seperate to my attribute table on the print setup. I currently have to add these values manually. Is there a way to ...
4
votes
1answer
38 views

Get size of a QgsLayoutItemPage in PyQGIS

I work on QGIS plugin in python, in my plugin I load several print layout in a project print layout manager. These print layouts are either A4 or A3. I would like to get the size value (A4 or A3) of ...
6
votes
2answers
102 views

Get a certain part of the project name in QGIS print composer label field?

E.g. my project is named XXXX_YY_PRZZZ. Is there a way for me to get only the ZZZ part for my label field? Maybe with @project_basename or some variables like that?
2
votes
0answers
37 views

Image size limitation in QGIS print layout using HTML code

I'm trying to make an atlas with QGIS, with one image per page. My goal is more complex so I have to use HTML widget in order to display the images. The below code works, but only if the picture is ...
3
votes
1answer
58 views

Creating table coordinates of selected feature and adding it to layout with PyQGIS

I am working on a Plugin that allows users to look for a feature in the database, select it, and then open the Layout designer with map, arrow legend and some labels. I am looking to add a table that ...
1
vote
1answer
45 views

Use attribute of all filtered features of one layer as label in the Print composer

Is it possible to filter some features in one layer and use those filtered features as labels in the Print composer of another layer? I am trying to make an atlas. I have two layers, one which has the ...
0
votes
2answers
56 views

Remove a legend entry if the layer is not in the composer map

I am working on a QGIS plugin in python. In this plugin I load two layers. These layers are polygons which represent administrative boundaries. My plugin load also several print layout in a Qgis ...
2
votes
1answer
50 views

Adapt attribute table QGIS legend from bottom

I have an attribute table controlled by Atlas on map composer from QGIS. I need to adapt the table for each map and its features but from bottom. In other words, I need to make grow the table from ...
1
vote
1answer
47 views

Filter QGIS layout legend item style by expression for min, max, median values

Summary: In the [print] Layout Composer in QGIS 3.18.1 I am trying to filter the legend styles displayed for an item that is a polygon layer styled by the "categorised renderer" by the min, ...
3
votes
1answer
79 views

QGIS 3.18.1 Print layout grids are incorrect, cannot show them in DMS format

Normally, in ArcMap Print layout, enabling the grids and specifying the intervals would show the curved grids as in the following map: But in QGIS, enabling the grids (1) does not have an option of ...
5
votes
1answer
46 views

Frame and coordinates disappear when printing in QGIS

I'm trying to print my map in QGIS 3.18.0 including a zebra frame. It looks great in the Print layout but when I print it, the zebra frame and coordinates are not there. Is there a setting or ...
1
vote
1answer
141 views

Automating Print layout with export map canvas as image using PyQGIS

I would like to automate two steps in my QGIS Print Layout by using PyQGIS I have my print layout already created, and I was trying to open it by this code: composerTitle = 'Strand3' project = ...
2
votes
1answer
121 views

QGIS print layout - map refresh not working

I would like to synchronize my QGIS map with the printing layout map. According to the tutorial here: https://docs.qgis.org/3.4/en/docs/training_manual/map_composer/map_composer.html I can refresh my ...
2
votes
2answers
69 views

Remove LayoutItemLegend entry PyQGIS

I work on QGIS Plugin in python. This plugin load several Print layout in a QGIS project. These print layout contain a legend. I would like to be able to remove a layer from the composer legend ...
2
votes
1answer
43 views

Set extent of Layout Item Map

I work on a QGIS Plugin in python. This plugin import in QGIS project several print layout (A4/A3/Landscape/Portait format) from a directoty of my laptop to the layout manager. The plugin add also a ...
0
votes
1answer
27 views

Print Composer does not show Item Options

I'm rather new to QGIS, the version I have is 3.16. I want to create a print layout, but when I open the Print Composer panel the "Item Options" window is empty. No way to choose the size of ...
1
vote
1answer
36 views

QGIS Layout: Filter Nth Row in Attribute Table

I have an attribute table in a Qgis Layout and only want to see the first line. Can I do that? It's a workaround for overlapping labels. I want an attribute table with the 1. Line, then a table with ...
1
vote
1answer
51 views

QGIS3 - Simple automation of QGIS output - turn values on/off & print out dozens of maps

I need to make a series of maps of a single location and make a single map for each value in the layer. I have a layout I've created with borders, texts, north arrow, and everything, with the map, and ...
3
votes
2answers
187 views

How to turn off QGIS legend band number by default?

QGIS automatically generates legends for single band rasters in the print composer legend window. In the latest releases, it appears that the legend automatically creates a "Band" title in ...
1
vote
0answers
50 views

How to update attribute table layout in QGIS Print Composer?

I have selected some columns from attribute table in print composer linked to layer A. But when I open my layout in another project with that same layer A, it doesn't refresh/update and I have to ...
2
votes
2answers
53 views

How to bring feature selection into print composer

I have a PostGIS multipolygon layer in the map view and want to bring the feature selection into the print composer. Also, only the label for the selected feature should be visible in the map I want ...

1
2 3 4 5
25