Skip to main content

Questions tagged [print-composer]

Print composer provides growing layout and printing capabilities in QGIS.

Filter by
Sorted by
Tagged with
0 votes
0 answers
12 views

QGIS specify map units for a document that does not have a projection defined

I have a QGIS project that does not have a coordinate reference system defined. This is deliberate, as I am working in a simple cartesian x,y model. The units of layer files are meters, and I want to ...
SJC's user avatar
  • 1
0 votes
0 answers
28 views

Displaying specific field values of attribute table in QGIS Print Layout

I am building a layout where I want to add the attribute table of the map and only display the maximum and minimum values of a field. I think there is the option to filter by expression but I am not ...
DobleG_95's user avatar
0 votes
1 answer
43 views

Make position of layout items adaptive in QGIS Layout to avoid empty spaces due to dynamic layout items

In the QGIS Layout manager I have a Legend item and a Label item beneath it. The Legend item only shows items inside linked maps. Therefore the legend height is different by every map I make. To avoid ...
i3-Maikel's user avatar
1 vote
2 answers
49 views

Exporting only one page of QGIS Print Layout

I would like to export a specific page from my layout as I've made an update to one of them. I have 20 pages so exporting them all takes a while, it would be a lot quicker if I could just select which ...
Phoebe's user avatar
  • 341
1 vote
1 answer
29 views

Replacing a simple color fill with flags (raster or svg fill) in a legend print layout in QGIS

If I just add a map legend, then it is obvious that in the legend the signs will appear as on the map itself, with a simple fill: So, is there a way to replace this simple fill with raster or SVG ...
GeoEth's user avatar
  • 385
3 votes
2 answers
73 views

How to add map to empty map frame in print layout of QGIS?

In QGIS, I have created a print layout with a map frame for which I specified the size. When I now load a certain qgis project with data in it, and then create a new print layout from that template ...
i.i.k.'s user avatar
  • 1,709
1 vote
0 answers
80 views

On a QGIS layout, is it possible to obtain a scalebar's zero coordinates?

