Questions tagged [print-composer]

Print composer provides growing layout and printing capabilities in QGIS.

Filter by
Sorted by
Tagged with
3 votes
1 answer
48 views

PyQGIS: moving legend with changed reference point

I am trying to create a print layout using PyQGIS. As part of that, I want to move my legend to the bottom right corner of the map, using the lower right corner of the legend as the reference point. ...
11 votes
2 answers
7k views

Loading composer from template and generating atlas using PyQGIS

I am trying to build a plugin to load a print composer from file, generate an atlas and export to image. So far I have been successful in loading the template and exporting it to image. I have been ...
0 votes
0 answers
14 views

print layout for map bug

I want to create a map with legend and so on but when I actually press New print layout and then I add a map I have a blank (see img attached). Is anyone does know why? enter image description here
2 votes
2 answers
652 views

Fixing distribution of items across columns of QGIS Legend

This question relates to a previous question I posted as QGIS Legend - distribution of items across columns I've created a map and in print composer I've added a legend with ten items, which I want to ...
2 votes
0 answers
16 views

Text based template language/engine for generating a report from a QGIS project?

I know of Print Composer, Print Layout, Atlas, etc. but I would prefer something quite different. I want to write a template in pure text, similar to using Latex for a report, using Markdown for ...
4 votes
2 answers
1k views

Export QGIS Print Composer PDF with searchable text labels

I have point features with text labels on my map. When I export as PDF, I can search elements that were constructed in the print composer, like the legend, scale bar, etc. However, labels of features ...
1 vote
1 answer
27 views

QGIS Print Layout expression for selected features in project

I have a selected feature in the project that is symbolised differently. I can see it in the print layout, but the is_selected expression returns a false. I need to label only this feature in a text ...
6 votes
1 answer
72 views

Saving a map from a new print layout pane in QGIS

I have created a map with different layers, labels, scale bars, a north arrow, a legend, an overview pane, and other modifications. It took a long time to produce this map within the 'New Print Layout'...
6 votes
1 answer
609 views

Styling currently used feature of Coverage layer of Atlas

I am looking for a way to define a different style just for the currently used feature of the Coverage layer of Atlas. The image below will hopefully make it clearer: the left side is how my ...
1 vote
1 answer
36 views

Splitting and exporting quadrant of big map [closed]

I'm quite new to Python and QGIS (and to PyQGIS). I have a very big map, made of many layers, and a fishnet overlaying it. I would like to clip and export the map for each quadrant (or maybe just ...
5 votes
2 answers
5k views

Setting up QGIS print composer options from Python console [closed]

If I have a print composer called "ABC", I would like to "tell" its composer that I would like to update "Map 0" to simulate the "set to map canvas extent" ...
1 vote
0 answers
33 views

QGIS Print composer bitmaps everything

I have been exporting maps as PDFs for some time now, and now, all of a sudden, the Printcomposer "converts" everything (except the North arrow and the scale bar) to a single bitmap, ...
2 votes
1 answer
29 views

"array_agg" function for label in atlas by inserting an expression in QGIS

I want to put a label on the atlas, to know which points correspond to each student for a data survey. That is to show me for each student a list like this --> [252, 254, 271] In the attributes ...
3 votes
1 answer
49 views

Adjusting size of North Arrow with rotation in QGIS Print Layout

