Stack Exchange Network

Stack Exchange network consists of 174 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.

0
votes
0answers
9 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
50 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
92 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
24 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
29 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
0answers
40 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
35 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
11 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
30 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
18 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
23 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
33 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
28 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
62 views

QGIS3 Layouts - report function

I'm trying to create a report using the new functionality in the QGIS composer layouts. I have successfully followed the North Road blog post (https://north-road.com/2018/01/23/exploring-reports-in-...
0
votes
0answers
10 views

Inverted polygon not displaying on printout

I'm printing from the layout in QGIS 3.2.2, using Windows 10. The page size is 42x42 inches. I created an inverted polygon to cover up layers that were outside of the main polygon. I printed ...
1
vote
0answers
69 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
74 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
34 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
52 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
40 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
31 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 ...
0
votes
1answer
140 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 ...
0
votes
0answers
102 views

WMS Tiles missing on export from QGIS?

General info: Windows 10 64-bit QGIS version 3.2.1-Bonn WMS service https://openwms.statkart.no/skwms1/wms.topo4.graatone? Problem: When exporting either through "Layout" or directly (Project-> ...
2
votes
0answers
49 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
65 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
111 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
0answers
285 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
142 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
53 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
49 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
141 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
292 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
66 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
226 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
1k 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
49 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 ...
17
votes
2answers
6k 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 ...
4
votes
2answers
284 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
2k 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 ...
3
votes
2answers
731 views

Using QGIS 3.0 API for layout?

I am trying to generate an atlas with python in qgis 3.0. I have : projectInstance= QgsProject.instance() projectLayoutManager = projectInstance.layoutManager() for comp in projectLayoutManager....
1
vote
0answers
57 views

Getting QGIS Print Composer flat?

I would like to get my print composer map flat for printing and output and look the same as my ArcGIS Pro layout. I have only been using QGIS for a week, trying to replicate my ArcGIS Pro work. Scale ...
4
votes
2answers
604 views

Export Layout as PDF in QGIS3

I am trying to export a specific layout with python in QGIS3. But I am struggling with the QgsLayoutExport class. How do you use it? How can specify which layout should be exported? This is the code I ...
2
votes
1answer
523 views

How to get a list of all Layouts in QGIS3?

I have created 3 print layouts in QGIS3. Now I am trying to get a list of all layouts in the LayoutManager with python. This is how I am trying to do it(this code is executed in the python console of ...