Questions tagged [layouts]

Layout refers to the appearance of a map as it is published, including not only the map view itself but any north arrows, legends, scale bars, map titles, neatlines, and so on. Questions should relate specifically to the laying out and formatting of these various map elements on the page, rather than the contents of the map window itself.

Filter by
Sorted by
Tagged with
0 votes
1 answer
62 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
19 views

When exporting a layout in ArcGIS Pro, the colours show as grey when they should not be. How do I fix this?

I have a layout in ArcGIS Pro which shows a Hot Spot Analysis Comparison output. When exporting the layout, the colours on the map do not show - they appear as grey instead. How do I rectify this ...
c_t's user avatar
  • 1
-1 votes
0 answers
30 views

Coordinates in print layout [closed]

I wanted to print the layout with the coordinates, and they appear like the picture below. It does not match the correct coordinates, as it should be between 37°, and 140°. I used the CRS as EPSG 4326-...
Lova's user avatar
  • 49
2 votes
0 answers
53 views

PyQGIS setting scalebar to kilometers

I have a pyqgis script that exports multiple maps. I am using a specific layout and map item. The scalebar should be variable depending on the location. I have the following scalebar code snippet: ...
Marin Marian's user avatar
0 votes
0 answers
24 views

Use one map in multiple layouts but at different scale in ArcGIS Pro

In ArcGIS Pro I have created a map, I also have 3 layouts in the project and I want to use the same map in all of the layouts, but at different scales. For example, one layout is an overview (1:250K), ...
user25644's user avatar
  • 1,059
2 votes
1 answer
48 views

QGIS plugins: dock widget layout is broken

When I create QGIS plugin dockwidget UI in Qt Designer it looks OK: But when this plugin is loaded in QGIS, all controls are small size and sticked to zero location like this: Plugin layout is:
olyx's user avatar
  • 41
1 vote
0 answers
34 views

Sorting ArcMap legend alphabetically

I'm using the ArcMap application of ArcGIS Desktop to make a map and I have many legends. Is it possible to sort legend in alphabet order without manually reordering it?
MapperIndo's user avatar
0 votes
1 answer
49 views

Scale Bar is Invisible on Map Area

In QGIS layout, I have two maps. Both showing the same region. The upper Map (Map 2) creates a whitish background (using difference tool) on Map 1. Now I want to put a scale bar. But it is shown only ...
Mohammad Mohaiminul Islam's user avatar
1 vote
0 answers
36 views

QGIS 3.22.16 Layout: how the Atlas displays only one ID at the time on the map

I am using QGIS 3.22.16. My goal is to create maps for each Tree ID. I used the Atlas tool and dissolved the tree layer. However, the atlas shows several ID trees on the same map (like Atlas image). ...
GIS Noh's user avatar
  • 311
3 votes
1 answer
113 views

Insert label in layout with expression QGIS

I'm using the following expression that works correctly and labels a layer of points with the count function: case when "GRUP" = 1 then aggregate('points','count', "VAUEX", "...
emblematica's user avatar
2 votes
0 answers
34 views

QGIS Legend element order moving when using custom symbols

On QGIS 3.28.14, I have a strange thing happening my legend element even in a simple map layout. Say I have simple two layers, both of them have a rule-based symbology. In a map layout, I create a ...
Mr_Yum's user avatar
  • 1,029
2 votes
1 answer
36 views

QGIS using Spatial bookmarks in Layout Manager

I work with spatial bookmarks on a regular basis, and wondered if there's a way to use them to set the "map extents" in the layout manager in QGIS. At the moment I'm typing/copying them ...
Wolfgang Haak's user avatar
0 votes
0 answers
27 views

Unable to Organize Legend into Multiple Columns in PyQGIS

I'm facing an issue while creating a legend using PyQGIS. I am unable to add a legend with the following code: legend_item = QgsLayoutItemLegend(layout) legend_item.setTitle("Legend") ...
shyZj's user avatar
  • 1
2 votes
1 answer
74 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,172
0 votes
1 answer
23 views

Why is "convert to graphics" not available? ArcGIS Pro layout editing

I am creating a simple layout in ArcGIS Pro. I manually created a legend out of images and text, and put them together in a group layer. I want to convert the group layer to graphics so that I can ...
aferguson22's user avatar
0 votes
1 answer
35 views

How to change the aspect ratio of data frame in ArcMap

I want to be able to change the aspect ratio of data frame in layout view but it seems that there is no way to untick the related option in Data Frame Properties window!!! I tried to use the ...
Sepideh Abadpour's user avatar
2 votes
0 answers
78 views

