Questions tagged [print-composer]

Print composer provides growing layout and printing capabilities in QGIS.

5
votes
0answers
107 views

Issues with atlas generator and labelling across maps/images

I have a lot of layers in my project and I am trying to use the atlas generator in the print composer to create a tiled map. Some of the layers have labels which have different configurations with ...
5
votes
0answers
745 views

How can I programmatically remove a layer from the QGIS composer legend without removing it from the map canvas?

I am working on a QGIS Python plugin which includes automated map production. I use a series of map templates, each of which has a main map, an overview map (with a layer set different to the main ...
5
votes
0answers
869 views

Print Composer Template produces empty map?

I have a print composer template which I'm trying to populate with different subset queries from a CSV-derived vector layer using the Python API. However, all the output PDFs contain everything except ...
4
votes
0answers
69 views

Do the elements in Print Composer have any identifiers in QGIS 2.18.14?

In QGIS 2:18:14, it is possible to refer to elements in the Print Composer? How do I name and identify an element in another element? E.g., on a label, call the contents of another label and use its ...
4
votes
0answers
355 views

How to create text buffer in the legend- QGIS 2.18?

I work with this polygon layer and this is my map composer: I used the labels with Text Buffer (yellow and red), and I try to find how I can make the same text buffer in the layer name in the legend. ...
4
votes
0answers
369 views

PDF looks different from print composer

When I create a map in print composer the map looks exactly how I want it, but when I save it as a PDF some of the sympbols have changed. Note the roads are still visible in the PDF but some have ...
4
votes
0answers
503 views

Different scale of basemap after exporting to PDF/Image

After creating and exporting my map to pdf/tif obviously there are different scales of the basemap in the exported file compared to the map I created in the printcomposer. See pictures... I am using ...
4
votes
0answers
282 views

Launch Atlas composer generation from command line

I am using QGIS 2.2 and have configured a composer with atlas generation. I would like to launch this atlas generation every day. The idea is to write a batch and launch it with a cron. Is it ...
4
votes
0answers
383 views

How to sort legend values efficiently in QGIS print composer?

Using QGIS 2.0, I have a vertical color legend for raster values, created in the print composer. I want the values sorted in descending order from top to bottom, which appears to be the reverse of the ...
3
votes
0answers
35 views

Set page origin in QGIS Print Composer OR ArcMap Layout

Working on QGIS 3.6.1 I am reproducing an ArcMap Layout in Print Composer. This is basically pretty straightforward, but I need to recalculate the y-position of each map element, because in QGIS Print ...
3
votes
0answers
124 views

How to print automatically Map themes in Label's Map Composer?

This expression [%@project_path%] prints the path of the qgis project. How the Map Theme used in the layout can also be printed automatically ? According to QGIS documentation, a Map Theme is a ...
3
votes
0answers
65 views

Changing legend spacing to be further away from map border in QGIS?

I am using QGIS 3.2.3 I am creating a map in which I have added a legend to (see figure below). My issue is that I am trying to create a legend which has spacing between the two columns. I have ...
3
votes
0answers
42 views

Remember Save location for image created in composer?

QGIS remembers the last saved location for the image that was last created. Is it possible to change a setting so that this last saved location is remembered per QGIS project file?
3
votes
0answers
61 views

Set background or text color depending on expression in an attribute table in QGIS composer

I am using QGIS 3.0.2. I am working on a print composer including an attribute table. I would like to set different colors to each rows, depending on an expression, refering to an attribute. I didn't ...
3
votes
0answers
82 views

Grouping and sorting a list of equipment using an aggregate function in the print composer

I'm using QGIS as a spatial database for a construction site and we are now checking the installed equipment. The inspection requires us to have a list of the equipment ID to inspect for each type of ...
3
votes
0answers
264 views

Duplicate a print composer item

Is it possible to duplicate an item in the print composer? I have two maps, and I'd like to add an attribute table to each map. It took me quite a while to set up the attribute table for the first ...
3
votes
0answers
219 views

Ordnance Survey grid reference in QGIS print composer

Is there a way of inserting Ordnance Survey grid reference in a print composer? I know that a grid can be created but I don't wish to insert a grid, I just to need to include the eastings and ...
3
votes
0answers
113 views

QGIS clip grid frame to shape?

I am working in QGIS and would like the grid frame to align with the edges of my conic projection region. Is there a way to do this? In arc it is very straightforward but I have yet to find a method ...
3
votes
0answers
252 views

Attribute table width and line breaks

When the cell's width of an attribute table containing text/string is modified to a number of mm, it automatically adds a line break on the last word. Example The red ellipse shows the last word ...
3
votes
0answers
133 views

How to set the compression method, when exporting composer form QGIS to PDF?

I see that export of the composer to PDF in QGIS uses JPEG compression by deafult (my estimate maybe 75-80%, which is not good enough for my maps). Where can I change this? Can I set somewhere ...
3
votes
0answers
303 views

Print Composer Atlas multiple feature select in one page

I am trying to select multiple features on Print Composer in QGIS 2.18 (Las Palmas) in the atlas filter: for instance, I have one layer whose atributte "name"=2 has 4 features as a result; the ...
3
votes
0answers
139 views

Legend and Attribute Table change throughout map composer

I'm using QGIS 2.18.3 (Las Palmas) For a project I have about 15 maps with the same extent, where each map displays a different attribute. I have followed Automating Atlas to create maps for all ...
3
votes
0answers
455 views

Rotate map in print composer does not work with QuickMapServices plugin

I was very excited when I figured out that printing as pdf was actually possible with the plugin QuickMapServices after a lot of trying and pain with the old OpenLayers Plugin. However, if I try to ...
3
votes
0answers
123 views

Append dynamic stats on attribute table in QGIS Composer

I have an attribute table containing records like Town, inhabitants, N° male, N° Female like this: When I compose a map in QGIS I use "Show only visible feature" command resulting in a view with only ...
3
votes
0answers
466 views

Can the qgis print composer memory limitation be overridden?

I'm trying to export large images from the QGIS 2.16.3 print composer. As far as I can tell, whenever the calculation of dpi and export size exceeds ~1615MB, QGIS will show the message: "Trying to ...
3
votes
0answers
141 views

How to keep basemap high res detail when printing large resolution in QGIS?

I need to print a map with a0 resolution and I need it zoomed over a large area. Problem when zooming out is that the basemap also gets zoomed out and loses labels and important details. Basemap is ...
3
votes
0answers
53 views

Joined table fields don't work in print composer?

I am trying to use the attributes of the current atlas feature, which is from a joined table. In the expression builder it shows the correct value, but the result is blank when I actually try to ...
3
votes
0answers
128 views

Large File Sizes and Print Composer not printing

I have been working on a heavily detailed map using qgis for the last two years. I am runnig QGIS Essen 2.14.1 on a windows 7 home premium 64 bit with 4gb ram. The file size of the map is around 150mb....
3
votes
0answers
124 views

How to set more than one font sizes for a legend item in a QGIS?

I am looking for a possibility to set a second font size for one legend item in QGIS (2.8.1) Printcomposer. For every item (name of a plant) I need a smaler expression in brackets (name in latin). Is ...
3
votes
0answers
154 views

Drawing coordinates next to grid crossings in QGIS map composer

In the QGIS map composer, the options to draw coordinates along the grid are great. But is it possible to draw the coordinates to the grid crosses in the map? I can only see options to draw them along ...
3
votes
0answers
285 views

QGIS 2.8 PrintComposer, no coordinates shown

I tested under MacOS 10.10.3 and 10.9.5 now: In the QGIS v2.8 Print Composer I don´t get coordinates shown when I want to create a map sheet and activate "Draw coordinates". I can do all settings ...
2
votes
0answers
33 views

Managing space in columns in QGIS legend

Is there a way to set up a legend so the group name spans multiple columns in QGIS print composer? Trying to set up a legend where one of the items is split into columns, but the group spans the ...
2
votes
0answers
22 views

QGIS 3.4.5 Attribute table expression in print composer not working

I just upgraded from QGIS 2.18 to the latest stable release (3.4.5). I am trying to filter an attribute table added to a layout by using @atlas_pagename and I can see there is a match in the ...
2
votes
0answers
72 views

Layers disappearing in QGIS print composer?

I am using QGIS 2.18.26. I have problems with a layer disappearing on map in my composer. First I thought it is a scale based visibility problem, it is a layer with some rectangles and titles on ...
2
votes
0answers
113 views

QGIS - Legend Columns - Uneven distribution of legend items

I'm working on a legend in QGIS 3.2 but cannot figure out how to get a set of legend items to distribute across 3 columns, but with an uneven number of rows. For example I have 9 items that display ...
2
votes
0answers
97 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://...
2
votes
0answers
67 views

QgsVariableEditorWidget does not save changes

I would like to edit the variables of a composer item in QGIS 2.18.x. The widget itself is working so far. In my example, I am selecting a QgsComposerLabel called "Plankopf" to show its variables. ...
2
votes
0answers
80 views

Default settings for composition and item properties in print composer

Is it possible to make some default settings or save the settings for composition and item properties? Im adding a bunch of different maps to print composer. I want the same settings for every map f....
2
votes
0answers
38 views

Adding short CRS description to composer template?

How can I add CRS description as automated text for composer template? so anytime someone open a project, it uses the project CRS to print description of CRS like: WGS84 / Mercator 1 @project_crs ...
2
votes
0answers
212 views

Problem with QGIS print composer PDF export in CorelDraw X7

I'm having a recurring problem with exporting raster imagery in QGIS's print composer for use in CorelDraw X7 (for map styling). The problem has persisted for some time, through many releases of QGIS ...
2
votes
0answers
105 views

Composer, shapes and geometry generator

I wanted to change the way shapes are rendered in QGIS composer. I tried for example to add an ellipse in the composer and choosed geometry generator in the styling options. I let Polygon/...
2
votes
0answers
105 views

Print composer layout without opening project in GUI (no iface solution)

I would like to print some composers without open the files that contains them in QGIS. without using templates not using iface using, app = QgsApplication(sys.argv, gui_flag) app.initQgis() ...
2
votes
0answers
88 views

Add composition variables?

Is there any 'easy' way to alter or add custom variables in a QGIS Composition in a Python script? Setting a project variable can be done with QgsExpressionContextUtils.setProjectVariable, but is ...
2
votes
0answers
133 views

QGIS Composer Legend Filter by Map Content Not Showing Item

I'm trying to filter a composer using the Filter by Map Content Button. It works for the most part. There is a line layer that doesn't fit completely in the map window that gets filtered out, I'm ...
2
votes
0answers
53 views

Distance between the rotated label and the line in map composer

When trying to print rotated map in composer manager labels are shifted: In map canvas everything is OK! I need to save again my layer in project projection for avoid this offset. It was tested in ...
2
votes
0answers
750 views

On QGIS Composer how to filter the atlas coverage layer using a project variable (rather than just a value)?

A QGIS Composer atlas can be generated from a subset of the coverage layer features using the coverage layer filter control. I can filter for coverage layer features by comparing an attribute of the ...
2
votes
0answers
97 views

pyqgis export composer to single pdf file

I am using PyQGIS to create automated maps. my script export atlas features to new jpg images but I need now to export my features in single pdf file all my features like option where have qi's ...
2
votes
0answers
103 views

QGIS Print Composer Legend: Polygon symbol not closed

The legend of my map doesnt't match the symbology of my polygon layer, the polygons are not closed. Here a screenshot of the layer windows: And here one of the legend from the print composer: If I ...
2
votes
0answers
68 views

Fuzzy PDF export in QGIS running on macSierra OS

I have run into an issue exporting a PDF file from the Map Composer in QGIS (Essen v 2.18.2, Qt ver 4.8.6) running on macOS Sierra (os ver. 10.12.4). The export resolution is set to 600 DPI (the same ...
2
votes
0answers
240 views

Layer not shown in QGIS print composer

In the current QGIS versions 2.18.6, 2.18.3 and 2.14 my top layer conating svg markers is not shown. When trying the same on 2.99 nightly build, the layer is shown correctly. I find no issue / bug ...