I have several pages on a layout, each of them has a scale bar. These scale bars' widths aren't fixed, they vary on each page (they are set to "Fit segment width", as you can see on the ...
user99006's user avatar
  • 199
0 votes
0 answers
43 views

How to put an SVG on a point with QGIS Server and GetPrint request?

I am looking to overlay an image file, specifically /data/PR-carre.svg, onto a generated map at specific coordinates x, y. This will create a visual marker or point of interest on the map for the user....
Louis's user avatar
  • 15
0 votes
0 answers
18 views

Setting map extents in print composer using a polygon layer?

I have a group of data points that need to be encapsulated within different polygons. I have used the geometries by expression tool to generate a layer of these polygons. I'm trying to feed the ...
user243940's user avatar
2 votes
1 answer
51 views

Setting map extents in print layout with QGIS Geometry Generator

I have a LineString layer that has geometries generated to draw boxes around them with an additional 10% of the line length added to each end. I then want to use print layout and set the map extents ...
user243940's user avatar
1 vote
1 answer
33 views

Returning an attribute of the intersecting polygon-feature of a point in a QGIS print layout expression

I am working on a print composer layout, and want to dynamically define a text field with an expression. In my QGIS project, I have a vector layer with polygons ("Polygons") with no overlaps,...
Niklas Leykauff's user avatar
0 votes
1 answer
34 views

Automate the extent used in Layout Templates in QGIS

I've created a workspace template for QGIS for the projects we work on at my company. I want to create layers that work with the workspace template for our projects. However, the one thing I'm ...
sarchaeologist's user avatar
0 votes
1 answer
24 views

Printing long distance infrastructure

I am designing a long distance fibre optic network. At the end of my design period I need to do a print to PDF which only follows the route I designed. Because the route is not direct, when I do a ...
Slade Beard's user avatar
0 votes
1 answer
57 views

Printing PDF with N pages in QGIS Server

At present, I can only print one page using a template. However, I aim to enhance my capabilities by dynamically printing multiple pages using the same template. I tried but didn't work : http://...
Louis's user avatar
  • 15
1 vote
1 answer
47 views

In QGIS, how do I format my legend so that layer entry labels don't have the same space as the layer's entry? [duplicate]

It's fairly simple, I'm making a print-layout for my map in QGIS. For spacing reasons, I'd like my legend to be below my map in two columns. However, The length of the layer's label stretches the ...
Phil's user avatar
  • 13
2 votes
2 answers
80 views

Retrieving label boundaries within QGIS Layout maps

Some time ago, I created a custom Python expression function to retrieve the boundaries of manually placed labels in QGIS: from qgis.core import * from qgis.gui import * from qgis.utils import iface @...
christoph's user avatar
  • 5,847
1 vote
0 answers
50 views

Atlas - Legend changing between pages

I'm setting up an atlas in QGIS to export tens of maps as fast as possible. One thing I don't understand is why the legend I put almost always move between the maps. The size is dynamic as some ...
Mr_Yum's user avatar
  • 1,094
0 votes
0 answers
25 views

Cancelling unintentional movement of an object when dragging it in a QGIS layout

Very often when working with a layout in QGIS I select the wrong object because it is higher in the items list. Right at the moment of dragging this object I realize that I have selected the wrong ...
Comrade Che's user avatar
  • 7,251
0 votes
1 answer
59 views

PyQGIS - zoom/fit layer extent to map item layout extent

I have a temporary vector file from a qgis processing.run() (basically a line shapefile temporary output): gis_osm_roads_free_1_lyr = results['Gis_osm_roads_free_1'] I have a map_item: map_item = ...
Marin Marian's user avatar
0 votes
0 answers
15 views

Change coordinate format from Decimal to Degree Minute Second in the Printlayout-Mode QGIS [duplicate]

Hello I am a beginner in QGIS. During my last project I came across the following issue: I have created a Printmap in the Layout menu which is designed in EPSG:32631 obviously the coordinates are ...
Peter's user avatar
  • 1
0 votes
0 answers
45 views

Using HTML legend in QGIS - need clarity [duplicate]

Apparently, there is a new tool for using HTML rendering in QGIS print layout, legend. It has been specified here: https://qgis.org/en/site/forusers/visualchangelog330/#print-layouts under Feature: ...
Lana's user avatar
  • 1
0 votes
0 answers
16 views

Add a frame at a fixed position in multipage report

In QGIS 3.28 I'm trying to create a multi-page report with an attribute table frame on each page. The number of pages depends on the number of points, but each should contain 40 points with some other ...
flisior's user avatar
  • 47
2 votes
1 answer
51 views

QGIS layout, print grid labels beside lines

I am using QGIS (v3.36.1) to make a map for planning purposes. For the layout, I am looking at a map made in some kind of CAD software. It has labels on the gridlines inside the border, which I can ...
MortenSickel's user avatar
  • 3,834
0 votes
0 answers
43 views

QGIS: Labeling text out side of map?

I have some grid lines which have attributes (map 1). Those attribute need to show outside of map area in layout section where arrow is (map 2). How to do that?
Mickeler's user avatar
  • 453
0 votes
1 answer
40 views

Add attribute table in QGIS layout with more than one attribute table as source

I have two attribute tables Table "monthly Inspection" item date A 2024-01-01 A 2024-02-01 B 2024-01-01 B 2024-02-01 Table "yearly Inspection" item date A 2022-06-01 A ...
Stefan's user avatar
  • 74
0 votes
0 answers
37 views

QGIS Layout - Map Frame shows only white and is not accessible

I created a working atlas series in the print composer. After some time the map frame is all white and showing no map, even with disabling the atlas preview. It's impossible to access the map frame ...
Martin Reger's user avatar
0 votes
0 answers
19 views

Print composer custom table with sums for groups

How do I build a result table within the print composer that aggreates the sums from an abundance field (integer) for the responding values? Species Abundance x 1 y 1 x 1 Result Species count x ...
Eric Walter's user avatar
0 votes
0 answers
20 views

QGIS Print Layout scale incorrect w.r.t. physical paper size

I am making a 200x150 cm map of Berlin to be printed, but I'm having difficulties setting up the right scale in the Print Layout. The map should cover roughly 30 km horizontally, which corresponds to ...
braumeister's user avatar
0 votes
0 answers
58 views

geometry_generator not working properly in QGIS Print Composer

I'm working with QGIS 3.34 and trying so draw some lines with a given distance via the geometry_generator: The Pagesize ist 297x1399 mm I draw a shape (rectangle) with Length and Height via @...
reD's user avatar
  • 1
0 votes
0 answers
25 views

Update/refresh Table in QGIS-Layout

I have two tables in my layout. One is a Attribute table (of a polygon layer) the other one a table which shows the Sum of the first table multiply by 2. While the attribute table is updated when ...
Stefan's user avatar
  • 74
1 vote
1 answer
66 views

Changing legend font in QGIS composition using PyQGIS

I'm working with PyQGIS and have a function that successfully adds a legend to a QGIS composition, including layers and their symbology. However, I'm struggling to figure out how to change the font of ...
Diogo Barros's user avatar
0 votes
1 answer
40 views

I can't seem to overlay maps with a transparent background in the map layout like I used to

I have a workspace that I created maybe a year ago that was an evolution of a workspace I've used since before version 3, where I have 3 maps elements in a layout stacked in an overlay (to keep them ...
willemite's user avatar
  • 118
0 votes
1 answer
144 views

PyQGIS blocking in for statement

I have the following PyQGIS script that is a combination of personal edits and graphical modeler: cities_layer = self.parameterAsVectorLayer(parameters, 'cities', context) urban_area = self....
Marin Marian's user avatar
0 votes
0 answers
60 views

PDF Export varies from display in layout view using QGIS

As in QGIS - Lines vary at a certain scale, the problem was solved in the map and layout view, but when I created a PDF, this happened: As you can see, the edges in the layout view are as sharp as ...
Hallensis's user avatar
5 votes
2 answers
421 views

How to curve text in QGIS layouts

I am wondering if there is a way to curve text inserted as text boxes in QGIS print layout. I am familiar with how to curve layer labels. But in this case, I want to curve text that is not tied to any ...
André's user avatar
  • 51
0 votes
0 answers
48 views

PyQGIS calculate the actual map dimensions on a dynamic layout

I'm writing a plugin to more easily create atlas coverage rectangles, which are to scale and can dynamically rotate from portrait to landscape orientation. I've also written in some code which can ...
Elfry's user avatar
  • 1
0 votes
1 answer
53 views

QGIS: freeze frames in print layout

I need to display two map frames (Geology and slope map) in one single print layout A3 format. The problem is that, even if the lock button for Geology map frame is checked (Mappa 1), later, when I ...
SirB1's user avatar
  • 185
0 votes
1 answer
82 views

PyQGIS print map with different aspect ratios

I have multiple maps generated in a pyqgis script. Those maps I want to export them automatically with different aspect ratios in order to be printable on different canvases. This is the list of ...
Marin Marian's user avatar
2 votes
0 answers
41 views

How to adjust the digit size of my numeric scale in qgis print composer

In QGIS Print composer one can add a scale and switch from "simple frame" to "numeric frame" as shown in the following image. How do I change the size of the shown digits? My aim ...
Dennis's user avatar
  • 43
0 votes
0 answers
40 views

Creating automatic page size from polygons

I am new to QGIS, so I will try my best to describe what I am trying to do. I have a line feature, along which I have created an array of the same sized polygons/grey squares. I am trying to create a ...
CaptainFishboy's user avatar
2 votes
1 answer
90 views

How to hide or remove the subgroup labels on a QgsLayoutItemLegend with PyQGIS?

I'm trying to build a layout with pyqgis and I'm not able to hide or remove the label from the caption subgroup as shown in the image below. This is what I have until now: ... legend = ...
Francisco Camello's user avatar
3 votes
1 answer
123 views

QGIS: show attributes of different colums in legend

I'd need to classify and display on a map different land cover symbols by its Corine Land Cover codes, but in the meanwhile I'd like to show them in legend as symbol (based on UDSCOD) + code (UDSCOD) +...
SirB1's user avatar
  • 185
0 votes
0 answers
87 views

Labels automatically changing position from main view to Print Composer

I am working on a basic river map and when switching to the Print Composer, many of my labels are randomly moved. And not only they are changed on the default view on the Print Composer, but they keep ...
Trikelians's user avatar
0 votes
0 answers
33 views

In QGIS Layout "Export as image" predefined settings do not match Page Properties

When setting the Page properties in the Print Layout I expected that these properties are predefined when exporting this Layout as image. But either this seems not to be the case or I am missing ...
jens wiesehahn's user avatar
0 votes
0 answers
17 views

Wrong Coordinates in QGIS Map Grid

These are incorrect decimal degree coordinates for Puerto Rico. Layers are suppossed to be georeferenced or is this common for layer not georeferenced?
kim's user avatar
  • 1
1 vote
1 answer
53 views

Extent of a group of lines in a polyline shapefile

QGIS, shapefiles I have a map with a polyline layer representing streets of a village I have a shapefile without geometry, with the lists of responsible peoples for streets, each of them is reponsible ...
ClaudeVer's user avatar
  • 630
0 votes
0 answers
56 views

Print Layout - scale bar is correct - scale ratio not matching up

I have been asked to include a scale reference to my map of a property. The scale bar seems correct from a sense check but the scale is saying 1:500 which does not match. I would suggest it may be ...
Alex's user avatar
  • 9
2 votes
1 answer
118 views

QGIS - atlas print composer how to display mutiple values when adding attribute table?

I have this attribute table. I locked my atlas generator by county. For each, I want the statistics of all the cities that are in each county. For example : If the page of SICARIO is showed I want : ...
Sarah BOUTARD's user avatar
3 votes
1 answer
71 views

QGIS - Atlas : how to filter the pages of the Atlas?

I generated an atlas with plots in it and I wonder if I can choose what pages I want to keep in my atlas, using the page's number. I have this list for my page. For example, for the abreviation "...
Sarah BOUTARD's user avatar
2 votes
1 answer
113 views

Inserting a layout shape between maps in QGIS

At QGIS 3.34.1, I have created a layout with two maps superimposed over each other. I need to sandwich a rectangle (using Add Item > Add Shape > Add Rectangle) between the two maps. When I ...
Stu Smith's user avatar
  • 8,160

1
2 3 4 5
29