I'm trying to fix the size of my north arrow with 20mm x 20mm. My problem is when my map has a rotation, the arrow is smaller (due to the inner box). So I'm trying to set the size of my box with: 20*(...
4 votes
2 answers
206 views

Drawing lines that overlap inside the perimeter using QGIS

I want to make a map, with two plots. I want to draw them only with a line along the perimeter of each one, with different colour. My problem is that when the lines overlap, only one colour is showed. ...
3 votes
1 answer
166 views

Categorized symbology with transparency including raster basemap?

I'd like to include the background map in legend symbols, rendered under transparent fill. For matters of better representation and easier orientation, it would be helpful if the symbols in the ...
2 votes
1 answer
45 views

Returning Print Layout to its default state in QGIS

When I first open Print Layout it has a set of panels on the right hand side - "Item Properties", "Atlas Generation", "Composition". For better or worse, these are easily ...
3 votes
1 answer
71 views

QGIS Report builder: Are there atlas-like syntaxes (like "@atlas_pagename" etc)?

I'm just starting to use the Report-Feature in QGIS 3.20, with which I want to combine both single maps and altas-like mapsets in one step. In the Atlas-Layout-Feature, I am able to use functions like ...
4 votes
1 answer
154 views

cropToContents not working properly in PyQGIS

I have a template qpt which I read via pyqgis script to export multiple maps as png. I have a map and a legend in qpt file and I chose "Only show items inside linked map" so the legend shows ...
1 vote
1 answer
50 views

Locking a WMS layer in QGIS

When I switch between layout view and print composer view, the generation of my WMS layer appears to change, specifically, the text is barely readable. I assume the call for the WMS layer is a larger ...
5 votes
1 answer
232 views

Set minimum scale on QGis Print composer (atlas)

I have a template ready to be printed on Print composer tool of Qgis. I need to fix a minimum scale while figures are represented one by one (1:10000) I would like to combine the scale tool controled ...
2 votes
1 answer
72 views

Print Composer: Finder window disappearing when pressing save button?

I recently updated to 2.6.1 (using mac OS 10.10.1). When I'm in print composer, and I try to save my map (or open a new file, or do anything that brings up a finder window), the window disappears ...
2 votes
1 answer
34 views

Embed Font Awesome icons in QGIS layout HTML Frame

I'd like to embed some Font Awesome social media icons into a QGIS 3.16 layout, using the "HTML Frame" element ("Add HTML" tool). How would I go about either: Embedding web ...
2 votes
1 answer
24 views

Timestamp in Layout Manager

I have temporally varying data that I am trying to show as a map in the Layout Manager, which I have done successfully as shown in the left. The intent is not to create a dynamic video, but simply ...
7 votes
4 answers
2k views

Synchronizing QGIS Print Composer with map view?

I want to create a template using the "Print Composer" from my layers loaded in QGIS 2.18.7 (Las Palmas). The problem is that it seems the map element is not "synchronized" with the map view. For ...
2 votes
1 answer
65 views

Show multiple layers in a QGIS Atlas using 'Lock layers' with an attribute field

I'm wondering if it is possible to use an attribute field in a QGIS Atlas coverage layer to show multiple map layers. I know this is possible with one layer by having the layer's name in the attribute ...
0 votes
1 answer
131 views

QGIS 3.10 Page settings won't accept changes of page size A3

What can I do to change the page layout to A3 under QGIS FreeBSD 12 . The settings for layout_page_width/ layout_page_height are not enabled for editing, and page settings to A3 for from the printer ...
1 vote
1 answer
52 views

Portrait and landscape orientation layout in QGIS [closed]

I want to print portrait and landscape maps on a single page. Is there any expression to do that?
0 votes
0 answers
37 views

Modify label size of the QGIS basemaps at layout map printing

I am trying to print out multiple maps in QGIS 3. Each map contains a few points, and should have context information from the basemap such as city names/road names, etc. somehow helpful to find ...
2 votes
1 answer
132 views

Option to create north arrow missing in QGIS map layout (v 3.4.3)

I am giving a QGIS course. Both of my students, working with QGIS version 3.4.3 (Madeira), do not have the option to add a north arrow to their map canvas in the map layout. I cannot figure out why ...
1 vote
0 answers
13 views

Overlaps between markers and labels

I've created an Atlas in which I use a duplicate of a polygonal layer. The father is showed as polygonal coverage, the child is showed as marker on polygon's centroid using Centroid Fill in Symbol. I'...
11 votes
2 answers
323 views

How to prevent label rendering in bleed space in QGIS composer?

I'm making maps for a book where maps run to the edge of the page. The printer has advised a 3mm bleed space around images, therefore if my page is 127x177 mm, images should be 133x183 mm. This bleed ...
2 votes
1 answer
128 views

Seeking Multiprint plugin for QGIS 3?

I'm working on QGIS3 and I'm looking for a plugin to print multicomposers at once. I know that in QGIS2 there is a plugin (multiprint) that does this, but for QGIS3, I can not find anything similar. ...
4 votes
2 answers
315 views

Cannot change legend shape in print layout of QGIS

I am using QGIS 3.x. I would like to customize the legend in my print layout. Unfortunately I am quite restricted, as I can't change my shape appearance. According to the link below: https://docs.qgis....
0 votes
0 answers
51 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 ...
1 vote
3 answers
53 views

Categorising symbology using more than one feature

In my line of work I receive excel spreadsheets with records of notable/protected species in a particular area. I would like to style them so that the shape denotes their Taxon Group, and their colour ...
3 votes
1 answer
100 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 ...
16 votes
4 answers
5k views

Setting composer layout units to inches in QGIS

I open a new composer and select ANSI A for my paper. The notation after the name is "Letter; 8.5inx11in", but the width and height are displayed in mm, and the units selection is grayed out, so I can'...
0 votes
1 answer
99 views

Create map layout with extent and page size same as a given feature

I want to create print layouts from a QGIS project, each highlighting some region of interest. For each of these regions of interest I have a polygon in a vector layer. So my desired workflow would be:...
4 votes
1 answer
106 views

Mirroring a map item in QGIS Print Layouts

Is it possible to mirror a Map Item in a Print Layout and if so, how? By mirroring I do not mean a 180° rotation but an actual mirroring e.g. along the horizontal or vertical axis so e. g. east and ...
1 vote
0 answers
24 views

How to print numbers per categories of a layer in QGIS Atlas generator?

What I want to achieve is based pretty much on this solution but with the sum and a category text per category. So instead of writing [% aggregate( 'layer','sum',"category_txt", filter:=&...
1 vote
1 answer
16 views

How to lock a particular band from multiband raster layer for the map item in the QGIS layout

I have the multiband raster of time-series data and created a layout with multiple map items. I set the the particular raster band for a particular map item and Lock layers. However, when I export ...
5 votes
1 answer
119 views

QGIS HTML labels only for objects visible on map

I'm printing QR-code that is generated on the fly in QGIS Print Composer. The URL to get the QR-code ist stored in a PostgreSQL database in the attribute-field "url". <img src = "[% &...
3 votes
1 answer
127 views

Apply expression to synchronize multiple map extents in QGIS 3 layout using PyQGIS

I am using the following code to make a map with multiple map items. I would like to add the synchronization of the maps extents. How do you apply an expression to the min/max extents of a map item on ...
1 vote
0 answers
49 views

QGIS write in attribute table while mouse clicking [closed]

I want to draw a track in QGIS with mouse-click to use it inside the print composer(atlas generation). The best way to do this for me is too click on the screen and the Python script in the background ...
3 votes
0 answers
39 views

Automation of attribution data in print layout

I am trying to automate the addition of attribution data in print composer / layout manager for multiple layers contained in a project (using QGIS 3.16). The aim is to present all attribution data as ...
4 votes
2 answers
1k views

PDF in CMYK or RGB color space

In QGIS 2.14, in print composer I can save my project as a PDF file. There is no controls of the color space in which colors are specified in the output file. It will be very useful to have a choice ...
6 votes
3 answers
3k views

PyQGIS - remove layer from legend

I'm creating a simple print layout with Python. I've created a legend but I want to remove a few items from it. Here is my code to create a blank Print Layout called "LayoutWithLegend" and add a ...
2 votes
1 answer
108 views

Bad positions of items in saved template

I work with QGIS 3.8 I saved project with print layout which looks good even if I open it again. Also I saved template of it - but when I create a new layout and open that saved template - it is all ...

1
2 3 4 5
27