Questions tagged [print-composer]

Print composer provides growing layout and printing capabilities in QGIS.

Filter by
Sorted by
Tagged with
7
votes
2answers
1k 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 ...
7
votes
1answer
1k views

Automatically Show the Page Number of Atlas QGIS

How can i show the page number of a atlas on QGIS? I don't want to use an attribute, i just want to QGIS to automatically show de page number. I believe that is a simple tool, but i Can find a way ...
7
votes
1answer
194 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
960 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
367 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
2answers
1k 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 ...
7
votes
1answer
176 views

Using QGIS variables within SVG graphics

If you use SVG symbols within QGIS you can use params like these so you can adjust properties interactively in QGIS: fill = param(fill) fill-opacity = param(fill-opacity) stroke = param(outline) ...
7
votes
3answers
200 views

Set background or text color depending on expression in an attribute table in QGIS composer

I am using QGIS 3.0.2. I am working on a print composer including an attribute table. I would like to set different colors to each rows, depending on an expression, refering to an attribute. I didn't ...
7
votes
2answers
1k views

Make part of legend label italics either for layer header or items in QGIS Print Composer

I am using QGIS 2.18. I want to make PART of a legend label/heading italic within print composer when creating a map layout (for example make part of my label italic if its a botanical name and keep ...
7
votes
2answers
920 views

QGIS Print Composer Grid Draw Coordinates line offset

I have had a good google about this and can't find anything on it. is it possible to offset grid labels from the grid basically trying to move the label to where the red lines are on this crude ...
7
votes
1answer
322 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
2k views

Changing Legend Size with PyQGIS [closed]

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
1k 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
683 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
800 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
496 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
456 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 ...
7
votes
1answer
378 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 ...
6
votes
1answer
11k views

How to remove layer names from the print composer legend?

I'm creating a map in QGIS Composer that is the result of two merged layers. The legend (screenshot below) is adding two rows with the titles of the layers. The edit property sheet does not give me an ...
6
votes
1answer
521 views

Styling currently used feature of the Coverage layer of Atlas

I am looking for a way to define a different style just for the currently used feature of the Coverage layer of Atlas. The image below will hopefully make it clearer: the left side is how my ...
6
votes
1answer
706 views

Creating new print composer programmatically? [closed]

I would like to create a print composer (e.g. A3 landscape) containing a single map with a few lines of code. I do not need legends, labels, scale bars and so on. Does anyone know how to do this?
6
votes
1answer
427 views

Attribute table trailing zeroes missing in Print Composer

I have QGIS 2.18.3 installed. I'm trying to create a printable .pdf map with QGIS Print Composer. It needs to have X & Y coordinates listed in an attribute table, with 3 decimals accuracy. Print ...
6
votes
2answers
158 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 ...
6
votes
1answer
2k views

How to add pages in print composer

Is it possible to add more than one page to a QGIS print composer project? For example one sheet for the map and another sheet for the legend and some other information.
6
votes
1answer
250 views

Adding date to label in QGIS Atlas composer?

I'm trying to add the current date into a label for use in a composer for colleagues to run on a daily basis. The label is currently; Bins to be delivered: [% "Count" %] All I need to add is the ...
6
votes
3answers
2k 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 ...
6
votes
2answers
271 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 ...
6
votes
2answers
197 views

Is it possible to put the projection of a map of a layout in a text label in a layout in QGIS?

I would like to be able to have a text label in a print designer with the information of the projection of a map in QGIS. That way, if I change the projection of a project, I would change that ...
6
votes
1answer
8k views

Creating QGIS Print Composer map templates?

The company I work for has asked me to create a number of templates for the different maps we include in our reports. What would be the best way of creating templates (logo, scale bar, legend). Is ...
6
votes
3answers
3k 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:
6
votes
1answer
430 views

Print Composer with semi-transparent raster but full opacity in legend

I am trying to make a map with a semi-transparent (60%) raster layer overlying an areal photo (raster) base map. This works fine and looks good but when I add a legend to display the values of the ...
6
votes
1answer
1k views

Go through items in a composer legend (QGIS 2.6)

I'm trying to develop a plugin in QGIS 2.6, which opens a composer, add a map and a legend, and (among other things) adjusts the legend. Is there a way to go through items in a composer legend with ...
6
votes
1answer
4k views

Why is the map content not displayed when I reopen Print Composer? [duplicate]

I just updated from QGIS 1.7 to 2.0 on Mac. When I now open a project and create a map in the print composer the content of the map is lost when I open the project again later. The settings of the ...
6
votes
2answers
796 views

Load frequency histogram in Print composer

I'm a QGIS-user and I'm looking for a way to add a frequency histogram in the print composer. The aim of it would be to visualize the distribution of values around the defined class borders of a given ...
6
votes
1answer
432 views

Creating multiple line grid frames in QGIS Print Composer?

I've found an older map with a nice-looking grid frame. How can I create this with the QGIS Print Composer (also programmatically with Python)? I didn't found anything to control the line style of ...
6
votes
2answers
718 views

Print Composer Reference map

Recently started using QGIS 2.18, for basic mapping. I am using Swedish GEO-agancy data shapefiles as bottom layers with my own shapefiles as toplayers (EPSG:3006 (SWEREF99 TM)), including a GPX file (...
6
votes
1answer
278 views

Centrally stored QGIS print templates

In my organisation we would like to have a set of organisation configured print templates. It would be convinient to stores these at some central location so we only have one copy of the templates. ...
6
votes
1answer
630 views

How to make my programmatically added map items show up in the composer items list?

I try to make a composer via python. I add item, make a composer view and open, but i can't see item in "Items" dock. Also, when i select it, i don't see item properties in "Item properties" dock. ...
6
votes
2answers
2k views

Why do quickmapservices basemap labels shrink when printed?

I am using QGIS with quickmapservices for my basemaps. In the composer the image looks good, with labels appropriately sized. When I go to print the PDF however, the scales on everything is much ...
6
votes
3answers
719 views

Is it possible to subdivide scale bar segments in QGIS?

How can I subdivide the scale bar segments in smaller subsegments? I want to style my scale bar like this: To make the question clear I edited the posting.
6
votes
2answers
398 views

Preventing Symbols offset in map from being offset in legend of QGIS?

I've been searching for a solution to this, but cannot seem to find an answer. I have a map where some stacked markers have been offset to be visible on the map. This makes their symbol offset in the ...
6
votes
1answer
308 views

Automatically appending the CRS name in composer?

I'm trying to find a way to automatically append information to a text box in the QGIS print composer. I've figured out how to call my user name, project name, date and other information, but I'm ...
6
votes
1answer
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....
6
votes
3answers
2k views

Altering composer label items in QGIS with Python

I'm only new to QGIS and Python so this may exists already, and hopefully be easy to do. What I'm hoping to do sometime in the future is build a map book generator using QGIS as the base. In order ...
6
votes
4answers
794 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 (...
6
votes
1answer
1k views

How to refresh the view in QGIS Print Composer using Python?

I am trying to automate the printing of maps based on different attribute classifications using Python in QGIS. Everything is okay except for when I open the printed image, the labels are blurry. ...
6
votes
1answer
402 views

Formatting scale bar text with thousands separator in QGIS

I wonder if this is possible. I want to show the text (numbers) of the scale bar in Print Composer with a thousand separator in order to make the labels more readable. All I can do for now is change ...
6
votes
0answers
137 views

Scaling x y coordinates in qgis print composer while using atlas generator [duplicate]

So I am using QGIS 2.18.0 and have made a map template that uses the atlas generator in the print composer. It uses the grids settings for the map to add UTM north and Eastings along the sides of the ...
6
votes
1answer
690 views

Can you set a QGIS print composer to render the map as default?

I have set up a number of templates for the print composer in QGIS. In the Print Composer, there is the option to have the map image displayed in 3 ways: as a blank rectangle with no updates until ...
5
votes
2answers
708 views

How to change legend orientation in QGIS?

I created a legend in the print composer and the default layer orientation is How can i change the legend elements orientation like in ArcGIS? I seeked in the Item properties but didn't found any ...

1
2
3 4 5
22