Questions tagged [print-composer]

Print composer provides growing layout and printing capabilities in QGIS.

Filter by
Sorted by
Tagged with
4
votes
1answer
596 views

How can I use relative paths in print composer for images?

I'm sharing an entire map project with a client so they can eventually print off an atlas. I've managed to get all the layers and icons to work correctly with relative paths, but the atlas contains ...
4
votes
1answer
140 views

Is it possible to focus on different (but related) features on the same Atlas page?

I have a map showing a city and its divisons. I have then several features in other layer with the style set to show only the feature designed by the atlas by $id = $atlasid So far so good. Then I ...
4
votes
1answer
330 views

Accessing QGIS element variables in Composer

Is there a way to access "other" composer element variables in QGIS? I can "print" a variable in a text element by inputing for example: [% @project_title %], but is there a way to use the map_scale ...
4
votes
1answer
353 views

QGIS print composer internal grid labels

Is there a way to have the grid labelled inside of the map frame (I don't mean the option to draw coordinates inside the frame)? What I want to achieve is a "ladder" of labels like in this example: ...
4
votes
1answer
1k views

PDF in CMYK or RGB color space

In QGIS 2.14, in print composer I can save my project as a PDF file. There is no controls of the color space in which colors are specified in the output file. It will be very useful to have a choice ...
4
votes
1answer
368 views

Is it possible to create dynamic print templates in Composer? (QGIS 2.8)

I'm trying to create a universal template for different map sizes. Typically, our maps have to fold up to A4 size, which means that the page size is a multiple of A4 in lots of different ...
4
votes
1answer
690 views

Inserting image in an attribute table in QGIS Composer?

I'm trying to create second page of map atlas. In this page I need to show all records in the range of current atlas page. I've used Insert Attribute Table tool in composer and it worked. But I need ...
4
votes
1answer
977 views

How to align QGIS legend items to the right?

Is there a way to align QGIS map composer legend items to the right, for right-to-left languages? There is only a title alignment option. Furthermore, I found this ticket from 4 years ago regarding ...
4
votes
1answer
788 views

Adding dashed line in QGIS print composer?

I want to display two maps in the print composer: a main one, and another showing a zoomed in section of the main map. I've drawn a rectangle over the original region and want to add two dashed lines ...
4
votes
1answer
155 views

How to create a printable data sheet when using edit widget “value realtion” in QGIS 2.0?

I created a spatiaLite Database with a point layer (every point is a tree). Additional I created several tables to fill the columns of the spatial layer with attributes using the editing widget “value ...
4
votes
1answer
231 views

Exporting PDF from QGIS Print Layout including clickable hyperlinks

I am having difficulties to export a PDF from QGIS 3.4 (having the same issue in 3.12 though) print layout with a clickable hyperlink. Looking at https://docs.qgis.org/2.8/en/docs/user_manual/...
4
votes
1answer
285 views

Layout export from stand-alone PyQGIS script shows empty map

I have a problem with exporting of a QGIS layout by the pyQGIS. I have prepared the qgz project and also the qpt layout. When I try to export the layout to PDF by QgsLayoutExporter.exportToPdf by ...
4
votes
1answer
948 views

Layer labels not showing properly on the composer

I'm currently working on a map for the different brazilian biomes. I have to label them and show it on my final map, but when I'm working on the composer, this happens: That's the exact size of my ...
4
votes
1answer
378 views

PyQGIS composer doesn't change atlas feature zoom

I have found this code in this site and with the some changes I want to create a automate print PyQGIS composer using atlas. The code looks like it should work, I have an error. The code doesn't ...
4
votes
1answer
318 views

QGIS: Displaying total length of lines in print composer legend

In the print composer (also in the layer selector) I can choose to automatically display the amount of objects in that category in square brackets. That is useful for point features/layers. But in the ...
4
votes
1answer
614 views

Manage space in legend print composer QGIS

I am struggling to figure out how to manage space in the legend. I have extra space between some items in my legend, which I would like to remove: How can I manage these spaces? I built my legend ...
4
votes
1answer
388 views

PyQGIS — write print composer to project file

Is there a way to write a print composer to a QGS project file via PyQGIS, so that when the project file is opened later, that print composer is available? I am able to successfully do the following: ...
4
votes
1answer
338 views

Data defined position of table in print composer (QGIS 2.18)

As the screenshot below shows: the data defined position of the text field is working, but that of the table doesn't. Can anyone confirm this behavior?
4
votes
2answers
1k views

Unusual behavior of coordinate grid in QGis Composer

The coordinates in the grid in QGis composer display incorrectly when using the "degrees, minutes, seconds" option (or even decimal degrees). It displays West and East in the longitude and North and ...
4
votes
1answer
301 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
1answer
178 views

Is there a maximum length of pdf file QGIS composer can plot?

In QGIS 2.4 is there a maximum dimension in milimeters composer can produce while exporting to pdf? Trying to produce a 3000 x 900 mm or 2800 x 900 mm map. The QGIS composer displays all the map area ...
4
votes
1answer
1k views

How to print selected features in QGIS?

I have a detailed map in qgis (vector, .shp) and I would like to split the map in four parts based on attributes to print each part of the map separately. Unfortunately, I didn't figure out how to do ...
4
votes
0answers
78 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
378 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 ...
4
votes
0answers
170 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
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
496 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
290 views

QGIS Nautical Chart Symbols for sector lights [duplicate]

This is I know going to be of limited interest to many of you but I teach navigation and I am working on producing test questions and charts for assessing learners knowledge. My problem is solvable ...
4
votes
0answers
518 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
359 views

Label size changes when exporting or printing WMTS layers [duplicate]

I am using QGIS2.4.0 on a Windows computer. When I export a map containing OSM landscape, the labels in the output map are smaller then in the view in the composer. (even if the view in the composer ...
4
votes
0answers
299 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
480 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
3answers
4k views

Adding excel table to QGIS print composer?

Can anyone suggest some ideas to add a excel table to the print composer which will then be exported as a A3 png while retaining resolution. Attempted pasting in word as an enhanced meta file then ...
3
votes
2answers
994 views

How to design a custom form/table in QGIS Print composer?

I am facing the problem of not being able to graphically draw and edit tables (header of a map with information on the map content, editor, firm name, ...) within map composer. Is there an efficient ...
3
votes
3answers
576 views

How to set different page orientation per page in QGIS Print Composer?

I wanted to have portrait for page 1 and landscape for page 2. How could I achieve that in QGIS Print Composer?
3
votes
3answers
4k views

Zooming in Qgis print composer

Whenever i zoom in print composer it jumps either in or out in steps not smoothly. I can not zoom progressively neither can i choose an area by using the magnifier. I am working on a map of islands ...
3
votes
1answer
408 views

Can a Print Composer be “dynamic”?

Is it possible to create a Print Composer; then later, after altering the map that it is based on, go back to that print composer and have it show the altered map? In other words, I want to retain the ...
3
votes
1answer
156 views

QGIS character spacing in label inserted in print layout

I normally insert labels directly through Layer Properties, which allows one to vary character spacing. However, I need to insert labels in Print Layout for a particular project and cannot find a way ...
3
votes
3answers
236 views

Manually moving layers in QGIS legend in print composer

I have a legend in my QGIS print composer and would like to manually move a layer to position them where I want them to be. In the following example I would like to move the layer "area" down to the ...
3
votes
1answer
2k views

How can I change the frame in the print composer in QGIS?

I made a map based on a raster from Natural Earth web site with some vector layers with the Qgis software. When I compose this map I cannot get the right size: there are too big or to small as you can ...
3
votes
2answers
1k views

Export map without white background

I'm trying to save an Image in QGIS Composer by polygon borders as seen in the right figure. But when I try to save it, I get a white rectangle box around my figure as seen in the left figure. Is ...
3
votes
2answers
896 views

Transpose attribute table in QGIS Composer?

I have difficulty in how to rotating attribute table in QGIS Composer. The default is horizontal, it's because data I have too much around 50 tables. So I want to rotated it to horizontal. Under the ...
3
votes
2answers
3k views

Adjusting QGIS Print Composer output resolution?

I am using QGIS 2.12. I would like to adjust the Print Composer's output resolution for "Export as Image" and "Export as PDF". The default is 300 dpi, but I would like 600 or 1200. Multiple ...
3
votes
2answers
695 views

Map Atlas switching orientation in QGIS

I am trying to generate a series of maps suburb-wise for my municipality. All these years I've been doing it manually by panning around the municipality layer and zooming into the suburbs to create ...
3
votes
2answers
722 views

Fitting wrap column in print composer of QGIS

i have an attribute table in the map composer, and the field i want to see is quite long so i wrap it, but the field width is not fitting this new length. Is QGIS 2.4 able to do that?
3
votes
2answers
66 views

Layout changes when exporting in QGIS

When I export to PDF or SVG, the layout changes and doesn't look the same as in QGIS. How do I get it right when exporting? How it looks in qgis and how it should be: When exporting to PDF: And ...
3
votes
2answers
67 views

Set default style for QGIS Composer Items

When creating a Composer Layout in QGIS, it is useful to add multiple items such as text boxes, shapes and arrows. Once I have formatted an item (eg an arrow line) is it possible to set it as a ...
3
votes
2answers
637 views

How to remove legend items with PyQGIS without removing the layer?

I am trying to generate maps in pdf files by using a pre-defined .qgz layout. I am already able to load layers and adjust color scale, etc. Since the legend is synchronized with the map layers, all ...
3
votes
3answers
1k views

Creating QGIS text label in composer calculating values from attribute table?

I am working with QGIS 2:14, for now, I have a qgs project with a lot of layers and I want to create a label in the print-composer with the result of a calculated expression from one of this layers. ...

1
3 4
5
6 7
22