Questions tagged [layout-manager]
the tool that QGIS includes to create map layouts.
37
questions
0
votes
0
answers
14
views
Scene not set - print layout QGIS
I am trying to add a 3D map to my Print Layout, but when I try to add the map, the map does not appear and instead it says "Scene not set" inside the square where the map should be. I have ...
1
vote
0
answers
74
views
QGIS crashed when exporting from map layout
I am a self-taught QGIS user, and I am making a map of the nature preserve where I work. I was practically finished with the whole project when I ran into this problem. Every time I go to export the ...
0
votes
1
answer
147
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....
0
votes
1
answer
84
views
Export WMS layer with all (even scale-dependent) features
I've got this problem:
I have added a WMS layer to my QGIS map.
The WMS layer contains scale-dependent features. Some features disappear as I zoom in, and some disappear as I zoom out.
I'd like to ...
1
vote
0
answers
27
views
Make one page per a specific attribute table feature in layout manager
I'm a QGIS newbie trying to make things work here. I am working with tree inspections. I gather data with QField to an attribute table which I've created. For example, tree number, tree species, ...
0
votes
1
answer
72
views
PyQGIS adding temporary output vector files to Layout Map item
I have the following layout and map item:
layout = project.layoutManager().layoutByName('Test')
map_item = layout.itemById('Map 1')
map_item.zoomToExtent(canvas.extent())
I have the following ...
0
votes
1
answer
1k
views
Calculate UTM grid convergence using UTM coordinates
What would be the simplest way to arrive at a value for UTM grid convergence for a point given in UTM coordinates?
All advice I can find requires that the point be given in latitude/longitude. For ...
3
votes
1
answer
617
views
Tiled basemap not showing at certain scale in QGIS layout
I'm using a certain tiled base map and am encountering difficulties with scaling in the layout-manager within QGIS.
For instance the QGIS project shows the basemap at scale 1:750, but the layout ...
3
votes
1
answer
214
views
Straight lines appearing on print layout for ortho projection
I've created an orthographic projection map, and have added it to a print layout. When I then add a lat/lon grid at 10 degree intervals I get straight lines across the image as well as the curved ones ...
4
votes
1
answer
505
views
Setting bookmark in QGIS properly
I have some trouble setting the bookmark in the canvas the way it fits perfectly the extent in the layout manager.
The easiest way would be to be able to set the bookmark in the layout manager itself. ...
1
vote
0
answers
48
views
Reference table insert point based on another table in QGIS Layout
I want to create a Layout in QGIS that contains two dynamic Attribute tables (based on an Atlas), stacked one on top of the other.
I want the top table to move based on the size of the bottom one.
I ...
1
vote
1
answer
315
views
Getting correct scalebar on multiple maps in single map layout using QGIS
I am making a map with two main maps and a single inset map for context. My scalebar appears to be showing the correct scale for the inset map, but when I add a scalebar to one of the main maps it is ...
2
votes
1
answer
438
views
QGIS: Layout Manager->Legend->Format numbers
In a layout, I have a legend with concentrations that are very low values with high precision. The preferred option is scientific notation. I employed the recommended expression in Is it possible to ...
5
votes
1
answer
253
views
Dynamically placing labels relative to their predecessor in a multi pages atlas
I have a QGIS 3.22 vector layer which comes from an OGC API - Feature provider (WFS-3). This service is feeding features as large GeoJSON objects, all with the same structure but which content (mostly ...
3
votes
2
answers
575
views
Independently editable report/atlas pages using QGIS
In QGIS 3.16. I've created an atlas layout based on a polygon layer. There is one page per feature, with various objects in it including maps, labels, html objects, and images for that feature.
What ...
0
votes
2
answers
501
views
Removing Gray lines that show up in layout editor
I have been trying to find a way to remove the gray lines appearing when I try to transfer a map from the QGIS project screen into the layout editor.
These lines do not appear in the aerial imagery, ...
1
vote
1
answer
704
views
AutoCAD DWG header to QGIS Layout
We would like to implement a header into QGIS layouts. Problem is that the header we received is currently drawn/prepared in .dwg format.
Is there any quick solution to avoid redrawing of received (....
2
votes
1
answer
710
views
Loading WMS layer into QGIS Project through Python standalone script
I can load WMS layers by coding on QGIS Python console, those are the codelines:
# Google Satelite URL wms
url = 'type=xyz&url=http%3A//mt1.google.com/vt/lyrs%3Dy%26x%3D%7Bx%7D%26y%3D%7By%7D%26z%...
2
votes
1
answer
153
views
Organizing legend symbols in more than one column using QGIS
Is there a method to organize the legend symbols in more than on column in QGIS layout manager?
For the same label I want to have a symbol that represents the actual situation and one that represents ...
2
votes
1
answer
63
views
Layout manager map-element
I am wondering if there is some shortcut when you want the map element to update map-position to the position that the main window is showing, anything else can be the same (scale and so on)
Now am I ...
1
vote
0
answers
35
views
Loading legend items with hidden label by default in QGIS
Is there a way to set up the loading of the legend items in the layout manager with hidden labels by default? I can't seem to find the settings for that if there are any.
0
votes
1
answer
549
views
Changing layout output DPI and dimensions using QGIS Python
I would like to use Python to change the DPI of my map image files, I am not sure where in my code I need to add this line.
from qgis.core import QgsProject
from qgis.core import QgsPrintLayout
from ...
1
vote
1
answer
1k
views
PyQGIS control creation Atlas Layout
I have an Atlas Layout and the process of creating the JPG or PDF is very long, and that is why I would be interested in the program informing me what file is being created at that moment and how much ...
0
votes
1
answer
139
views
Adding Grids in Project Manager of QGIS
I am using QGIS 3.12.
I am new to QGIS after having worked with ArcGIS Desktop for a while. I am having issues with adding a grid to my project.
I am using CRS ESPG:3587 WGS 84 / Pseudo-Mercator and ...
2
votes
1
answer
142
views
PyQGIS 3 Disable save project in print layout and report manager (layout menus and gui buttons)
I would like to know how I can disable the 'save project' option in the QGIS print layout and report manager layout menus. I would also like to disable the save button on both gui's in PyQGIS 3.
For ...
1
vote
0
answers
86
views
QGIS Print Layout Vertical Graduated or Continous Legend Bar
I would like to replicate a legend bar design from a map that I assume comes out of ArcGIS:
Is this possible in QGIS without using external software like illustrator?
4
votes
1
answer
882
views
Excess decimal points showing on QGIS layout grid
I am using QGIS 3.8.1.
The intervals of my grid are 1.2cm and the labels are set at a 0.6cm offset so they are placed in the middle. I used the draw coordinates custom option to enter my own ...
3
votes
2
answers
415
views
QGIS legend in layout manager
I have offset some data points in QGIS but I want my points to stay aligned in the legend? It looks funny when points aren't lined up. Anyway I can do this?
0
votes
0
answers
291
views
QGIS 3.4 Layout manager, attribute table, scale of map
I am trying to produce maps faster than I currently do. I was thinking to use the "show only features visible within a map" option. I already use it for the coordinates table and I am trying to add ...
3
votes
0
answers
151
views
Bad positions of items in saved template
I work with QGIS 3.8
I saved project with print layout which looks good even if I open it again.
Also I saved template of it - but when I create a new layout and open that saved template - it is all ...
4
votes
1
answer
315
views
Getting list of layers when opening a QGIS project on a standalone app?
I am trying to make a standalone QGIS app to read a .qgs file for rendering an image based on the vectors using LayoutManager.
The problem is that when I try to print project.mapLayers() I get an ...
3
votes
1
answer
1k
views
Showing layout of layout manager from Python console or Python script QGIS 3
How can I show/open layout '2019_A' of Layout Manager from Python console?
How show window layout specific?
I checked in menu Interface Customization, mActionShowLayoutManager and I do not know how ...
3
votes
1
answer
542
views
Editing a map created with PyQgis3 in Qgis Print Layout
I create a new print layout using PyQgis and then I open it in the layout designer. Everything seems ok till I try to refresh the page or update the map extent, then map disappears.
project = ...
2
votes
1
answer
540
views
Duplicating layout with PyQGIS 3
I want a script in PyQGIS 3. For example:
This code creates a layout "2019_A4" and adds Layout Manager. I need a code to make the same in QGIS 3 using the QgsLayoutManager with the ...
2
votes
1
answer
3k
views
How to change layout DPI in QGIS 3?
I am trying to change the DPI of QGIS3 (3.6) in the layout manager.
However, as the Figure below shows (lower left corner), the DPI (300 by default) seems to be read only.
I tried to click the ...
2
votes
0
answers
366
views
Rendering Google Terrain in QGIS Layout Manager
I am using the Google Terrain map (via XYZ Tiles).
This seems to make the system very slow, and when making a .jpeg through the Layout Manager, the Google Terrain will not display (render) when ...
7
votes
1
answer
4k
views
QGIS 3.2: Where are layout files stored?
I am changing computers at work and I want to be able to bring all of my old layouts (the ones accessed through the layout manager) over to my new computer. Each layout is set up on a particular ...