Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [print-composer]

Print composer provides growing layout and printing capabilities in QGIS.

28
votes
7answers
22k 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 ...
20
votes
1answer
10k 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 ...
19
votes
1answer
912 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 ...
13
votes
2answers
6k 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
13
votes
3answers
3k views

How do I set the composer layout units to inches?

I open an 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 ...
13
votes
1answer
603 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 ...
12
votes
3answers
9k 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 ...
12
votes
3answers
10k 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
3answers
651 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
2answers
2k 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
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?
10
votes
4answers
8k 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 ...
10
votes
3answers
523 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
4answers
545 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
1k 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
5k 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 ...
10
votes
1answer
1k 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 ...
10
votes
1answer
815 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 ...
10
votes
1answer
890 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
2answers
5k 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 ...
9
votes
1answer
37k 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 ...
9
votes
1answer
545 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
3answers
427 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 ...
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
289 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
195 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 ...
9
votes
1answer
3k 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
2answers
2k 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 ...
8
votes
2answers
1k 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;...
8
votes
1answer
3k 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
2answers
5k 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 ...
8
votes
2answers
377 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
454 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 ...
8
votes
1answer
334 views

QGIS run python script upon print composer export

I'm looking for a way to execute a python script upon exporting a print composer. Specifically, I want it to run once for each page exported. (logging some data and possibly updating a database). So ...
8
votes
0answers
255 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
3answers
12k views

How to resize 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.
7
votes
1answer
11k 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 ...
7
votes
2answers
2k 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
988 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 ...
7
votes
1answer
152 views

QGIS print composer export sequence of png images for zoom

I would like to create a 2 second video zooming out of a map I made in QGIS. It starts at 1:300 and ends at 1:4500. At 24 frames a second I need to add 87.5 to the scale and export a png, then add ...
7
votes
2answers
763 views

QGIS Print composer Label Icon in Legend

In a legend of a map I want to label the icon with a number, just as it appears in the map. As example, I have different parcels and every parcel has a number. In the map, the parcels are labelled. In ...
7
votes
1answer
187 views

QGIS Graphical Modeler Add Specific files

When I create a model in the Graphical Modeler Tool I need to add layers using ‘Add File’. When I run the script, I have to add the same files each time (Which can lead to adding numerous files). ...
7
votes
1answer
285 views

How to show draw effects in legend in QGIS

I have edited the features on my map using the draw effects tool (colourize, glow etc). However, in Print Composer, the legend shows these feature symbols in their original form. How can I get them to ...
7
votes
1answer
594 views

Auto wrap legend text based on character count

In QGIS 2.18 there is an option to wrap text based on a certain character. What I need is to automatically wrap my text on the ' ' (space) character IF the character length exceeds the size of my ...
7
votes
1answer
621 views

Getting weird lines in Print Composer QGIS

I am working with QGis 2.8 and want to use the print composer to create a jpg image. I used this PlugIn (https://github.com/jdugge/ClipToHemisphere) to create the globe. The graticules I created the ...
7
votes
1answer
1k views

QGIS - Changing Legend Size with Python

In QGIS, I use the python console to generate image files through the composer. In particular, I am creating a map with a legend. The legend is too big. It occupies about 1/8 of the image. I would ...
7
votes
1answer
444 views

How to rotate QGIS composer map frame to North when using Atlas?

In QGIS, I'd like to use Atlas in the Print composer to generate a series of maps. However, I'd like each map to be printed with "north up". For example, using the classic projection of the United ...
7
votes
1answer
483 views

Accessing and/or manipulating table data in QGIS composer label?

When setting up a map to print using the QGIS Composer, how can I insert a label linked to a specific table record? I have been using the latest development build (1.9.0) which has the new Expression ...
7
votes
1answer
334 views

Print Composer Rotation and Inverted Polygons

I have created a new Print Composer. By default it shows fine as per screenshot: However, when I set the Map Rotation, the Shapefile Layer set as an Inverted Polygon (Gradient) does not cover the ...
6
votes
3answers
1k 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 ...