Questions tagged [print-composer]

Print composer provides growing layout and printing capabilities in QGIS.

Filter by
Sorted by
Tagged with
10
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 ...
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 ...
6
votes
1answer
628 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
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 ...
5
votes
2answers
604 views

Blank Base Map when exporting from Print Composer

When exporting from composer in QGIS to either an image or PDF the map does not print. I get a white page with only the shapefiles showing up. This happens when the map is rotated 90 degrees. This ...
5
votes
1answer
217 views

Printing a 1" scale from 2.8.2 Print Composer

I'm working on a small-scale site survey in qGIS, and for engineering purposes I need to print physical copies of the map that can be used with an engineering ruler. Basically, I need a way to print ...
5
votes
1answer
340 views

How to set the default values for the ScaleBar in QGIS?

I often insert scalebars (that's quite common) in my maps, but the one set by default doesn't suit me at all. Example : Reference point : default is up and left i need it down and right Segments are ...
5
votes
3answers
488 views

Creating one (png, pdf, etc.) map per feature type from QGIS Composer thematic map

I've got a shapefile that contains thousands of features that can be group by categories. These features are sometime located in the same place so they overlap. An example of the content of my ...
5
votes
1answer
366 views

Text color in the legend of the print composer

Can I use different colors on the legend text for the title, group and object? If yes, how do you do it? My QGIS version is 2.14.12-Essen.
4
votes
1answer
140 views

Is it possible to focus on different (but related) features on the same Atlas page?

I have a map showing a city and its divisons. I have then several features in other layer with the style set to show only the feature designed by the atlas by $id = $atlasid So far so good. Then I ...
4
votes
1answer
2k views

Creating a custom attribute table in qgis print composer

is it possible to arrange header and content of an inserted attribute table in qgis print composer? I want to create a custom datasheet with a small map and listed feature information as follows: I ...
4
votes
2answers
562 views

How to rotate labels by the same angle as the map in the composer?

Does someone know if it is possible to make the labels rotate the same angle as the map in the composer? I'm trying using the expression attribute( $map, rotation) in the data defining placement, but ...
4
votes
1answer
211 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/...
4
votes
0answers
284 views

QGIS Nautical Chart Symbols for sector lights [duplicate]

This is I know going to be of limited interest to many of you but I teach navigation and I am working on producing test questions and charts for assessing learners knowledge. My problem is solvable ...
4
votes
1answer
558 views

Printing centered map from a QGIS project for each point in shapefile?

I need to produce on the order of 100 maps that are centered on each point of interest in a shapefile. I would like to prepare all the layers in a master QGIS project, and set up the composition for ...
4
votes
0answers
347 views

Exporting QGIS Atlas using PyQGIS (qgis.core)

Windows 10, PyCharm, QGIS 3.10 installed via osgeo4w (64bit). I set up a simple QGIS composer layout with a vector layer and a WMS base map on the map layout. The vector layer contains about 10 ...
3
votes
2answers
604 views

pyqgis add a picture

I am looking for a way to add a picture to my map using pyqgis. Are there any examples of how to do this. I know it can be done using the classQgsComposerPicture. I am not much of a programmer so I ...
3
votes
1answer
926 views

Why I cannot export OSM map as a .pdf/.jpeg in QGIS 2.4? [duplicate]

I have installed on my Mac OSX 10.9.5 the version QGIS 2.4. My problem is that I cannot export any OpenStreetMap with the Composer and I do not understand why. The thing is that I imported the OSM ...
3
votes
2answers
245 views

Creating a virtual layer based on a virtual field for dynamic selection in QGIS 3.4?

Working on a PostGIS database, I would like to send to the print composer the selected features only. I'v tried several methods including working with is_selected() expression but the only way that ...
3
votes
1answer
993 views

How to bring feature selection into Printing Composer?

I'd like to make maps of Finland's municipalities. Our National Land Survey provides data I can make into a Shapefile, and when a municipality is selected in QGIS/Identify Features, three different ...
3
votes
2answers
122 views

QGIS Print Composer PDF creation text issue

I am noticing some outline/shadows when I export my print composer to a PDF. Specifically the text within my legend looks as it does in the image linked below. Has anyone else had this issue or know ...
3
votes
0answers
281 views

Ordnance Survey grid reference in QGIS print composer [duplicate]

Is there a way of inserting Ordnance Survey grid reference in a print composer? I know that a grid can be created but I don't wish to insert a grid, I just to need to include the eastings and ...
3
votes
2answers
406 views

Adding a space in the “draw coordinates” “decimal with suffix” in QGIS v2.18.7

I am using QGIS v2.18.7. In the Print Composer I have turned on the "Draw coodinates" option "Decimal with suffix" to add these to my map. However, I need to add a space between the degrees symbol ...
3
votes
2answers
67 views

Set default style for QGIS Composer Items

When creating a Composer Layout in QGIS, it is useful to add multiple items such as text boxes, shapes and arrows. Once I have formatted an item (eg an arrow line) is it possible to set it as a ...
3
votes
3answers
567 views

How to set different page orientation per page in QGIS Print Composer?

I wanted to have portrait for page 1 and landscape for page 2. How could I achieve that in QGIS Print Composer?
3
votes
1answer
992 views

Getting a list of all Layouts in QGIS3

I have created 3 print layouts in QGIS3. Now I am trying to get a list of all layouts in the LayoutManager with python. This is how I am trying to do it(this code is executed in the python console of ...
3
votes
1answer
185 views

Calling and showing photo from layer shown in composer?

What I'm trying to do is to see images from photo-layer that are shown in the composer. There will be 6 images in each map. There will be a datatable from the point layer that contains the path and ...
3
votes
1answer
2k views

How can I change the frame in the print composer in 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 ...
2
votes
1answer
278 views

Printing map portions one by one in QGIS?

I am using QGIS 2.14.2 and I have a map divided into different regions. Each piece have a number assigned (eg. 27). I have a page configured for printing the region (territory) along with 4 pieces of ...
2
votes
1answer
2k views

Exporting aerial imagery from QGIS?

Looked around but couldn't find the answer to my question, so here goes. I am trying to export some decent quality (300dpi) aerial images from QGIS using the OpenLayers plugin. Sometimes it works, and ...
2
votes
1answer
193 views

QGIS 3 export report in Python

In QGIS we have new layout type: Report. I didn't find tutoral to export this in PDF in Python. Where can I find Python code examples?
2
votes
0answers
174 views

How to filter legend by map content in composer with raster layers?

Does the "Filter Legend by Map Content" button in composer of QGIs 3.2 version work only for vector layers? It seems it's a bug reported in 2.18.x version and should be fixed for 3.x versions (https://...
2
votes
1answer
431 views

Loading print layout using an existing template (.qpt) with PyQgis3

I'm trying to load a print layout (.qpt) which I saved earlier via PyQgis. I found this earlier entry, but it's for QGIS 2.x and thus doesn't work for QGIS3: Programmatically load composer from ...
2
votes
2answers
131 views

Is it possible to see the selected geometry in the map composer? And change the appearance of them?

I have QGIS 3.4.4 Madeira. I would like the selected geometry to be seen in the map composer, but I can't find the way to do it. Also, I would like to change the appearance of the selected geometry, ...
2
votes
1answer
169 views

Don't render X when pictures don't exist QGIS Atlas

I have a shape with 2 features and 2 fields: each field represents the path of a picture. The first feature has both field (so 2 pictures) while the second one has just one picture (the second field ...
2
votes
2answers
349 views

QGIS map composer changing legend position when exporting atlas as images

I am having an issue when exporting atlas map series to image. In each map the position of the legend is jumping around by a few cm. I have the position referenced under item properties to the bottom ...
2
votes
0answers
36 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 ...
2
votes
1answer
2k views

Grid and Graticule in QGIS Print Composer in QGIS 2.8

I'd like to add a grid in the print composer. The problem is there is no visible option like it was in previous version. I mean I'm looking for an option "Show grid?" like in the picture below. I can'...
2
votes
1answer
135 views

Changing local coordinate system to WGS84 in QGIS print composer?

I have composed a map where shapefiles, points etc. all are in local coordinate system (l-est). Is it possible to convert it to common WGS84 system? So that in printed map there are coordinates 23....
1
vote
1answer
831 views

Why is there Big Red X in QGIS Composer?

I am working with QGIS version 2.01. I created a print composer to export the map with legend, scale bar and title to an image or pdf. When I opened my QGIS project again and went to my print ...
1
vote
1answer
983 views

Why is the QGIS map composer grid showing unreasonable lat/lon?

I need to print a map with coordinates in the format of Degree, Minute and second. CRS is set to WGS 84 (EPSG 3857) for both layers and on the project properties it is set to enable transformation on ...
1
vote
1answer
169 views

QGIS- how to prevent layers from appearing in legend on composer

My laptop (Lenovo x1) usually crashes When I add legend to a map composer in QGIS (QGIS 3.2 BONN). Problem is that all layers in the project will be "auto-updated" to the legend and this will get my ...
1
vote
2answers
210 views

Atlas map generation in QGIS using point layer only

I am trying to automate generating maps with Atlas using points only. As the snapshot shows the data points for each village is shown by a color. Every four villages fall under one health area. There ...
1
vote
2answers
491 views

QGIS print composer incomplete PDF export

I'm trying to export a PDF of a map of northern Europe. I load a high detail shp (https://www.naturalearthdata.com/downloads/10m-physical-vectors/) Zoom to the area I want (British Isles, North Sea, ...
1
vote
2answers
177 views

QGIS Atlas with insert map

I am making a document with descriptions of how to get to some points of interest. For each point I am making a document that contains two maps, one showing the general overview and the larger roads (...
1
vote
1answer
610 views

Missing icon within legend if layer has a complex styling with QGIS

I'm using a complex styling for a points layer in QGIS, including two markers and a Geometry generator to set up a line between points and labels (see style description in this post). The result is ...
1
vote
1answer
390 views

PyQGIS get existing ComposerAttributeTable from composition?

Working with QGIS 2.14.10x64 in Windows 7 in the QGIS Python Console I've managed to create a new print composer from a template, and update the layers in the map, and I'd now like to update the ...
1
vote
2answers
853 views

Scalebar gives error in measurement in Qgis: Different measurements of distance on OSM tiles and GoogleEarth

I've created a map of Bordeaux using the QGIS map compositor by following this procedure: Used the OSM plugin to display an OSM map and zoomed to Bordeaux Used the print composer to create a map of ...
1
vote
0answers
192 views

QGIS printing shift on WGS 84 Pseudo Mercator base?

I've had this problem before but I'm not succeeding in fixing it using what I thought worked before. This has been brought up as an issue previously, but I'm stuck when I apply the previous answers. ...