Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [qgis-print-layouts]

Print layout provides growing layout and printing capabilities in QGIS 3.

-1
votes
0answers
40 views

QGIS - merged/serial maps printing/exporting possible (like a merged letter in Word)? [on hold]

I need to create around 50 maps (= export PDFs) that all contain the following elements that remain the same for each map: Background map (raster) Polygon Each of this map should contain property ...
0
votes
1answer
28 views

How do I make a map's background transparent in a layout?

I am trying to add an overview map to my layout. The main map is projected while the overview map is a 'globe' (image below). I want to make the white part of the overview map transparent. I have ...
1
vote
0answers
13 views

Inserting title block when making print templates

I am creating a print template for some figures for a report. These figures will need a title block with all my company's details. Typically when I use it in surfer it is just a bunch of lines ...
1
vote
2answers
63 views

Display credit in map composer? [duplicate]

I am trying to publish maps from QGIS Map Composer. I would like to automatically add the credits of the background layers displayed in the composition (like OSM, Bing, ...) I am aware of such a ...
2
votes
1answer
54 views

British National Grid Sheet Reference Letters in Print Layout

I have managed to get a custom grid on the print layout to convert northing and eastings (XY) to ESPG:27700 grid references i.e NS00 through to NS99. The problem I am coming across is when when NS99 ...
3
votes
1answer
45 views

Exclude image from rendering in layout if file not found

I'm using QGIS 3.4. print layout to create an atlas with photos of features. I have a folder with photos and each photo is named with an ID of related feature. Example: If ID of feature is 543, ...
2
votes
2answers
54 views

QGIS 3.4. - page numbers in print layout

I'm using QGIS print layout to create an atlas with around 180 features. I'm trying to find a way to add page number in print layout. I tried adding text label with [% @atlas_featurenumber %] to show ...
1
vote
1answer
50 views

Auto update QGIS Legend

I have a project with many layers. Some layers are objects of interest while other layers are custom layers. Simplified example: Streets (polygon) Buildings (polygon) Street names (point) I created ...
2
votes
1answer
65 views

PyQGIS - Print Layout Legend. setLegendFilterByMapEnabled()

I'm creating a legend in my print composer and only want "visible", or active, layers shown in the legend. This means I want only layers with the box checked in my layers panel. Here is how I create ...
1
vote
1answer
56 views

PyQGIS - Print Layout Label text size

I'm adding a label to a Print Layout using python. I do so with the following code: label = QgsLayoutItemLabel(layout) label.setText("This is my map label") label.adjustSizeToText() layout....
1
vote
1answer
36 views

Drawing point and path graphic shapes in print layout of QGIS?

At QGIS 3.4.4, I would like to freehand draw points and paths (i.e. zigzag lines) graphic shapes on my print layout. However, I only see the option to draw rectangles, ellipses, and triangles, as ...
0
votes
0answers
124 views

QGIS 3.4 - Print composer export to image error

In QGIS 3.4.4.1 when exporting Print composer layout to image (.png, .jpeg) I get the following error message: "Cannot write to C:\xxxxx.png. This file may be open in another application". This file ...
1
vote
2answers
99 views

QGIS Print Layout: how to create a drop-shadow for items

USing QGIS 3.4.4, I've added a map to a print layout, given it a black frame, and it looks fine. Now how do I add a drop-shadow effect to the map frame in the layout? I haven't found anything in the ...
2
votes
1answer
60 views

QGIS 3 Scale Bar Should Print at 1" But Does Not

In QGIS 3.4, I am using the Print Layout to print some UTM lines with scale bars. My goal is to make a PDF of a map that is at 1:63360 or 1 inch to the mile. When I print the PDF, the mile Scale Bar ...
0
votes
0answers
13 views

How to increase the header height for an Layout Attribute Table in QGIS 3?

I need to increase the header height because the header text has 2 lines. The only way I could find to increase it was use cell margins. But that affects all rows. How to increase the height of the ...
3
votes
1answer
65 views

Automatically generate file name from text boxes in layout in QGIS

Suppose I have a layout template in QGIS, with a lot of text boxes like the title of the map, title of the project, a project code, ... When I export a map in pdf, is it possible to have it named ...
2
votes
3answers
115 views

Nesting project file name into layout in QGIS

