Questions tagged [print-composer]

Print composer provides growing layout and printing capabilities in QGIS.

Filter by
Sorted by
Tagged with
15 votes
3 answers
2k views

Determining neighbouring tile ids in QGIS

I was asked in a recent training course if QGIS could automatically calculate the next/previous and above/below page numbers for a map book created using the atlas generator. I managed to work out a ...
Ian Turton's user avatar
  • 79k
15 votes
4 answers
11k views

Save Print/Map QGIS composer view as PNG/PDF using Python (without changing anything in visible layout)?

I have a QGIS composer/print view opened with all elements adjusted as I wish. Now I need to print/save/export this as a PNG or PDF file from Python console/Python script. I do not want to change ...
matandked's user avatar
  • 681
11 votes
2 answers
7k views

Loading composer from template and generating atlas using PyQGIS

I am trying to build a plugin to load a print composer from file, generate an atlas and export to image. So far I have been successful in loading the template and exporting it to image. I have been ...
Matt's user avatar
  • 2,696
50 votes
8 answers
59k views

Using continuous color band for raster legend in QGIS composer legend?

I'm looking for a way to insert continuous colour legend for a raster layer. I managed to create discrete symbols with values along the bar, but I would like to have a continuous bar with some values ...
Bogdan's user avatar
  • 791
12 votes
2 answers
11k views

Making overview with linked detailed maps in QGIS

I want to create 4-5 detailed maps, and then an overview map that has rectangles that marks the locations of the detailed maps. Best case would be if the rectangles were linked to the detailed map. I ...
SoS's user avatar
  • 867
10 votes
3 answers
1k views

Changing to alternate label if first label does not fit in QGIS?

I'm trying to create a map to print out and the size of my polygons varies greatly. As this will be a reference map I need to label every polygon, but some of the names will not fit in the polygon. In ...
Ian Turton's user avatar
  • 79k
8 votes
2 answers
2k views

Is it possible in QGIS print composer to include a numeric scale in an html box?

For work I always have to create a table with my name, project name, date etc. into my map layouts. I also need to include the scale like "1:150000" in that table. So far I am solving that by ...
martin's user avatar
  • 301
8 votes
2 answers
2k views

How to count points within the current Print composer atlas feature in QGIS 2.8?

In the print composer when generating an atlas, does anyone know how to show he feature count per each atlas coverage feature? For example, I have generated an atlas where each map is a different ...
Weevils's user avatar
  • 243
3 votes
1 answer
2k views

QGIS 3.16 - Print layout grid coordinates in DMS?

I am trying to create a grid with coordinates printed in degrees, minutes, and seconds in print layout of QGIS 3.16. The project is defined to EPSG:32652 WGS 84/UTM Zone 52N. When I go to Grid > ...
jjun's user avatar
  • 33
8 votes
1 answer
2k views

Re-opening hidden panels in print composer

I unfortunately deleted the menu (QGIS 1.8.0) in print composer (settings for labels, etc). How do I display it again? The menu is gone in all my projects.
oppia04's user avatar
  • 725
7 votes
3 answers
3k views

How to add the current project path in Print Composer?

I'm trying to demonstrate to my company that we can begin using QGIS in conjunction with (and sometimes even instead of) ArcGIS and MapInfo. I've started setting up some layout templates but have run ...
Fezter's user avatar
  • 21.7k
6 votes
1 answer
2k views

Printing only selected features in report QGIS 3?

My layer has more than 2900 elements, and I would like to release a map with 1 or 10 or 50 selected elements but never 2900 in the time. I can't select them other than visually (no column to identify)...
user138010's user avatar
5 votes
3 answers
1k views

Use text diagram for labeling in QGIS

I created text diagrams for my polygons and want to juse them as labels in the print layout. Is there way how to adjust the Textsize of the diagrams? I was thinking about labeling the centriod of the ...
user154532's user avatar
5 votes
3 answers
4k 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 ...
Stu Smith's user avatar
  • 7,649
4 votes
2 answers
2k 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 ...
GEPuser's user avatar
  • 41
4 votes
1 answer
3k views

Programmatically exporting composition as image from QGIS?

QGIS Print Composer has tool "Save As Image" and I found appropriate function in QGIS source code exportCompositionAsImage. Is it possible to get access to existing Print Composer from Python console ...
drnextgis's user avatar
  • 6,848
40 votes
2 answers
39k views

Setting print layout to portrait using QGIS 3?

I can't get the print layout to appear in portrait. It opens in landscape and Layout/Page Setup... allows for portrait, but the layout canvas remains in landscape. In 2.18 the "Composition" Panel ...
David's user avatar
  • 403
