Questions tagged [print-composer]

Print composer provides growing layout and printing capabilities in QGIS.

Filter by
Sorted by
Tagged with
0
votes
1answer
30 views

How to draw polylines and polygons on layout using PyQGIS [closed]

I've been searching some example about how to draw polylines and polygons on the map composer using PyQGIS, but I couldn't find anything. Could someone show me some code to learn?
2
votes
2answers
49 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 ...
0
votes
0answers
12 views

QGIS 3.4.9 - Crash when exporting PDF [closed]

I've designed a layout for automating cartography generation using the Atlas tool. When I try to export in PDF format (either a single Atlas item or the whole Atlas) the software crashes (crash report ...
0
votes
0answers
17 views

Rotate a table but not the text in a QGIS Layout

I'm working in a QGIS Layout and I have an special requirement: I have to rotate a table but I need that the text remains horizontal. When I check the rotation settings, the "Expression" option just ...
0
votes
3answers
62 views

Adding image to the QGIS print composer (path in layer as attribute)

My layer "users_print_view" contains image path. I would like to display this as image in print composer. I can copy path and "Adds a new picture to the layout" and paste it but I would like it to be ...
0
votes
1answer
34 views

pyqgis3 atlas feature scale

i was create a simple export code using pyqgis3 and atlas print composer map layout on QGIS3. my question is about map scale. if i use this line : mapScale = map.scale() i take the scale from map ...
1
vote
2answers
37 views

QGIS 3.12 print composer - how to rotate map but keep grid unrotated?

I am creating a map using QGIS 3.12 and wish to rotate the map and add a grid using print composer, but I want to keep the grid unrotated. Is this possible or does the grid only rotate with the map?
1
vote
0answers
23 views

QGIS 3.4.11: Labels disapear from map when exporting as picture from the print composer

My question is basicly how to solve the issue mentioned in the topic. I have a map, where labels (city names) are visible both in the project and in the print composer. But when I export the map as a ...
1
vote
1answer
67 views

QGIS Legend Item - Expression Labels

I am trying to use the expression editor on the legend item in the layout manager. My layer has the attributes of RU_NAME which is the geological unit and LITH_SUMM which is the description. ...
0
votes
2answers
41 views

Turn layers on off in QGIS atlas

I want show different imagery backgrounds in a QGIS atlas based on which one is better. I have the following highlighted imagery layers In the dataset used for the atlas I have How do I set up the ...
1
vote
1answer
26 views

Defining atlas feature margin using PyQGIS3

I want to create a simple atlas composer map using PyQGIS3. My question is about atlas feature scale. I want to use this settings from image. I know this select option but I don't know how to add ...
2
votes
0answers
33 views

QGIS: attribute table in print-composer, format numbers and sort according to same field

In the print layout of QGIS (I use 3.12.2 on Win) you can add an attribute table. I have a list of towns I want to display ordered according to their size (population). That's quite easy: in the ...
3
votes
1answer
68 views

Need to Set the Map in Layout to fit completely to a layer in QGIS

So, I know that there is the "Set to map canvas extend" but it just doesn't do the job for me. I used ArcGIS more than QGIS so I am having issues accomodating to the map layout options in QGIS. I want ...
1
vote
1answer
31 views

PyQGIS composer add picture by layer path field

I want to create a atlas composer map using PyQGIS3. How can I take dynamic path by field from atlas layer? In PyQGIS3 I need some like this : pict = QgsLayoutItemPicture(layout) pict.setPicturePath(...
0
votes
0answers
13 views

Using print layout

I am trying to use print layout to export a map but the map appears completely crooked on the layout. See illustrations. I don't know how to restore the same look and feel of the map as shown on the ...
3
votes
1answer
73 views

Feature index for atlas

I am working on an atlas project in qgis 3 that is basically roads, towns, and other features for a quite large area. What I would like to add, is an index of all the towns in the atlas area with at ...
1
vote
1answer
42 views

Moving between pages in QGIS Print Composer

I'm using QGIS 3.6 Print Composer, and I managed to create a layout with two pages. I now want to delete page 1. How do I move from page 2 to page 1 so I can delete it?
8
votes
2answers
214 views

Clickable label (HTML, Link) in PDF export (QGIS)

I need to export a (GEO)PDF - overview map with bounding boxes - with clickable links in every bounding box. I tried to simply export a PDF with html-links as text labels, but as you can see in the ...
3
votes
0answers
51 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) ...
1
vote
0answers
39 views

Map output with multiple “Zoom Levels” in QGIS 3 [duplicate]

Just wondered if it is possible to do BBC-style multiple "Zoom Levels" output in QGIS 3 like this: I used to use another app such as Adobe Illustrator to overlay the maps of different scales. ...
1
vote
1answer
34 views

Conditional formatting with color and icon for table in print layout

I used the conditional formatting option in the attribute table (figure 01) in QGIS 3.12. I created a layout with the map and the attributes table (figure 02). With the option “apply layer ...
3
votes
0answers
23 views

Color scale legend in QGIS [duplicate]

I have been trying for hours to add a color scale to my vector layer in order to avoid showing all those boxes in my legend. But I don't find any solution. I tried the Geoproc plugin without success,...
0
votes
0answers
21 views

Changing default settings for Arrow Item in print layout of QGIS 3.10

I am using the print layout of QGIS 3.10 to make maps and some reports. I frequently use the Arrow Layout Item. I need to change the default values for the Arrow Stroke Color, Arrow Stroke Width, ...
2
votes
0answers
38 views

Printing layer name using label element in Print Composer in QGIS 3.12?

I'm trying to print the layer name using a label in print composer in QGIS 3.12. It's not responding to layer_property(@layer_id, 'name'), or [%layer_property( @layer_id, 'name')%] or [%@layer_name%]....
4
votes
1answer
93 views

