Questions tagged [print-composer]

Print composer provides growing layout and printing capabilities in QGIS.

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

QGIS empty window Print Layout and other options on MAC OS 11.6 Big Sur

I'm working on QGIS (tried both version 3.16 and 3.22) and I'm experiencing problems when I need to do some operations with creating a Print Layout or selecting File format. When I click on "New ...
1
vote
0answers
31 views

Move labels in the Layout view of QGIS

Is it possible to move the labels in a fixed Layout (not in the MAP frame using the Label Toolbar)? Even with adding in advanced label functionality (all mapping programs) don't always get the labels ...
0
votes
0answers
20 views

QGIS - YXZ Image Changes during Export to .PDF -- WHY?

Hoping someone can educate me here. My XYZ Tile image changes during the export process from Print Layout to .PDF, .JPEG and .PNG (see screenshots). Why?? It might not seem like a big deal but I need ...
0
votes
0answers
11 views

Turn 'Map Redraw' off in QGIS print layout

Sometimes the print layout takes a long time to redraw if there's complex symbology and labelling in the data being shown. When editing the non map elements like the legend, scale bar, text ...
3
votes
1answer
19 views

Gradients Changed on Export in QGIS when Coord Mode set to Viewport

I made a map in QGIS that includes a couple different gradients. Here you can see an indicator map that has a gradient fill enabled. (This image is from the print layout/composer.) (Here is the ...
1
vote
0answers
21 views

Exporting PDF with more image compression options

I am trying to reduce the size of a PDF - but there is only two options, Lossy (JPEG) or Lossless: However in other PDF printing software there are more algorithms to reduce the file size, below is ...
4
votes
2answers
84 views

Turning labels off within polygon in QGIS Atlas

Is there a setting to turn off labels within a polygon in an Atlas? In the example below I don't want labels to show in the grey inset area. I have tried the new clipping functionality All the label ...
0
votes
0answers
22 views

In an atlas is it possible to cover the features that are in other AOI's and turn off labels? [duplicate]

In a map series we have 1:15k for the regional map and 1:5k for a town map within it. When the regional map is printed I want to cover the section with the town and label it with the index number as ...
6
votes
1answer
67 views

Move inset map in QGIS based on defined anchor point

In an Atlas the content of some maps are best suited for the inset to be on the Left bottom, on others it's the Right bottom of the map. If we add the xy of this point to the table that is used to ...
1
vote
1answer
40 views

In QGIS Atlas how can we get the scale bar to a fixed width that works with different scales?

Following on from Setting Atlas scale and scale bar for each map to round number using QGIS When we set the scale bar to work correctly at one scale and then the atlas cycles through other scales you ...
0
votes
0answers
9 views

Export several layouts as an atlas

I have a series of layouts, all of them from the same area of study but each one representing different attributes. My question is if I could create a way to export the series of layouts (each ...
1
vote
0answers
52 views

Dynamic height value from a layoutItem using a PyQGIS function in QGIS

I'm trying to make a function that allows me to get the dynamic height of a LayoutItem in the print composer. I'm working in QGIS 3.16. Following code works well to get an item height, when I run it ...
1
vote
1answer
32 views

Connecting layout text boxes to item before it in QGIS 3

I have an atlas layout in QGIS 3.16 where input data can vary in character length. Therefore I made a override of box height based on text length. The problem I ran into, is that if the text is longer ...
0
votes
0answers
34 views

Changing origin in QGIS projection

My issue is that the QGIS print composer cannot print images that have coordinates passing beyond 180 degree in WGS84 (since it's going from -180 to 180 degree). The area of 180 degree is in the ...
1
vote
0answers
22 views

Automatic update a map in a QGIS layout template to current extent from QGIS canvas

I'm wondering if there is a way - or a workaround - where a map element in a layout template can be defined to automatically update to current extent when a layout template is used to create a layout. ...
2
votes
1answer
78 views

It does not render the project layers in the Qgis canvas nor in the Layout exported as pdf

I'm writing a standalone script where I create a project, load layers, style them, call another scritp (.py) with functions to add a layer to the OpenStreetMap background and set the layout to export. ...
4
votes
2answers
57 views

Replicating ArcMap legend in QGIS 3

I am trying to replicate this ArcMap legend in QGIS but i can't seem to get it right. I am stuck in print layout and using QGIS 3. I have the title 'LEGEND' but i do not know how to categorize the ...
2
votes
2answers
47 views

Independently editable report/atlas pages using QGIS

In QGIS 3.16. I've created an atlas layout based on a polygon layer. There is one page per feature, with various objects in it including maps, labels, html objects, and images for that feature. What ...
0
votes
1answer
29 views

Crop space in Print Layout in QGIS [duplicate]

I want to crop spaces in the print layout in QGIS. How do I manage this?
2
votes
0answers
33 views

Is there a way to change the shapefile being used in exportPdf() function?

I'm using this function to export layouts and I want to know if it's possible to switch the shapefiles(.shp) being used in the Atlas project for other ones before the function actually exports the ...
0
votes
0answers
25 views

How is the standard view generated when opening Layout editor in QGIS?

When opening the layout editor in QGIS3, the 21x29cm page with a map and legend on it is shown approximately 1x2 cm big on a vast canvas of grey nothing (zoom is 7.2% then), regardless of how I left ...
2
votes
1answer
58 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 ...
3
votes
0answers
33 views

How to get a QGIS layout item's position in an expression

I have a Marker item that I placed somewhere in a Print Layout. It has the id 'marker'. How can I query its position in page coordinates in an expression? Using item_variables('marker') I only get its ...
3
votes
1answer
127 views

Making custom widget visible as layout element for printing in QGIS with PyQGIS

I need to make a widget visible as a layout element for printing, for a QGIS plugin I am developing. Which of the classes do I need to extend to do this? After some research I think I begin to discern ...
1
vote
1answer
57 views

Automating QGIS layout export by looping on project layers

I've a QGIS project with several vector layers that I need to be represented in a layout I've prepared one by one. I can manually make visible and select one layer at a time, so that the layout after ...
1
vote
1answer
26 views

Resize frame to image size problem

I have an image the size of an A4 that I'm trying to place in a layout print in QGIS. This is the image in an editing software. As you can see it has 210mm in width. Here is the same image in QGIS ...
2
votes
1answer
35 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 ...
2
votes
1answer
34 views

"Eval Error" when selectively rendering raster layers in QGIS Atlas

Using the Atlas feature in the QGIS print composer, it is possible to use rule-based symbology to show/hide components of vector layers as required or defined by the Atlas? I have multiple pages, ...
2
votes
3answers
69 views

Label in QGIS layout returns zero but preview displays correct value

I am new to QGIS layout. I would like to display a label showing the proportion of table values meeting set criteria. Please see below: round((count(score,score<=3)/count(score))*100,2)||'%' In ...
2
votes
0answers
44 views

Inserting copyright symbol in label item in QGIS Print Composer

I have a label item in a print composer map layout. In there I'd like to insert a copyright symbol (red cross). Is there a shortcut or workaround?
0
votes
0answers
50 views

PyQGIS 3.16 Print Layout Map Item does not render

I am trying to create a print layout with a map item representing certain layers of my project. For some reason, the map item is created and the code runs correctly, creating de layout and adding the ...
1
vote
0answers
43 views

Generating standalone file with QGIS

I need to share a project including all feature including images, styles and print settings. The user that receive this project should be able to print a paper like the .pdf I generate from my PC. I ...
4
votes
1answer
99 views

QGIS Stand alone python script terminating problem

I want to write Python standalone QGIS script to layout export and my code is as follows: import os from qgis.core import ( QgsVectorLayer,QgsProject, QgsWkbTypes,QgsVectorLayerExporter,...
2
votes
1answer
34 views

The scale bar shows a wrong scale

Adding a scale bar to my layout shows an incorrect scale (see image). I am using EPSG:2097. What do I need to do to make the scale bar show the correct scale?
0
votes
1answer
33 views

Generating a transferable QGIS report template for clients

The company I work for is aiming to provide feature reports to clients, containing several fields on data collection information and feature characteristics/values such as location, height/width and ...
1
vote
1answer
33 views

Autogenerate a table of contents in QGIS Print Composer

I am using the Print Composer to create a report. Currently all pages in the report, except the front page, is generated by the Atlas feature. I would like a table of contents on the bottom part of ...
0
votes
0answers
37 views

Python code not reliable in layout with atlas

I use QGIS 3.20. I created a Python function the changes the extents of a map in a layout. The main map in the layout is linked to an atlas. I run the function in a Text item (because I do not know ...
5
votes
2answers
112 views

Create (autogenerate) report in QGIS, with a map for each type of feature

Lets say I have a layer called trees, with an attribute 'species'. The set of species in my dataset is quite limited, lets say: beech, birch, oak and elm. I want to create a report with a page for ...
3
votes
1answer
78 views

Automatically number only features visible in extent in QGIS

I would like to add a number label only to features visible in the Print layout extent. For example, I have a layer with building footprints, and I would like to itemize buildings with a simple ...
0
votes
0answers
22 views

Creating Grid Layout with Letters and Numbers instead of coordinates using QGIS [duplicate]

Is there a possibility to create a grid layout in QGIS that does not section the map by coordinates but letters on the vertical axis and numbers on the horizontal axis? For better understanding, I ...
0
votes
0answers
26 views

Why do I get portions of my XYZ tile map appearing as white space when I export a map in QGIS?

This doesn't always happen, but it's more often than not. I've tried deleting and re-creating the map item, saving the image as different formats, changing the dpi, re-loading the XYZ tile as a layer. ...
1
vote
1answer
28 views

AutoCAD DWG header to QGIS Layout

We would like to implement a header into QGIS layouts. Problem is that the header we received is currently drawn/prepared in .dwg format. Is there any quick solution to avoid redrawing of received (....
2
votes
2answers
196 views

Dynamic breaks of legend text in QGIS Atlas

I want to wrap legend text after a certain amount of characters depending on the width (variable) of the legend item. I already tried the answer given at Wrapping legend text in QGIS MapComposer at ...
3
votes
1answer
85 views

"No feature was found..." when making custom grid coordinate format

I'm in QGIS layouts trying to make a custom grid coordinate format but get the error: No feature was found on this layer to evaluate the expression. This error does not appear if I have a single ...
3
votes
1answer
84 views

Locking layer styles in QGIS Print Layout using PyQGIS

I try to make a print-layout consisting of 2 maps-items. I only use one layer, but I want to picture it in different styles. First, as it is when loaded, and on the second map in another style (which ...
2
votes
1answer
90 views

QGIS Custom Style XYZ Google maps label is too small or blurry for high resolution printing

I am trying to print a map with one of the layer I use Google Maps data for street name label by using QGIS, since Google has more detail and complete street name label than OSM, but the problem is ...
2
votes
1answer
40 views

Making legend with singleband pseudocolor in QGIS

I have a continuous raster with values from around 0 to around 1. I used these parameters on the symbology tab: When I head to the print layout and add a legend to my map, it displays like this (the ...
1
vote
0answers
25 views

Map parts turn white when exporting image in QGIS

When I try and export an image or map now from Print Layout, instead of creating a clean image, random white blocks appear over the image, as seen in image attached. Any thoughts as to what is ...
7
votes
1answer
257 views

Using two different maps on one atlas page

I can generate an atlas for 26 different map extents (numbered 1-26) and put them on 26 different pages. I want to put two different maps from the series on the one page i.e. map extents 1 + 2 on page ...
1
vote
2answers
94 views

QGIS 'Powers of Ten' - How to output a series of maps with x1, x10, x100 scale?

I'm pretty new to QGIS. I'm trying to output a series of maps that are at the scale of 10km, 100km, 1000km. I thought this would be a really easy task but for some reason really struggling with it. I ...

1
2 3 4 5
26