19 votes
2 answers
16k views

How to add a halo to a text in the composer?

I would like to add texts with halo, in the composer (not in the map). Do you know a way to do it? I'm using QGIS 2.0.1
cd44's user avatar
  • 301
16 votes
5 answers
6k views

Setting composer layout units to inches in QGIS

I open a new composer and select ANSI A for my paper. The notation after the name is "Letter; 8.5inx11in", but the width and height are displayed in mm, and the units selection is grayed out, so I can'...
Llaves's user avatar
  • 5,871
13 votes
4 answers
2k views

Synchronizing views in QGIS print composer?

I found a question very similar to my problem: How to link dataframes in ArcGIS or QGIS?. But the solution for QGIS doesn't work now (Dual View plug-in is not available anymore). I want to sync three ...
aldo_tapia's user avatar
12 votes
1 answer
26k views

Adding Multiple Maps in QGIS Composer?

I am working with QGIS Composer 2.0 and I would like to add a second map. What I would like to do is to have a main map that takes up the majority of the print area. This map, Main Map, will have ...
Ryan Garnett's user avatar
  • 9,419
12 votes
1 answer
4k views

Where is composition tab in QGIS Composer to change page size?

I am trying to change the page size in the QGIS 3.0 Composer but I am not able to see the Composition tab. I have right clicked an empty space in the toolbar but did not see anything about ...
GreyHippo's user avatar
  • 2,170
11 votes
2 answers
2k views

Clickable HTML link in QGIS print composer pdf export?

According to qgis help files here: 'Labels can be interpreted as html code: check the checkbox Render as HTML. You can now insert a url, an clickable image that link to a web page or something more ...
Jesse McMillan's user avatar
7 votes
2 answers
840 views

Map extent matching permanently main canvas extent

Refreshing the map extent on QGIS's composer requires to click on Set map extent to match main canvas extent I was wondering if there was a possibility to have a map extent (in the composer) that ...
Remi.M's user avatar
  • 119
5 votes
2 answers
5k views

Setting up QGIS print composer options from Python console [closed]

If I have a print composer called "ABC", I would like to "tell" its composer that I would like to update "Map 0" to simulate the "set to map canvas extent" ...
n1kn0k's user avatar
  • 499
4 votes
2 answers
1k views

Getting extent of composer map in PyQGIS?

In answering a labeling question: Changing to alternate label if first label does not fit in QGIS? I found myself wondering if there was a way to programmatically get the extent of a composer map so ...
Jesse McMillan's user avatar
2 votes
1 answer
1k views

Why do labels in exports using HERE tiles appear tiny?

I am trying to export images from the QGIS print composer, the exported image has a basemap that is loaded from an XML file following this questions method. The export doesn't look at all like the ...
hselbie's user avatar
  • 951
20 votes
1 answer
27k views

Exporting map with transparent background in QGIS

I have gone into Composer and specified the page background to be transparent. It still comes out white. Is there a solution?
Geoff Fox's user avatar
  • 325
11 votes
1 answer
11k views

Is there any other option to display DMS grid and graticule in QGIS Print Composer?

Is there any other option to display DMS grid and graticule in QGIS Print Composer, since there is no plugins available yet?
Danny Palomo's user avatar
10 votes
2 answers
4k views

Adding coordinate system to layout in QGIS composer?

I would like to know if there is a way to add a dynamic coordinate system field into a QGIS composer layout. I can use an expression to add many items such as document name, file path, etc but I can;...
Ben's user avatar
  • 879
7 votes
2 answers
2k views

Setting layer name in composer legend as "Hidden" using PyQGIS?

Is there a way to hide a layer name in the composer legend using pyqgis as we do from the legend properties (see picture)? The only way I've found so far is by changing the layer name in the composer ...
DMS02's user avatar
  • 597
7 votes
2 answers
2k views

QGIS styling a legend

I am a newbie working on QGIS 3.6 / Windows 10 I need to style a legend for map with headings and sub headings The main divisions of the legend item need to be subdivided into sub-classes i.e. The ...
Antje Holderbach's user avatar
6 votes
1 answer
6k views

Problem with print composer when exporting a map with Google Maps Plugin in the background [duplicate]

Whenever I try to export a map with the Google Maps plugin in the background, it exports but just exports to a blank document. When I turn the Plugin off so it is not in the background, it prints fine....
Matt's user avatar
  • 61
5 votes
3 answers
4k views

Why are size-scaled symbols missing from map layout legend? [closed]