Including print size of my layout in label in QGIS?

I want to include the print size of my layout (e.g. "A3") as part of a label on the map, how can I write an expression to capture this information automatically? I am using QGIS 3.12.
3
votes
1answer
51 views

Automatic file name for composer exports

I have to produce pdf maps everyday (corvid-19 stuff) for my organisation and want to create the file name based on the composer name preceeded by the current date. The name of the composer is the ...
0
votes
1answer
38 views

Report with relations

I collected field data containing general information about signpost sites (location, altitude, image) and specific information of the particular signs mounted to the singpost (image, direction). One ...
0
votes
0answers
30 views

QGIS how can I create a legend with only one set of categories (in common) and two different set of symbols?

In QGIS I would like to create a legend with two sets of symbols (for the two overlapping layers which are shown in the map) sharing the same categories. Something like that: Is there a way to do it ...
0
votes
0answers
39 views

QGIS- Problem with saving from Layout Manger - Map area is blacked out when saved

I have been composing a number of layout from a project in QGIS. These have all exported with no issue. But today I have encountered a problem when exporting as an image, pdf and SVG that I can not ...
0
votes
1answer
40 views

Getting field value in Print composer label

I am using QGIS print composer. I have so many images to export with a specific label. The text of the label is existing in a field of a layer. I have tried to use this expression attribute( ...
1
vote
0answers
22 views

Create one PDF map of large extent from serval 1:50000 scale sections in QGIS

I am trying to produce a single PDF map that shows an entire property via several 1:50,000 scale maps stitched together. The scale is important to show the labelled information correctly within my ...
0
votes
0answers
44 views

Wrongs values returned using the Expression String Builder from the legend items

I want to use the Expression String Builder from the legend items in order to label items with another field. The legend has to be dynamic because I'm using the "Topological coloring" algorithm with a ...
0
votes
0answers
25 views

Print Username in print composer of QGIS

Is it possible to use any expression to get the username of machine/computer and path of project while printing the documents in print composer of QGIS.
1
vote
1answer
22 views

Change/Hide the pen width for line shape file based on rule in QGIS

I have line shapefile, in which I have a condition to display line's width based on a rule as shown in the image below. But in this case I was not able to define line width to 0, it is taking hairline ...
3
votes
1answer
22 views

QGIS not including complete symbology when exporting from print composer to PDF

I have a vector layer that is displayed with both cross-hatching and a border. When I export to PDF, only part of the symbology is exported - the cross-hatching shows up without the border. It shows ...
1
vote
1answer
44 views

Moving map extent by x millimeters to left or right in QGIS Print Composer

I have a layout with a map item and want to move the map itself (the extent, not the item) 5mm to the right. I am using a coverage layer with atlas. The atlas margin does not help since it's % and ...
0
votes
0answers
28 views

QGIS 3.10 Page settings won't except changes of page size A3

What can I do to change the page layout to A3 under QGIS FreeBSD 12 . The settings for layout_page_width/ layout_page_height are not enabled for editing, and page settings to A3 for from the printer ...
1
vote
0answers
26 views

QGIS print composer WGS'84 grid, distance between gridlines

I am trying to make an nautical chart in the QGIS print composer. I have trouble getting the distance between my gridlines right. I need them to be a distance of whole minutes between. Now for some ...
8
votes
1answer
185 views

Font size in HTML in QGIS' print composer only starts to change at 6

<font size ="10">font size 10</font></br> <font size ="9">font size 9</font></br> <font size ="8">font size 8</font></br> <font size ="7">...
1
vote
0answers
36 views

Only show title in legend entry for raster/tile layer in QGIS

When I have a legend entry for a xyz tile raster layer, such as Google satellite, in a print composer layout in QGIS, the legend includes a lot of white space underneath the title. This would ...
1
vote
1answer
34 views

Automating Atlas Generation With Different Coverage Layers

I'm currently using QGIS 3.10, and have around 60+ coverage layers that each should result in its own atlas pdf-file. All other settings in the print composer would be the same. As I'm not too ...
1
vote
1answer
47 views

Creating multiple maps in a QGIS print composer

I'm relatively new to QGIS - I'm switching from MapInfo. I'd like to have two separate maps in my print composer in QGIS. One the main frame linked to my canvas window and the other a raster image ...
0
votes
0answers
43 views

Problem rendering maps in QGIS 3.12 Composer

I am using QGIS 3.12 on a Mac. When I re-open composer in QGIS 3.12, my maps are not rendered - only the borders show. This also occurred in versions of QGIS 2.18 that I was using before, and was ...
1
vote
0answers
33 views

Multiple themes in QGIS defaulting to first theme

I've been trying to use the themes options in QGIS. In the window mode they work just quite well and layer format changes. But when I go to the layout print menu the themes show up but it keeps ...
4
votes
1answer
180 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/...
2
votes
1answer
26 views

PyQGIS 3 Disable save project in print layout and report manager (layout menus and gui buttons)

I would like to know how I can disable the 'save project' option in the QGIS print layout and report manager layout menus. I would also like to disable the save button on both gui's in PyQGIS 3. For ...
6
votes
2answers
139 views

Getting text name of current project CRS in QGIS Layout

I'm want to display the current project projection in a QGIS layout. Right now I can get QGIS to display the current EPSG number like below: But what I want to do is get QGIS layout to print the ...
0
votes
0answers
28 views

Polygon rendering issue in QGIS 3.4 Print Layout

Several of my students have had a strange issue using the Print Layout in QGIS 3.4. They are using two sets of data in the map canvas, one is a subset of the main dataset (which is used as a ...

1
2 3 4 5
22