Questions tagged [print-composer]

Print composer provides growing layout and printing capabilities in QGIS.

1
vote
0answers
27 views

Listing features and their respective map grid in QGIS

I am trying to list map features and the Reference Grid they fall into. The grid is setup in the Print Composer as a 50mmx50mm grid over a 400mmx400mm map with Cells Labeled as 1A, 1B, etc.. I didn't ...
1
vote
0answers
89 views

QGIS - Problem with Print Layout - blacked out sections on map (QQIS 3.2.1-Bonn)

I am experiencing a problem with Print Layout. When importing my map, random blacked out sections are appearing.
4
votes
2answers
311 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....
2
votes
0answers
97 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://...
4
votes
1answer
604 views

Make legend in QGIS only show features in the view extent?

I am trying to create a legend in QGIS 2.18.22 so that it only shows the features that are in the current map extent in the print composer. I have been selecting the 'only show items inside current ...
1
vote
0answers
67 views

Layer length statistics in print composer QGIS

In a QGIS composer, I would like to add a text label with the calculation of % of length of the total layer with a specific feature value. My layer is composed of roads lines and I would like to ...
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 ...
4
votes
2answers
139 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 ...
1
vote
1answer
276 views

How to create a polygon from a Print Composer or Print Layout map extent in QGIS?

How do you create a polygon from a QGIS Print Composer or Print Layout map extent (i.e. a polygon that is the exact area shown in a map within a print composer/layout)? Ultimately I would like to do ...
2
votes
1answer
62 views

Displaying length of feature on page in print composer?

I'm making a map for a walking trail in QGIS. In the below screenshot, the red line is the trail. The trail is about 60km in length in total, but on this page of the map, the trail is about 23km long ...
0
votes
0answers
46 views

How to get WYSIWYG of raster layer in print composer in QGIS? [duplicate]

I currently have a base raster layer from OSM Standard used in my project. In the regular editing platform for QGIS, the place identifiers for cities are easily readable. However, once I enter layout ...
2
votes
0answers
67 views

QgsVariableEditorWidget does not save changes

I would like to edit the variables of a composer item in QGIS 2.18.x. The widget itself is working so far. In my example, I am selecting a QgsComposerLabel called "Plankopf" to show its variables. ...
7
votes
1answer
467 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 ...
1
vote
2answers
852 views

Setting map up to print to scale in QGIS?

I am having a problem trying to get maps to print to a specified scale. Goal: to print a map to scale so that an engineer's scale (ruler) can be used to measure features on the printed map. Problem:...
0
votes
1answer
238 views

How to open saved QGIS layout in layout designer with Python?

Is it possible to open saved layout in layout designer(print composer) with Python? QGIS Python API: openLayoutDesigner(self, layout: QgsMasterLayoutInterface) → QgsLayoutDesignerInterface ...
0
votes
0answers
15 views

How to get WYSIWYG of raster layer into layout mode in QGIS? [duplicate]

I currently have a base raster layer from OSM Standard used in my project. In the regular editing platform for QGIS, the place identifiers for cities are easily readable. However, once I enter layout ...
0
votes
1answer
196 views

QGIS : how to get selected feature “state” to filter data in QGIS Composer

In a QGIS layer, I have selected some entities. Is it possible to show these in a particular way using style definition using a "state" like $currentfeature or @atlas_featureid ? The goal is to ...
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.
1
vote
0answers
55 views

Forcing legend entry to display markers in QGIS

Is there a way to force the patch in the legend to include a loosely spaced marker symbol in QGIS print composer? I'm using a large, loosely spaced marker symbol to represent wetlands in a map I'm ...
1
vote
1answer
311 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 ...
0
votes
1answer
359 views

Draw Coordinates problem in QGIS map composer [closed]

I'm new to QGIS and am having trouble with the Draw Coordinates feature in Map Composer. Extensive Googling has not provided any solutions. With reference to the attached image, the coordinates around ...
2
votes
2answers
642 views

Creating QGIS text label in composer calculating values from attribute table?

I am working with QGIS 2:14, for now, I have a qgs project with a lot of layers and I want to create a label in the print-composer with the result of a calculated expression from one of this layers. ...
1
vote
0answers
140 views

OSM XYZ Tile rendering incomplete

I'm not sure if there is a fix for this, or if I am encountering a bug. I have 2 layers. The base layer is the XYZ Tile for OpenStreetMap and the top layer is a 1-channel raster, set to 50% ...
1
vote
1answer
126 views

QGIS 2.8 Composer - extent / overview … change style