I have a designed a map using a scaled simple marker symbol. It is a rule-based design and symbol scaling is done by the siye assistant based on a field value for any of the rules in the same way. ...
robert tuw's user avatar
4 votes
1 answer
3k views

Changing frame in print composer of 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 ...
Nitzan Matan's user avatar
  • 2,817
3 votes
1 answer
1k views

QGIS Map Composer goes blank, outputs corrupt PDF

I am using 64bit 2.10.1-Pisa on Windows 10. When I set up my composer to print, everything looks fine until I try to print or export. The composer goes completely blank and outputs a corrupted PDF ...
Karl Grandell's user avatar
33 votes
1 answer
24k views

Getting legend label on multiple lines in QGIS?

This question was posted in 2011, and someone has said that QGIS now allows multiple lines for legend entries, but no one mentioned how to do this. I am running wein 2.8.1 and I cannot figure out how ...
T.O.6's user avatar
  • 947
17 votes
3 answers
827 views

Sorting attribute table by hidden column in QGIS Print Composer

In a QGIS 2.18.20 attribute table I have some values with random numbers, but at the print composer I want to show them with order (clockwise). So I made a new integer column, and added numbers with ...
Pitheas's user avatar
  • 721
16 votes
2 answers
3k views

How to create a histogram legend in QGIS print composer?

I've found this blog post while looking for a way to dynamically build a graph (histogram) in print composer. The feature I want to replicate from the blog is drawing static rectangles in the qgis ...
hselbie's user avatar
  • 951
11 votes
5 answers
22k views

Resizing the map item in QGIS print composer without changing scale?

Is it possible to lock the scale in the QGIS 2.0.1 print composer? Every time I resize the map, the scale is adjusted. This makes trying out different map layouts really annoying.
tobias47n9e's user avatar
  • 1,201
11 votes
2 answers
15k views

How to create a zoomed in portion of a map in print composer?

I posted a question yesterday about troubles I was having with labeling (which are still plaguing me), but it hit me today that it would probably be easier for me to just create zoomed in sections of ...
Lauren's user avatar
  • 1,822
10 votes
1 answer
1k views

How to fill composer map with canvas data and export composition as png using Python script in QGIS

I'd like to create a Python script in QGIS that will take some data (shp + tif, in my example), use tamplate Map Composer (from a file) and export created composition to a png image. With almost no ...
hans80's user avatar
  • 101
10 votes
3 answers
6k views

Is it possible to change legend symbols in the QGIS print composer legend?

I have some layers with very complex data-defined symbols. If I use a legend in the print composer these symbols are not drawn correctly. Is there a way to change the legend-symbols with pyqgis, so I ...
Thomas B's user avatar
  • 7,759
9 votes
3 answers
2k views

Creating and manipulating an HTML frame in QGIS 3.2.0 Print Composer using PyQGIS

I'm trying to create, reposition and resize an HTML frame in a QGIS 3.2.0 Print Composer layout using PyQGIS: proj = QgsProject.instance() comp = QgsPrintLayout(proj) blockStats = QgsLayoutItemHtml....
Gareth Jones's user avatar
9 votes
3 answers
10k views

Importing Composer Template into QGIS Print Composer

How can I import a .qpt-file into Print Composer (Composer Manager) in QGIS? I've tried saving it in the composer_templates folder but to no avail.
DCourt's user avatar
  • 315
9 votes
2 answers
4k views

Displaying multiple attributes in QGIS Composer legend

I have a polygon layer which has a number attribute and a text attribute. When I make a legend in the composer, it automatically chooses the number to display while I would like to have both the ...
Gin's user avatar
  • 450
8 votes
3 answers
2k views

Subdividing scale bar segments using QGIS

How can I subdivide the scale bar segments in smaller subsegments? I want to style my scale bar like this:
parallax's user avatar
  • 1,472
7 votes
3 answers
4k views

How to create a reference grid in QGIS print composer?

Is there a way to create what is called a 'reference grid' in ArcMap using QGIS print composer:
DPSSpatial_BoycottingGISSE's user avatar
6 votes
4 answers
1k views

Annotation Scaling

I made a map with annotations in QGIS 3.0. This is how it looks like in the layout view: If I print the map as PDF, one would expect to get the PDF to be WYSIWYG, right? However, it looks like this (...
Propeller's user avatar
  • 183
6 votes
1 answer
6k views

Can I Turn Off or Remove Map Layers in QGIS Print Composer

The title pretty much says it all. I have a base map in QGIS that I am using with several Print Composers. In one of the Print Composers, I don't want one of the layers to show up. Is there any way ...
Bill's user avatar
  • 93

1
2 3 4 5