Is there any way to automatically take information from the project file name into several boxes on a layout in QGIS? For example, if I had a file name of "185.005R1 - Geology Map.qgz" how could I ...
0
votes
0answers
43 views

QGIS print composer does not export high res details from Spatialite layer

I downloaded OSM.pbf data from Geofabrik, and I followed https://anitagraser.com/2014/05/31/a-guide-to-googlemaps-like-maps-with-osm-in-qgis/ this example to import pbf file to SpatiaLite layer for ...
0
votes
1answer
44 views

QGIS use layout name in styling expression

I have a .qgs file with a number of fairly complex styling rules showing the local Nordic ski trails. It has a single layout for printing on an 11x17 page. Until now the same PDF has been used for ...
2
votes
2answers
101 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 ...
0
votes
0answers
76 views

Export Layout problem in QGIS 3.4 and Windows 10

I try to export the layout into A0 size- but all size options bigger than A3 are blocked. I working with QGIS 3.4, windows 10. In QGIS 2.18 there no problem export layout to any size. But when i work ...
0
votes
0answers
14 views

Change an existing QGIS v2.18 print composer extent to create atlas series focused on one location

I have a QGIS v2.18 project that includes a print composer layout. In the print composer I can alter the exent to match the canvas extent using the Set to Map Canvas extent button. I would like to ...
0
votes
2answers
42 views

How to refresh the HTML, including the linked CSS for a QGIS HTML frame?

I am using a referenced css file in an HTML Frame in a QGIS 3.4.2 layout. <link rel="stylesheet" type="text/css" href="map.css"> It works great until I have to go and edit the css. When I ...
1
vote
0answers
23 views

QGIS 3.4 - In Layout View can I use the properties of one item as a variable in an expression for another item?

In my layouts I have a legend and a references text box. I want the references text box to be next to the legend in every layout however the width of the legend changes often. Both items are in the ...
1
vote
0answers
26 views

Set the same font in QGIS legend as in map

I want to use the same fonts in the legend that are used on the map (different feature = different font). Is it possible? I only get one font for all items.
2
votes
1answer
48 views

Layout Composer Text Box Expression - isolating names from project file path

In QGIS 3.X, I'm attempting to use an expression in layout composer to automatically input the client and project name into a text box. The details are always present in the file path to the project ...
2
votes
0answers
48 views

How to add Projection name, Ellipsoid, and Datum in QGIS 3 layouts

I am trying to add the map CRS information to text boxes in a layout in QGIS 3 automatically so if the project crs changes the text in the map will also change. I can add the EPSG code to a text ...
1
vote
0answers
123 views

QGIS3 Python Export PNG after layout resize

I have maps being created that have nice colour banding on them for the contours. I want to be able to export the legend for that colour banding as an image so it can be imported into another ...
0
votes
1answer
149 views

Change Legend Right to Left Reading in QGIS

I am a new QGIS user and i have a challenge to convert legend from right to left reading in QGIS like ArcGIS.
0
votes
0answers
40 views

Customizing the legend with a column attribute sum or a custom string

What I am trying to attempts is to get the sum of all areas of all features in the extent and separated by the categories in the legend.And all this in an Atlas. So that I would have all the total ...
1
vote
0answers
71 views

QGIS - Problem with Print Layout - blacked out sections on map (QQIS 3.2.1-Bonn)

I am experiencing a problem with Print Layout. When importing my map, random blacked out sections are appearing.
1
vote
0answers
61 views

How to filter legend by map content in composer with raster layers?

Does the "Filter Legend by Map Content" button in composer of QGIs 3.2 version work only for vector layers? It seems it's a bug reported in 2.18.x version and should be fixed for 3.x versions (https://...
1
vote
1answer
34 views

Map eastings in QGIS 2:18 Print Composer alternate between correct values, then negative values

Using CRS OSGB 1936 (ESPG 4277) at various map scales in Composer, I find that the northings are all correct, but the eastings alternate between two or three correct values, then two negative ones. I ...
1
vote
1answer
215 views

How to create a polygon from a Print Composer or Print Layout map extent in QGIS?

How do you create a polygon from a QGIS Print Composer or Print Layout map extent (i.e. a polygon that is the exact area shown in a map within a print composer/layout)? Ultimately I would like to do ...
2
votes
0answers
58 views