Change layers names in existing layout legend only

I am currently working on a QGIS plugin with QGIS version 3.34.0-Prizren and Python version 3.9.5. I have a QGIS project containing several layers (the sources are tables from a Postgre database) ...
theonewhodidnotknow's user avatar
1 vote
1 answer
34 views

QGIS 3.22.16. Layouts Atlas option: Adding all the data in the last map of the Atlas

I created an Atlas to get different location maps of one data. Is it possible to add a map at the end of the atlas that shows the data in the entire county?
GIS Noh's user avatar
  • 311
1 vote
0 answers
34 views

ArcGIS Pro's export layout only displays PDFs with an orange/pink hue [closed]

ArcGIS Pro's export layout only displays PDFs with an orange/pink hue. I have reinstalled Pro and other PDF viewers already. All of my color management settings are set to RGB. I already know a couple ...
Noah_GIS's user avatar
1 vote
0 answers
35 views

QGIS layout; Sum values in layout attribute table only in map window

I have produced a layout showing the polygons of grass verges to cut, and have placed an attribute table listing name and area (in m2) on the layout. I have selected 'show only features visible within ...
Jex's user avatar
  • 11
0 votes
0 answers
46 views

TIFF resolution decreases when opening it in the layout (QGIS)

I have a TIFF which I want to put in to the layout in order to add the legend etc. However, when I open it in the layout the resolution decreases significantly. I tried it with the TIFF as well as ...
Lina's user avatar
  • 223
0 votes
1 answer
94 views

Merging two cells in QGIS

I want to merge 2 cells and I can't seem to find anything online, what should I do exactly?
Zahariuc Andrei's user avatar
1 vote
1 answer
29 views

QGIS Map Atlas Expression - How to refer to atlas_pagenumber in an expression for elevation symbology

