Questions tagged [print-composer]

Print composer provides growing layout and printing capabilities in QGIS.

Filter by
Sorted by
Tagged with
5 votes
2 answers
196 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
1 answer
83 views

Centering layer on QGIS map using Python

I created the print layout using Python and I'm inserting this snippet of code to create a location map, but even though the code works I'm having difficulty centering a layer called municipalities in ...
Raíssa Daher's user avatar
0 votes
0 answers
42 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
39 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
  • 183
0 votes
1 answer
70 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
0 votes
0 answers
39 views

How to change text color of individual words in a text element in QGIS print composer [closed]

In QGIS print composer I have a text element containing one sentence. Within that sentence I would like to give another color to only one word. I already have ideas for a workaround. However I'm ...
Dennis's user avatar
  • 41
2 votes
0 answers
39 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
  • 41
0 votes
0 answers
36 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
56 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
114 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
  • 183
0 votes
0 answers
84 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
29 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
48 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
43 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
108 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
56 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
76 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,192
1 vote
0 answers
51 views

QGIS - layout/ print composer and linking displayed maps

I wonder if it's possible to display a map in the layout/print composer when another is shown ? I have this layer where I've made some statistics with diagrams. It shows the percent of people that are ...
Sarah BOUTARD's user avatar
1 vote
0 answers
30 views

Delete lines on the right of and under the longitude and latitude lines. (0° and 90°) in QGIS print layout

I am using QGIS. I only want the grid lines that have the coordinates 0° and 90°, and therefore need to delete the vertical line on the right and the horizontal line at the bottom. In the grid section ...
Anna's user avatar
  • 11
2 votes
0 answers
30 views

Symbology created with geometry generators renders murky in print legend

