Questions tagged [print-composer]

Print composer provides growing layout and printing capabilities in QGIS.

Filter by
Sorted by
Tagged with
1
vote
1answer
14 views

How to Access the Current Value of the Scale Factor of a Map as a Variable (eg $map_scale) in Print Layouts in QGIS

Does anybody know how to access the current value of the scale factor of a map as a variable (eg $map_scale) in print layouts in QGIS? I'd love to put the scale factor in my maps...
4
votes
1answer
32 views

QGIS Attribute Table on print layout not sorting

I've added in an attribute table to a print layout and am trying to sort numerically ascending using Plot Order For some reason it doesn't change order whatever field I use to sort the items in the ...
1
vote
0answers
18 views

Position of a map element depending on the position of another map element

In my layout, the legend is placed between other elements. The scale bar is located above the legend and an overview map below it. You can see it in the screenshot below. The legend is expanded or ...
0
votes
0answers
20 views

QGIS Print Composer doesn't save layout of attribute box

I've added a square map to a landscape page and to the side of it I have a multi column index of street names. All is good with how it looks. I use the "Extend to Next Page" option for the ...
0
votes
0answers
17 views

QGIS 3.10 Layout Manager not printing Google Satellite background

I am trying to compose a layout with Google Satellite as background. I am trying to add such background both with XYZ tiles utility and with QuickMap Services plugin. In both cases the layer is ...
1
vote
0answers
17 views

Geometry Generator and Zonal Statistics

I am trying to compute population affected by various distances, during earthquake events. The earthquake point events update every minute and I need to find a way how to create automatic buffers and ...
5
votes
2answers
48 views

Map extent matching permanently main canvas extent

Refreshing the map extent on QGIS's composer requires to click on Set map extent to match main canvas extent I was wondering if there was a possibility to have a map extent (in the composer) that ...
1
vote
1answer
81 views

QGIS: create layout with one map its attribute table per feature

In QGIS I am trying to create a survey report with a map atlas so that they are both on single A4 page showing the attribute table per feature (with field headings) with a corresponding map of said ...
0
votes
1answer
35 views

Export QGIS print layout to PDF from script or command line [duplicate]

The "GUI way" of exporting a map to a PDF in QGIS's layout manager is known to be Layout -> Export as PDF .... I wonder if there is any way to do this the CLI way. Either from a python ...
2
votes
1answer
55 views

Displaying label outside canvas/map extend in QGIS

The first picture shows my map with cadastre (black lines), points with label (orange squares/ red numbers) and a printframe (blue rectangle). The second picture shows what I want in print layout. It ...
1
vote
2answers
29 views

QGIS print layout labels size respective to polygon shape

I am working with a tax lot shapefile with attributes such as ownership, addresses, account numbers, etc. I am trying to create a map with the ownership name of each polygon. My problem is that some ...
0
votes
0answers
25 views

I style points in QGIS 3.10.2 with two different attributes BUT the legend symbol is not visable in Layout composer

I have a map that I want to show points by colour using one category and size by another. I have tried to follow the instructions here: https://docs.qgis.org/3.10/en/docs/user_manual/...
0
votes
0answers
27 views

Best way to credit MapTiler and OpenStreetMap in layout manager in QGIS

I want to use the MapTiler vector tiles plugin and their awesome maps as basemap for some maps. I'm no super experienced doing this and that's why I wondered what the best way is to credit them when ...
2
votes
1answer
62 views

Centering the map in print composer around a feature (QGIS)

I have to frequently generate the same 15 maps for work, same data each time (mostly) but at different locations for each project. Is there way that the print composer could actually auto-center ...
1
vote
1answer
24 views

Change QGIS 3 shrotcut keys for layout view / print composer

I wanted to change the keyboard shortcuts in the QGIS 3 layout view / print composer, but I cannot find any buttons from this section, for example: "New layout - Ctrl + N". How to change it?
3
votes
1answer
78 views

Scale bar in QGIS shows incorrect measurements