Can anyone point me to an example of how to refer to the current page number of QGIS Map Atlas layout within an expression for elevation symbology (which doesn't seem possible) or alternatively how to ...
dawrightau's user avatar
1 vote
1 answer
67 views

QGIS Map Atlas referring to a Layout Elevation Profile item - How to refer to an item using its dislayname or id

I am using the latest version of QGIS 3.34 and trying to dynamically edit and update properties for Elevation Profiles in QGIS Map Atlas Layouts. I am hoping to update layer and display symbols and ...
dawrightau's user avatar
1 vote
1 answer
54 views

Setting path for QgsLayoutItemPicture using PyQGIS

In PyQGIS I want to define a path for a QgsLayoutItemPicture. Example: project = QgsProject.instance() manager = project.layoutManager() layout = QgsPrintLayout(project) layout.initializeDefaults() ...
eagleadmiral's user avatar
0 votes
0 answers
15 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
29 views

Decimal degrees in Main Project Map but not in Print Layout Grid

My main map is in decimal degrees (ex. 122.0610 and 6.9119), but when I try to have a Print Layout, the Grid units are different (ex. 396000.00 and 764600.00). I want to maintain the same grid units ...
Wmsu OSicat's user avatar
1 vote
0 answers
39 views

Representing buffer (e.g., +/-10%) around object and displaying predefined "straight" scale in object's representation

I am working on a mapping project in QGIS with the Atlas feature, and I'm facing a specific challenge. I need to generate map representations of individual features in a way that includes a dynamic ...
eagleadmiral's user avatar
2 votes
1 answer
91 views

Formatting parts of labels in an automatically generated legend in QGIS in italics?

I'm working on a legend in QGIS where I'm customizing the labels for different categories. I'd like to format parts of the labels in italics, such as representing the translation of a term in ...
eagleadmiral's user avatar
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
0 votes
0 answers
35 views

Adding an item to layout

I'm using QGIS 3.28.11 and when I create a layout in a raster file, I can add a N arrow and Legend but when I add a scale bar all it shows is a vertical dash line, can't see it in the layout. It shows ...
Marc Bordelon'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
1 answer
51 views

QGIS layout issues - font sizes

When opening a layout template, after having all fonts neatly set out previously we open it to see all fonts have been enlarged and some template lines often move? No body has opened the workspace in ...
Jack Bousfield's user avatar
0 votes
1 answer
84 views

Adding data to existing .aprx layout and zooming to extent of new data using ArcPy with ArcGIS Pro

I need to add data to an existing .aprx layout and zoom to the newly added data extent. Then, I need to export layout with new data as a JPEG. This workflow is not clear online. My data is not in a ....
Clouseau's user avatar
1 vote
1 answer
138 views

How to change the layout DPI for PDF export in QGIS

I am working with QGIS 3.28.4. I have set the export resolution to 300dpi in the layout properties but when I export the layout as a PDF it gets exported at 72dpi. If I export it as png it gets ...
user2054004's user avatar
1 vote
3 answers
119 views

Changing query for layer does not change table inserted in layout using ArcMap

I have a layer in the TOC, with a query on a field. Then in layout view, I insert the table to the layout. When I change the query the table does not update automatically. Then I double click on the ...
MAMDOUH ZALAKY's user avatar
2 votes
0 answers
34 views

Legend text wont align in center if text is on two lines in QGIS Map Printer

How can I align the legend item text in center compared to the symbol on the left if the text is on more than one line? It always aligns to the top...
wenni's user avatar
  • 21
0 votes
0 answers
46 views

Grid settings cause 'Resise layout' to not function properly

Recently the company I work at has made the transition from QGIS 3.10 to 3.28 (the update was long overdue) but now I continue to run into a minor, if not irritating snag. In QGIS3.10, activating the ...
N. Verstraaten's user avatar
3 votes
1 answer
67 views

Remove columns with NULL values from QGIS print layout attribute table

I have an attribute table in my QGIS print layout that only includes features within the map extent. I want that table to only show columns that have non-NULL values for that feature set, i.e. if the ...
JackP's user avatar
  • 313
2 votes
0 answers
50 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
0 answers
71 views

Intermediate values for continuous band legend in layout

Is it possible to add intermediate values in the layout for a continuous band of values? QGIS by default gives me the beginning and the end. I would like to avoid adding them by hand For example I ...
Dennis Grasso'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
3 votes
0 answers
101 views

Position text in lower right corner of a HTML label in Layout

I have a problem with QGIS 3.32.x, where I cannot vertically align HTML labels in Layouts anymore. The following HTML is perfectly aligned in QGIS 3.30, but refuses to align in QGIS 3.32.x: <div ...
christoph's user avatar
  • 5,440
1 vote
0 answers
49 views

How do I put my map into layout view?

My intent is to export my map from layout view, after giving it a title, legend, scale and north star. When I switch my document from data view to layout view, nothing happens. The view of the map ...
Noah's user avatar
  • 11
0 votes
0 answers
65 views

How to set up orientation and margins for a PDF layout in QGIS

My PyQGIS code is exporting the map canvas (plus some other stuff) to a PDF file. The problem is when I try to tailor the PDF layout. I can choose between paper sizes (e.g. letter or A4) without any ...
afernandezody's user avatar
0 votes
1 answer
91 views

qgis._core.QgsLayoutTable represents a C++ abstract class and cannot be instantiated

When i try to access the QgsLayoutTable class it says that it is abstract, but in the documentation it is referred as a builder exactly as a QgsLayoutItemTextTable or QgsLayoutItemAttributeTable. ...
Kabloom's user avatar
0 votes
0 answers
36 views

Adding a QgsLayoutItemTextTable and to a lyout do not give the opportunity to further modify the table from the layout

I am trying something like this: table1pg2 = QgsLayoutItemTextTable(layout) layout.addMultiFrame(table1pg2) cols = [QgsLayoutTableColumn(),QgsLayoutTableColumn(),QgsLayoutTableColumn(),...
Kabloom's user avatar
0 votes
1 answer
82 views

ArcGIS Pro - How to put grid coordinates on two different lines in layout?

I'm new to ArcGIS Pro and I am a bit confused on how to add a customised coordinate grid in layout. I can add a default grid, but I cant find any way to customise it. I want to create a grid Like this ...
jaymesmc's user avatar
0 votes
1 answer
41 views

How to replace "N", "S", "E", "W" in grid in ArcGIS Pro layout

I want to replace N, S, E, W in layout in ArcGIS Pro with cardinal direction in Bahasa Indonesia. Is it possible to change that automatically without replace it manually one by one?
hadi's user avatar
  • 1
0 votes
1 answer
110 views

Creating 2x2 map layout in PyQGIS from polygon vectorfile with 4 data fields and common graduated symbology

I would like to automatically create an image file with a 2x2 map layout in PyQGIS with just a polygon vector file as input. The attribute table input file could look like this: id attr1 attr2 attr3 ...
zfn's user avatar
  • 35

1
2 3 4 5
13