I have a working overview setup with a general map and a detail map. Since scales are pretty much different - general 1:100.000 and detail 1:750 - I would like to change from the standard style (red, ...
3
votes
1answer
645 views

How to convert legend to graphics in QGIS?

I am trying to convert the legend element in the print composer into graphics, like the option in the ArcGIS: Is there some way to do it with QGIS?
0
votes
0answers
61 views

QGIS Print composer Predefined scale with margin?

I am using the print composer to create a map of thousand different polygon features which also include point features inside of it (these are highlighted on the map if they relate to that polygon). ...
1
vote
1answer
215 views

How to specify projection in print composer instead of in project properties for QGIS?

I am using two map objects in QGIS print composer. One of them should be in WGS 84, being an overview of North America. The other should be in MTM 5 (close-up of a region). I can specify the ...
5
votes
2answers
123 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 ...
2
votes
1answer
265 views

Using QGIS Expression String Builder to display selected multiple layers in a map in print composer

In QGIS, in a Map's item properties, inside print composer, there is an option to "lock layers" (display layers) based on an expression, by using QGIS "expression string builder". I can use as ...
6
votes
1answer
150 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 ...
3
votes
1answer
49 views

Unintended offset when printing atlas

I'm printing a series of maps using the Atlas feature in QGIS. Everything is working fine, except when I print the atlas all of the elements are offset from where they are in the composer. I can work ...
0
votes
0answers
200 views

Filtering a map in print composer

Is it possible to filter a map's layer inside Print Composer, like it is possible to filter a layer in Qgis main window? I have a layer with several points, and I'd like to create several layouts ...
3
votes
0answers
42 views

Remember Save location for image created in composer?

QGIS remembers the last saved location for the image that was last created. Is it possible to change a setting so that this last saved location is remembered per QGIS project file?
0
votes
0answers
51 views

Tiff file output using print composer has blocks of image scrambled (out of place)

I have used 2.18 to print maps to file (tiff) using print commposer. The base layer imported into QGIS consists of NOAA raster tiles. (My problem arises whether or not I have added other layers.) ...
2
votes
2answers
341 views

Creating evenly spaced grid for QGIS composer to show overlap in Map?

I would like to create an evenly spaced, overlapping grid so that I can use the QGIS ATLAS to display a large mapping extent with a little bit of overlap between each image of the Composer. I am ...
3
votes
1answer
2k 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 ...
1
vote
0answers
77 views

Seeking Multiprint plugin for QGIS 3?

I'm working on QGIS3 and I'm looking for a plugin to print multicomposers at once. I know that in QGIS2 there is a plugin (multiprint) that does this, but for QGIS3, I can not find anything similar. ...
1
vote
1answer
67 views

python plugin menu action in Composer menu

I'm new developing plugins for QGIS and am working on a plugin to add some pictures on the Composer layout. I think the appropriate place to have the plugin menu action is in the Composer menu where ...
0
votes
2answers
275 views

QGIS showing decimal degree coordinates in map/layout composer display

I am using QGIS (2.18 or 3.0) to create nautical charts drawing upon NOAA raster tiles and other info (e.g., lines showing magnetic north). I now want to save PDF files for different subareas using ...
1
vote
0answers
18 views

pyqgis composer legend error(no print)

i want to use composer in pyqgis standalone script to create some easy mas using one raster. my output image is correct i have the image but that code cant print show the legend in the map, any ...
10
votes
4answers
581 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 ...
2
votes
1answer
81 views

why a vertical white band appears after saving/exporting from print composer?

I have a problem with my map composer. After exporting images a white strip appears on my map. How can I fix that?
4
votes
2answers
844 views

Unusual behavior of coordinate grid in QGis Composer

The coordinates in the grid in QGis composer display incorrectly when using the "degrees, minutes, seconds" option (or even decimal degrees). It displays West and East in the longitude and North and ...
3
votes
3answers
510 views

Text Annotation not appearing in Print Composer

I am trying to print a map made in an earlier version of QGIS, but now the text annotations are not appearing in the print composer. "Draw map canvas items" is checked on. Am I missing something ...
1
vote
2answers
674 views

Setting the scale text for a spefice map inside a label

I am trying to archive the following: I have a print setup with 3 map canvases. I want to set the scale text for a specific map canvas (lets say its ID is "main_view"). In QGIS 2.14. I can use the ...
5
votes
1answer
346 views

Qgis composer - change the title automatically according to the selected layer?

I'm working on a project where I have to create different maps for the same area. I have lots of maps and each of them is related to a different theme, that I've grouped into different groups of ...
3
votes
0answers
61 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 ...
3
votes
1answer
491 views

Get and Set Lat/Long Extent of Map View in QGIS

I am new to QGIS, and assume this question is a basic one and can be easily answered. However, I was not able to find the answer by trying things out, searching the web, or reading QGIS tutorials. I ...
1
vote
1answer
190 views

Display in legend only features present on a map extent

I have lots of layers with lots of rule-based styling in my QGIS project, although I would like to display in legend for my print composer only those features that are actually present on a current ...
2
votes
1answer
172 views

Exporting map from composer in QGIS - text labels have moved in output?

I am exporting a map from QGIS. I have some text labels for the title of my map, rendered with html. All looks good before I export but when I open my exported map (I have tried exporting to both ...