I am mapping change in share of land used for agricultural use by nation. For some reason when I add the scale bar it displays incorrect measurements (see screenshot attached. I am pretty sure the ...
6
votes
3answers
196 views

QGIS same print layout for multiple features of a layer?

I have a layer containing hundreds of line-features, which represent flight-tracks of different bird species. The different species are defined by a column species, containing for example values like ...
0
votes
0answers
12 views

QGIS Layout: Script to create layouts based on “paper format” based paper format template

Currently we have two or some layouts for two specific paper formats (A3 en A0), these templates have some special settings, where they use some system variables including some variables in specific ...
0
votes
0answers
20 views

Print Composer: How to use Print Composer Atlas to swap between columns of linked data

I have a map with an openstreetmap layer and a point-layer, in which linked data (rows of a csv-file) is classified in 5 classes (the values are between 1 and 100). The linked data (csv-file) looks ...
1
vote
1answer
33 views

Wrapping legend text in QGIS MapComposer at character count

I want to wrap legend text after a certain amount of characters. Is there an automatic way to do that? I don't want to enter a character (e.g. *) for each line as described in this post, that is too ...
3
votes
1answer
53 views

Access object size from field calculator in print layout

I am creating a print layout in QGIS. I created a rectangle and I would like to fill it with a line pattern, in such a way that there are exactly five repetitions of the pattern through its height. ...
0
votes
0answers
11 views

QGIS Print composer: Hiding locked Items in the Item Property items menu (not in in the layout itself) or putting another safeguard on it

To make sure certain items cannot be worked on in layout (not being clicked on and edited) they are set to locked. While at first this would safeguard certain text and labels, for other people that ...
1
vote
1answer
54 views

QGIS print layout: Pulling the name of the map theme from table

Currently I have a table of layout names, that are now linked to some layout template to pull the supplement nr, titel of the map and the sourc(for example AGIV, DOV, etc.) This I have done by just ...
0
votes
0answers
56 views

Use PyQGIS to make grid on a vector file

I am new to Python and I am using the Python console in QGIS 3.10 to make the coordinate grid on a vector layer. I had lots of vector files which are basically square shaped of 500 meters but all are ...
0
votes
0answers
40 views

QGIS Print layout: Making a Slider to create a number value

We currently have a QGIS template to deliver to a client,the thing is we are locking some items to make sure they are not edited. However some things like the Attachment number need to edited. Of ...
2
votes
0answers
63 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....
1
vote
0answers
22 views

QGIS Layout Print Composer: getting the height (etc.) variable of a certain layout item

Currently I am drawing two polygons that are supposed to be the "shadow" of legend since apparently there is no shadow on frame option. Yes this question is related to this one QGIS print ...
1
vote
0answers
29 views

QGIS print layout: creating a shadow arroud a frame for legend at only specific sides

Currently I am trying to build a drop shadow for two specific sides of legend, the thing is I do not seem to find the option for this anywhere in the item menu of the legend. Not to mention it has to ...
1
vote
0answers
36 views

Map orientation along parallels

I'm trying to make a precision topology map in QGIS 3.14 where my map's corners are defined by geographic coords: this means it should have the same range of degrees on top as on the bottom, and same ...
1
vote
1answer
34 views

Is there a way to display SVG Symbols in an Attribute Table in a Print Layout?

I'm working on a trail map that contains both hiking and mountain biking trails. In the Attribute Table for the Trails, I'd like to have a column that displays a bicycle SVG if mountain biking is ...
1
vote
0answers
28 views

Using .qpt file in graphical modeler

I am trying to create a project and to make maps in that I have an specific template which is stored as a .qpt file. Now I want the data frames in the template to be changed using the Python code so ...
0
votes
1answer
35 views

Changing layout output DPI and dimensions using QGIS Python

I would like to use Python to change the DPI of my map image files, I am not sure where in my code I need to add this line. from qgis.core import QgsProject from qgis.core import QgsPrintLayout from ...
1
vote
1answer
24 views

QGIS: using non-square SVG

I am using QGIS 3.10 and would like to visualise my data using a custom svg whose source code is: <svg enable-background="new 0 0 175 375" height="375" viewBox="0 0 175 375&...
0
votes
0answers
17 views

Missing WMS legend graphic when exporting pdf using PyQGIS

I'm developing a PyQGIS processing script to automatically load some WMS layers and export them as part of a pdf map. I import the layout template from a file, which has the QgsLayoutItemLegend ...
2
votes
0answers
29 views

QGIS Layout: Putting all your maps in your layouts on one favorite location at once

Currently I am making a project template that is meant to have a lot of map layouts. Potentialy this will lead to more than 30 maps that can be created (not all will be used) but they are focused on ...
4
votes
0answers
50 views

QGIS Layout: Expressing name of the map theme in a label

I am looking for the exact expression/code to make sure I can express the name of the map theme in label in my QGIS layout manager. The reason why is because I have a template with some variables that ...
0
votes
0answers
20 views

QGIS 3.10 (composer) - Legend position changes when exporting the map

I know the question is quite old, since it was first asked here : QGIS map composer changing legend position when exporting atlas as images and here : QGIS composer changing legend position when ...
1
vote
1answer
30 views

QGIS Layout: Locking the scale of loaded map even though the location changes

Curently I have made some templates of layouts where there just needs to be set the map theme and the location that can be panned to a "favorite" location. The problem annoyance is of course ...
1
vote
0answers
18 views

Drawing appropriately coordinate grids [duplicate]

I am having an issue while trying to show the coordinates in the print layout in QGIS. While the coordinate format is in decimal and suffix, it is ok. I need the format in degree, minutes, and suffix....
0
votes
0answers
18 views

QGIS3: Automating making figures for all raster layers in a group

I'm using QGIS 3.14 and I have a group ("Constant Climate" in the example") containing several raster layers, and I have created a Layout with the Print Composer. Now I would like to ...
1
vote
1answer
38 views

Adding bbox of my map with Expression Builder into text field

I was commissioned to create a simple print layout. The basic-layout is very simple, it just contains one map with OopenStreetMap-layer. I want to add the Xmin, Xmax, Ymin and Ymax of this map (like ...
2
votes
0answers
24 views

Search and replace in print composer of QGIS

I made a print layout with servales pages with the QGIS print composer and added some text to the layout, like the project name etc. Is there a fast way to change the project name in all pages? Like a ...
1
vote
1answer
65 views

Getting the size of a QgsLayoutItem

I am facing a problem with the Layout API while implementing a plugin for QGIS 3. I created a layout template , which contains different elements like map, labels, legend and scale-bar. I'd like to ...
1
vote
0answers
15 views

Increasing size of legend symbols in QGIS3.12.2 print layout

I have pixels with a fixed size on the map, as they have a certain resolution. Now in the legend of the print layout the symbols have the same size as the pixels on the map. I want to increase the ...
1
vote
1answer
19 views

QGIS Layout: Making a map frame in a certain scale bar style with world coordinates of the map (view) extent

Currently I am making some layouts for my some templates we are going to use. We would also like to have a certain border "frame" on to make the coordinate grid clear. The frame is supposed ...
2
votes
1answer
47 views

PyQGIS: Inserting a logo image in the layout [closed]

I have a big logo image (1443 x 1453) that needs to be imported and added to the print layout. The image should be resized (to about 15% of its original size) and placed at a specific location in the ...
1
vote
1answer
22 views

Split and export quadrant of a big map

I'm quite new to Python and QGis (and to pyQgis), but I guess what I want to do is quite standard. I have a very big map, made of many layers, and a fishnet overlaying it. I would like to clip and ...
1
vote
2answers
85 views

How to add shape file directly to the print composer/Layout view in QGIS?

We can easily add the map from map canvas to print composer but is there any possible way to add vector layer directly to the print composer in QGIS either by PyQGIS script or by using some plugin or ...
1
vote
0answers
49 views

QGIS Print Layout Grid Reference Numeric Format

Using QGIS3.14 The default style of grid labels is single size digits, e.g. 251000E and 5897000N. I wish to show the grid labels in a format similar to Ordnance Survey with the 51 of the easting and ...
3
votes
1answer
56 views

Using expressions in generic QGIS Print Layout inserted tables

I would like to use expressions in tables added in QGIS Print Layout using the Add Fixed Table option, as shown in the screenshot attached the expressions are instead displayed as regular text in the ...

1
2 3 4 5
23