Questions tagged [print-composer]

Print composer provides growing layout and printing capabilities in QGIS.

305 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6
votes
0answers
136 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
930 views

Exporting QGIS Atlas using PyQGIS (qgis.core)

Windows 10, PyCharm, QGIS 3.10 installed via osgeo4w (64bit). I set up a simple QGIS composer layout with a vector layer and a WMS base map on the map layout. The vector layer contains about 10 ...
5
votes
0answers
835 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
1answer
181 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 ...
5
votes
0answers
668 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 ...
5
votes
0answers
855 views

Programmatically removing layer from QGIS composer legend without removing it from 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
912 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
1answer
97 views

QGIS HTML labels only for objects visible on map

I'm printing QR-code that is generated on the fly in QGIS Print Composer. The URL to get the QR-code ist stored in a PostgreSQL database in the attribute-field "url". <img src = "[% &...
4
votes
0answers
309 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 ...
4
votes
0answers
309 views

Showing labels as they will be printed/exported in my print layout?

I set up a print layout for a map I want to print in QGIS. Some of my layers have labels on them. When I zoom in and out in the screen, without changing anything else on the print layout, some labels ...
4
votes
0answers
333 views

Styling the legend in QGIS with line layer

Working on QGIS 3.4.13. I have a vector line layer, there are rivers. I put a rule based symbology with two categories and different scale max / min for each category. I want to put style for the ...
4
votes
1answer
150 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 ...
4
votes
0answers
79 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
222 views

Set minimum scale on QGis Print composer (atlas)

I have a template ready to be printed on Print composer tool of Qgis. I need to fix a minimum scale while figures are represented one by one (1:10000) I would like to combine the scale tool controled ...
4
votes
0answers
529 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
317 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
551 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
13 views

Remember the last expanded property in QGIS Print Layout

While working with QGIS Print Layout, I usually set a property for an item (for example, "Position and Size" for "Map" item), then select another item and set a property. After ...
3
votes
0answers
36 views

How to get a QGIS layout item's position in an expression

I have a Marker item that I placed somewhere in a Print Layout. It has the id 'marker'. How can I query its position in page coordinates in an expression? Using item_variables('marker') I only get its ...
3
votes
1answer
79 views

Creating table coordinates of selected feature and adding it to layout with PyQGIS

I am working on a Plugin that allows users to look for a feature in the database, select it, and then open the Layout designer with map, arrow legend and some labels. I am looking to add a table that ...
3
votes
1answer
137 views

cropToContents not working properly in PyQGIS

I have a template qpt which I read via pyqgis script to export multiple maps as png. I have a map and a legend in qpt file and I chose "Only show items inside linked map" so the legend shows ...
3
votes
0answers
128 views

Adding extent lines to overview maps in QGIS print composer

Is there a way of automatically adding lines to overview maps in QGIS 3+ print composer? I see here it is done manually, but since I have several overview maps and might want to shift their position, ...
3
votes
0answers
93 views

Numeric scalebars don't (always) update when changing the map's extent in QGIS

If you change your map's extent but maintain the scale in a QGIS Layout, the scalebar's width will be updated proportionally with the CRS's distortion for the new extent. E.g. if your map (crs 3857) ...
3
votes
1answer
131 views

Categorized symbology with transparency including raster basemap?

I'd like to include the background map in legend symbols, rendered under transparent fill. For matters of better representation and easier orientation, it would be helpful if the symbols in the ...
3
votes
0answers
136 views

How to solve this problem with proportional size data in qgis print composer

I would like to export a map with proportional circle representation for the number of inhabitant of each city. I've used the assistant size of QGIS and created a proportional legend within qgis ...
3
votes
0answers
69 views

Different distance when using "Measure Line" tool and manually with scale in QGIS 3

Using QGIS's "Measure Line" tool I get a distance of 1.22km between two points. But if I use the scale indicated at the bottom of the screen, 1:50000, and measure with a ruler, the distance is 2.5km (...
3
votes
0answers
86 views

Change the colors of the pie chart in compouse (plot) in QGIS 3.10

When using the new plot command available in QGIS 3.10 for compouse pie chart generation, I didn't find any option to change colors. Is there any way to choose colors?
3
votes
0answers
208 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 ...
3
votes
0answers
216 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 ...
3
votes
0answers
302 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://...
3
votes
0answers
87 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 ...
3
votes
0answers
44 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
388 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
146 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
327 views

Setting compression method when exporting composer from 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
440 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
117 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 ...
3
votes
0answers
500 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
172 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
747 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
158 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
55 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
156 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
72 views

Is it possible to make a multiple line coordinates in QGIS 2.12.1 map comsposer?

I'm trying to display a 2 line coordinates, where the thousands are on the top row, and the units are on the lower row. I've tried to custom coordinates using the following expression: left(@...
3
votes
0answers
147 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
297 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
298 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
35 views

Is there a way to change the shapefile being used in exportPdf() function?

I'm using this function to export layouts and I want to know if it's possible to switch the shapefiles(.shp) being used in the Atlas project for other ones before the function actually exports the ...

1
2 3 4 5
7