How to show label styles in map legend?

In a QGIS map legend, what methods can be used to show examples of a feature's label, in addition to its symbol? For example, a single point symbol might be used to show all cities, but the label ...
1
vote
1answer
67 views

How to print/export QGIS map composition as PDF with Google baselayer in it without spatial shift?

I encountered a problem in QGIS 2.18.21 with printing or exporting my Map Composition into PDF. The layer composition has: one vector polygon layer (either 4326 or 3857) one baselayer (either Google ...
1
vote
1answer
160 views

What is the dimension used in OpenLayers stroke width?

In OpenLayers, when you are giving a style to layer, say a WFS layer, we can give stroke width, like this: var layerWFS = new ol.layer.Vector({ source: sourceWFS, title: 'plot_layer', ...
6
votes
1answer
389 views

Editing Layout-Items after loading a QPT-Template in QGIS 3 with Python

I am facing a problem with the new Layout API while implementing a plugin for QGIS 3. Starting point is a layout template in qpt-Format, which contains different elements like (attribute) tables, map, ...
1
vote
1answer
240 views

How to make sure labels in qgis turn up in layout map?

I am using natural earth for qgis 3.0. I have rule based layers for 10m_admin_0m_maps_unit to show only a certain number of countries in my Caribbean map. That now looks perfect when I am in the qgis, ...
1
vote
0answers
69 views

Print to PDF in QGIS 3.0 from layout cuts off a strip of the bottom and right hand sides

As per the title. It happens every time I export it through print to pdf. Doesn't matter if I choose "microsoft print to pdf" or "adobe pdf". My map is within the canvas dimensions. When I select ...
2
votes
0answers
50 views

How do I get QGIS to draw the rotated symbols on my map?

I'm working on QGIS 3.2. In my'normal' window I've managed to rotate symbols, so that three attributes now make up three parts of a pie chart. But in the Print Layout composer these rotated symbols ...
2
votes
2answers
177 views

Print Multiple PDFs Using Different Layers Using a QGIS 3.0 Layout

I have an open QGIS 3.0 project with a layout called "plan_view1". There are numerous selected layers (>100) that I want to turn on one-by-one and print the "plan_view1" layout to a pdf. This is ...
2
votes
1answer
368 views

QGIS 3.0 Page Setup [duplicate]

I'm having problems with creating a DIN A 2 Layout in QGIS 3.0 Where can I define the page size? I defined it in the arrangement settings ("Page Setup") but when I create a rectangle the Layout is ...
2
votes
1answer
94 views

How can I write in really big font size using a QGIS html box?

I'm making a map that needs to combine different fonts and different types (italic, bold) in the same line. The QGIS text box can let me style the box using more conventional cartographic properties, ...
1
vote
1answer
245 views

Multiple pages with different in QGIS print composer / layouts?

Is it possible to make multiple pages with different size in qgis print composer?. so that when i want to print different maps in qgis i will just do it in one print composer.
4
votes
1answer
2k views

Adding lon/lat grid on map in QGIS 3.0?

I am working through this tutorial that I think was intended for 2.8x - https://www.qgistutorials.com/en/docs/making_a_map.html Step 24 advises on how to add a grid on a map in Layout view. But ...
1
vote
0answers
65 views

Previewing pages of field group section in report layout

I used the report layout in QGIS 3.0 to re-create two atlases I made using 2.18. I'm using these two tutorials from North Road and Anita Graser. Atlases seem to work the same way in the regular ...
18
votes
2answers
7k views

Setting print layout to portrait using QGIS 3?

I can't get the print layout to appear in portrait. It opens in landscape and Layout/Page Setup... allows for portrait, but the layout canvas remains in landscape. In 2.18 the "Composition" Panel ...
6
votes
4answers
403 views

Annotation Scaling

I made a map with annotations in QGIS 3.0. This is how it looks like in the layout view: If I print the map as PDF, one would expect to get the PDF to be WYSIWYG, right? However, it looks like this (...
10
votes
1answer
3k views

Where is the composition tab in QGIS 3.0 Composer, so I can change page size?

I am trying to change the page size in the QGIS 3.0 Composer but I am not able to see the Composition tab. I have right clicked an empty space in the toolbar but did not see anything about ...