I have a style that makes use of the geometry generator for a wavy line: the code is as follows, with units set to mm wave($geometry, 6, 1.5) ) When I export the map as a vector format (...
Beni's user avatar
  • 338
2 votes
2 answers
51 views

Make QGIS report use raster rather than vector images in its PDF export

QGIS reports appear to produce vector images for displayed maps when exporting to a PDF document. This is presumably an equivalent of exporting an atlas or single map to a PDF. This provides good ...
Rostranimin's user avatar
  • 2,980
7 votes
1 answer
132 views

Working with expressions inside variables in QGIS

This is a follow-up based on the question asked and answered here: (Using attributes tables as variables on QGIS), I named all my layouts according to the "map_code" column + a short for the ...
silf's user avatar
  • 197
2 votes
1 answer
30 views

QGIS atlas feature: Storing information from coverage layer in an atlas variable

Using QGIS` atlas feature, how can I pass information from my coverage layer to the layer's rendering engine? At the moment, I'm abusing the Page name in the Layout > Atlas tab like this: "...
z80crew's user avatar
  • 153
3 votes
1 answer
88 views

QGIS print layout: Dynamic text with attributes from different layers with different geometry

I have made a print layout containing a map and 2 different vector layers. 1 polygon and 1 point layer. I have used til polygon layer to control my atlas function. The polygons are fields and the ...
Jonas's user avatar
  • 31
1 vote
0 answers
49 views

Very slow rendering of text tables and maps in the print layout in new versions of QGIS

I'm using QGIS 3.34. In the print layout composer, text tables are very slow. When they have more than 100-200 lines, each movement through the layout takes 2-3 seconds (even if there are no maps ...
Vsevolod Tsukanov's user avatar
0 votes
0 answers
16 views

QgsPrintLayout Scalebar does not update correctly

With Pyqgis, I am trying to automate the creation of layouts using a template. I use QGIS v3.32.2-Lima with Python v3.9.5. In the template, I have a map item and a scalebar item. The scalebar item ...
theonewhodidnotknow's user avatar
0 votes
0 answers
14 views

Make labels in the composer view exactly the same size as in layout view

I currently struggle to get the labels in the composer and the layout view to have the exact same size and beeing at the same position. I need to know that in order to manually place overlapping ...
Beni's user avatar
  • 338
-1 votes
0 answers
25 views

QGIS Print Layout - Dynamic Text Box & Linking With Attribute Table Entry

I am creating a set of maps showing individual polygons (sites) from a vector layer in QGIS and want to include a text box in them which contains an entry from the attribute table. There are 87 ...
Richard's user avatar
1 vote
1 answer
85 views

Dynamically filtering feature count in QGIS Atlas, Legend

I was struggling to filter the legend items ( feature count ) , based on the current feature layer. My atlas layer is a world map layer and the points layer ( that is in being counted in the legend )....
Binu Alexander's user avatar
1 vote
0 answers
35 views

How to automate the design and production of 5 thematic maps in a single layout in QGIS

I am currently working on a project to map cleanliness incidents in all 19 boroughs of the City of Montreal. I must represent 5 variables out of 7 of the top 5 cleanliness incidents reported by ...
ttamba's user avatar
  • 141
2 votes
1 answer
74 views

How to lock the size of the item properties panel in QGIS 3 print composer?

In QGIS 3 (currently running on QGIS 3.28.3 Firenze) the print composer typically contains panels to control aspects of composing (item properties, Atlas, Guides, etc.). . In my case these are ...
Niklahrs's user avatar
  • 183
3 votes
1 answer
118 views

Setting decimal places in coordinate-grid in QGIS Print Layout

I have a grid with coordinates on my map in the Print Layout of QGIS. But in one map I have decimal coordinates that look like this: 12.500°E / 52.300°N And sometimes they look like this: 12°E / 52°...
desputin's user avatar
  • 141
0 votes
1 answer
41 views

Write QgsPrintLayout content into docx file with pyqgis

I would like to know if it is possible to write a QgsPrintLayout object into a docx file, using PyQGIS. Initially, I was asked to write it in a PDF file, but now my client wants it in a docx file, so ...
theonewhodidnotknow's user avatar
1 vote
1 answer
59 views

QGIS map composer remove red cross with condition

In the atlas composer, I'd like to be able to assess whether the path to the image is valid. Something like, but I always have the "photo" attribute (an ID) filled in. I will check the path. ...
pasqal's user avatar
  • 506
1 vote
1 answer
85 views

Aligning scale of map in QGIS print layout to extent of region of interest

I am quite new to QGIS and have managed to create a raster map with some additional labels. But when I want to export the map with some additional text, using Print Layout, the map gets "scaled&...
user232388's user avatar
0 votes
1 answer
39 views

QGIS 3.28.11 problem with duplicates in atlas generator

In QGIS i have a shapefile with around 2000 polygon features. Attribute table has 3 columns: Field, Type and cover. Each polygon feature has a unique field number. There are 163 types. For each field, ...
Stevestingray's user avatar
1 vote
1 answer
118 views

Changing color and font for cell in QgsLayoutItemTextTable object using PyQGIS

I am in the process of creating, with PyQGIS, a PDF file. First I set up the following objects: A value project = QgsProject.instance() A layoutManager object "manager" A QgsPrintLayout ...
theonewhodidnotknow's user avatar
1 vote
2 answers
75 views

Print layout refuses to add map

I am new to GIS. Print layout refuses to add map. This happened after I was playing with some buttons. Scale is set at zero and resets to zero if I try to manually set scale. nb this is not referring ...
terry68's user avatar
  • 13
1 vote
1 answer
80 views

Filtering Atlas coverage layer by current feature in QGIS

I'm working with an atlas in QGIS and have a coverage layer with over 2000 features. Due to the large number of features, it takes a considerable amount of time to load. I'd like to optimize this by ...
lorenzo's user avatar
  • 13
0 votes
1 answer
80 views

Creating an automatic page size inQGIS Print-Layout with a pre-defined scale

How can QGIS Print-Layout with a given scale (eg 1:50000) create an automatic page size and layout equal to the coverage of the selected map layers? I tried it in the page properties, it didn't help: ...
Rudzik's user avatar
  • 121
1 vote
1 answer
112 views

Drawing lat, lon grid over UTM project not working in QGIS 3.32

Goal I want to draw both an UTM coordinate grid as well as a geographic coordinates grid (lat, lon) on a map in the QGIS print layout window as shown here. Setup GeoTIFF layers with tfw files as .zip ...
Pedr Bergfalk's user avatar
0 votes
0 answers
179 views

QGIS Crashes exporting from print layout

So im trying to export my map layout to PDF and no matter what options i select QGIS just closes without warning while it is supposedly exporting. Ive tried with PDF, IMG, TIFF and they all do the ...
boreal's user avatar
  • 19
0 votes
0 answers
85 views

QGIS Map white space issue

I am using GQIS for first time today. I finally got around to taking one of my Pix4d outputs and pulling into QGIS to get contours etc.. so I got it working ok.. My issue I have now is in the project ...
kevin_kss's user avatar
2 votes
0 answers
51 views

QGIS print layout: counting only exported pages

I build an atlas layout containing an attribute table that is spanned over several pages. The attribute table of course is of various length due to the number of objects enlisted. So I set up 10 dummy ...
Alissy's user avatar
  • 21
0 votes
1 answer
45 views

QGIS 3.32 - Composer - display pdf image and export as vector

I need to display a complex vector image in the composer. QGIS doesn't display svg files correctly that way, is there a way to import a pdf via html, and export it as a "true" vector image, ...
On the road to Faraya's user avatar
0 votes
0 answers
19 views

How to show Only rows 95-100 of column in expressions editor in print compositor?

I have two columns: One for the name of regions (column a) and another with index values for the regions (column b). Now I want to show a List for the regions only row 95 to 100 in the print ...
desputin's user avatar
  • 141
0 votes
0 answers
37 views

Batch processing layouts with several shapefiles based on master layout

I'm trying to batch some layouts based on a master layout through the python console in QGIS. Basically, what I'm trying is to generate a layout like the one below and print a *.png of the layout. I ...
Andreas Hansen's user avatar
1 vote
1 answer
45 views

Grids displaying relative instead of global coordinates in QGIS

I have a set of three zoomed-in maps I need to plot grids for. They need to be in degrees, minutes, seconds and relative to the global standard. The grids I was able to plot all show relative ...
Barbara Perez de Araújo's user avatar
2 votes
2 answers
162 views

Hide layers in preview map in QGIS Print composer

I would like to hide some layers in that little preview map on the left bottom corner? See image. I would like to hide the city and country names as well as the airports-layer...
desputin's user avatar
  • 141

1
2 3 4 5
28