Questions tagged [print-composer]

Print composer provides growing layout and printing capabilities in QGIS.

Filter by
Sorted by
Tagged with
37
votes
8answers
34k 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 ...
33
votes
2answers
18k 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 ...
32
votes
1answer
15k 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 ...
20
votes
1answer
1k views

Dual-unit scale bar using QGIS?

I would like to create a scale bar for a map displaying a coral atoll. Ideally, showing two different measurements with kilometers being on the top division and nautical miles on the bottom division ...
15
votes
2answers
9k 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
15
votes
3answers
465 views

Sort attribute table by hidden column in 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 ...
15
votes
3answers
4k 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'...
14
votes
3answers
13k views

QGIS Print Composer does not change from landscape to portrait orientation?

Using 2.10.1, I open a new Print Composer and immediately change the Page Setup Orientation from Landscape to Portrait. But the orientation of the screen does not change; it continues to display ...
14
votes
2answers
2k 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 ...
12
votes
5answers
28k views

How to change page size in QGIS Composer

I've made a few maps in QGIS Composer and set them up initially as 8.5x11 page size. I want to begin with that layout and apply it to 11x17 page size. However when I change this in the Page Layout, ...
12
votes
3answers
12k views

How to center a map in Print Composer to the same center as in map window?

I can't figure out how can I center the map in Print Composer to layer/object/map center in the same way as in map window in QGIS 1.8. Let's say I have layer which I want have in the center of the map....
12
votes
1answer
7k views

Creating several maps showing different layers but same area using QGIS?

I know about the print composer's atlas generation tool, which allows users to create multiple maps that show the same layers/features but different geographical areas. What I am looking for is a ...
12
votes
1answer
224 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 ...
12
votes
1answer
771 views

QGIS composer add attribute table with repeating columns

I need some help with QGIS print composer. I use the atlas composer and I try to use add attribute table from layout tab. I have create my expression where I want to print in composer. field ...
11
votes
2answers
3k views

Putting scale bar labels below scale bar in QGIS?

I added two scale elements to my map composition. For layout harmonisation, I want the ticks and the label text below the scale bar. Standard is this: What I want is this (manually changed in the ...
11
votes
1answer
11k views

How to export a map with a 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?
11
votes
1answer
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 ...
11
votes
4answers
9k 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 ...
11
votes
1answer
46k views

How to put North Arrow and Scale on map in COMPOSER in QGIS 2.2.0

I am new to QGIS and the questions asked and answered here about the North Arrow do not seem to help me solve my problem below. In the main mapping pane of QGIS 2.2.0 Valmiera, I can add the scale ...
11
votes
1answer
10k 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?
11
votes
3answers
884 views

How to determine 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 ...
11
votes
1answer
2k views

Automatic map rotation in map composer QGIS

The thing is that I wonder to make it possible to calculate automatically the map rotation in map composer. I have many maps in one file with their own projection parameters, and I would like to ...
11
votes
2answers
839 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 ...
10
votes
2answers
6k views

Programmatically load composer from template and generate 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 ...
10
votes
2answers
2k 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;...
10
votes
2answers
2k views

Is it possible to pan the map in QGIS composer?

I am relatively new to the composer feature of QGIS, and often have difficulty getting the map centred exactly where I want it. In particular the area of interest often moves when I set the scale. Is ...
10
votes
3answers
859 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 ...
10
votes
2answers
8k 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 ...
10
votes
4answers
893 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 ...
10
votes
1answer
2k views

Is it possible to create a round map frame in QGIS Map Composer to create circumpolar maps?

Does anybody know if it's possible to create a round map frame in QGIS Map Composer to create circumpolar maps?
10
votes
1answer
262 views

How to prevent label rendering in bleed space in QGIS composer?

I'm making maps for a book where maps run to the edge of the page. The printer has advised a 3mm bleed space around images, therefore if my page is 127x177 mm, images should be 133x183 mm. This bleed ...
10
votes
1answer
973 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 ...
9
votes
5answers
14k 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.
9
votes
2answers
3k 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 ...
9
votes
1answer
645 views

Automating QGIS project composer printing?

I have a large project which consists of around 10x QGIS project files. Each project contains a print composer with an atlas set up to generate up to 10 maps. What is the easiest way to automate the ...
9
votes
1answer
1k views

Is it possible to print WMTS tile layers with desired resolution / zoom level in QGIS?

I have a project which uses WMTS and some vector layers in QGIS. I can freely zoom in and out, and tiles are refreshed with appropriate zoom level, just as expected. Now I would like to export part ...
9
votes
1answer
334 views

Expression-based labels in scripted Atlas fail to update

I try to follow Programmatically load composer from template and generate atlas using pyQgis to automate atlas print composer using pyqgis : specific in atlas code say : myAtlasMap = ...
9
votes
1answer
4k views

How to create a customizabe table in QGIS Print Composer?

I would like to add a custom table to a map layout created in QGIS. I would like a fair bit of control over the look of the table (borders, background colours of the cells, etc.), and it appears that ...
8
votes
3answers
3k views

QGIS Print composer scale problems

I'm having trouble printing a map with a desired scale. I set the scale to 1:100,000. The page size is 30x30 cm, therefore the real world map extent should be 30x30 km. However, as one can see with ...
8
votes
1answer
15k 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 ...
8
votes
1answer
224 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">...
8
votes
1answer
4k views

How to create an extent indicator in QGIS 1.8 print composer?

I'm looking to put an inset map for my main map frame onto my map layout in QGIS print composer. I would like it to indicate the extent and location of the main map on a larger regional map. This ...
8
votes
3answers
534 views

How to position a guide at a specific point in the Print Composer?

Rather than drag guides onto a print composer, I would like to type in a number to set them at a specific point. Is it possible to do this? E.g. I want to make sure I snap objects to margin guides at ...
8
votes
2answers
241 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 ...
8
votes
2answers
485 views

Overlap map and frame in QGIS print composer

Often in old maps you see where the cartographer has "cheated" by allowing part of the map to extend over the frame. You can see an example at the top (or the bottom of the inset) of this map: Is ...
8
votes
1answer
1k views

Editing Layout-Items after loading a QPT-Template in QGIS 3 with Python

I am facing a problem with the new Layout API while implementing a plugin for QGIS 3. Starting point is a layout template in qpt-Format, which contains different elements like (attribute) tables, map, ...
8
votes
0answers
281 views

Integrating numeric scales into a text or HTML box in QGIS print composer. [duplicate]

I am trying to embed the scale of a map in the print composer expression builder or HTML frame. Effectively the value of the scale in the map item properties would come through into the text and be ...
7
votes
2answers
3k views

QGIS: Legend with more columns in one row

I have two layers (water_supply_design, water_supply_condition). I'd like to create new map with Map Composer in QGIS. In this map, I'd like to have a legend with one row and two columns (Water supply,...
7
votes
2answers
6k views

How to import a 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.
7
votes
3answers
2k views

Updating only one of two maps in QGIS Print-Composer without updating other map

I have two maps within the map composer in qgis. Whenever I want to update one map it updates both maps. How can I prevent QGIS from updating the other map?

1
2 3 4 5
22