Questions tagged [print-composer]

Print composer provides growing layout and printing capabilities in QGIS.

197 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6
votes
0answers
24 views

QGIS Print Layout - Rotation of Grid Coordinates to match map rotation

I have a layout in QGIS where 3 map views are rotated to 35 deg. The grids automatically rotate to match the maps rotation, however the labels do not. Does anyone know a way to make the coordinate ...
5
votes
0answers
412 views

Creating text buffer in 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. ...
5
votes
0answers
116 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
769 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
882 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
80 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 ...
4
votes
0answers
71 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
401 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
1answer
279 views

Showing only selected features from a a layer in the QgsComposerLegend?

I have developed a custom qgis plugin. I have a button to export the map canvas in the form of image along with the legend. I came up with the following code for the legend: legend = ...
4
votes
0answers
511 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
288 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
407 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
184 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
73 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
1answer
331 views

Grid for atlas plugin

Any alternative for the plugin Grids for Atlas in Qgis 3?. I use it a lot because I always create atlas in my works but currently I have to create the coverage layer in qgis 2.18 and the continue my ...
3
votes
0answers
292 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
233 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
121 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
277 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
147 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
344 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
144 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
474 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
133 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
528 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
145 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
140 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
126 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
1answer
162 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
291 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
27 views

Print composer too many row in attribute table how to split in multiple frame?

In the print composer, I've only added an attribute table and different attribute columns. As I have too many row to display in a single page, I would like to split the table between different pages ...
2
votes
0answers
38 views

Print composer forgets layers and puts them in wrong order

I have a project that mainly consist of PostGIS tables, but also some shapefiles. All in all I have some 50 layers in use in the project. The last days, I have had problems with the print composer. ...
2
votes
0answers
42 views

Find orientation of rectangle in PostGIS for QGIS composer

I am storing rectangle in my DB in order to automatize the creation of technical maps of a networks. I am creating these maps in QGIS using the print composer. Many of these rectangles are oriented (...
2
votes
0answers
42 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
67 views

“You Are Here” symbol for maps in QGIS

This is a very generic map production question in QGIS. I am trying to add a "You are here" symbol in QGIS layouts for a fire evacuation map like this one below? There are more than one "You Are ...
2
votes
0answers
28 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
136 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
127 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
68 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
89 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
42 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
231 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
133 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
112 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
95 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
139 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
56 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
102 views

Partial loss of image when exporting from composer in QGIS

When I Have a map in composer this is what I see but when I export as an image or PDF this is what I get Wondering why a small part of the image is missing on the left side of the page and how I can ...