Questions tagged [atlas]
A functionality of the QGIS Print Composer.to generate series of maps with a common layout and dynamic content.
441
questions
2
votes
1
answer
36
views
QGIS - Let atlas iterate through distinct values of virtual field
I have a CSV-Layer with multiple columns (e.g. ID, owner_name) and well-known text data to contain information about polygons.
One ID can be owned by to owners which would cause the feature to appear ...
1
vote
0
answers
22
views
Sorting based on aggregate in QGIS Atlas layout
In an Atlas layout, I can in a text field or table with no problem sum the attribute SBT for features being inside the current atlas feature by using this aggregate function:
aggregate(
layer:='...
3
votes
0
answers
31
views
Enable 'Clip to atlas feature' using PyQGIS
I've tried to enable the checkbox "Clip to atlas feature" on layout via PyQGIS. I've found this class: QgsLayoutItemMapAtlasClippingSettings but I don't understand how it works.
This is my ...
0
votes
0
answers
16
views
Change map from Atlas at the same time it select line of attribute table
I would like to select row of attribute table that correspond the same line of of atlas map.
I need that in attribute table, the only line that appear is the same of atlas (identificador is id of ...
1
vote
1
answer
32
views
@atlas_featureid and $id
A project with 2 shapefiles
shapefile road (multiline)
shapefile crossings of roads (point)
I have 2 atlas reports, one about the road and the other about crossings
Both should highlight the ...
1
vote
1
answer
43
views
Connecting additional layers to coverage layer using QGIS Atlas
My coverage layer is streets and I want to have only certain objects shown on my additional layer according to which street is shown. The QGIS Atlas page name is the name of the street which also ...
0
votes
0
answers
13
views
Using Best fit scale for atlas map with clipped boundary
I'm using the atlas layout feature with a Map that has a clipped boundary.
Map is controlled by Atlas with a predefined (best fit) scale.
The map doesn't recognize that it's clipped and some of the ...
0
votes
0
answers
54
views
QGIS layout atlas or report : displaying 8 entities sheet on one sheet
I'm trying to make paper labels for material collected on field using qgis layout atlas.
I made my entity sheet with dynamic fields (material, date, type, etc.) and I'm using the "feature_number&...
4
votes
1
answer
102
views
QGIS-Atlas get feature with multiple values
I am looking for an expression to get_feature with two values from two different fields.
At its core is the question:
How can I transform a chain of values which define a point into a valid geometry ...
2
votes
0
answers
29
views
QGIS use sheetlines for atlas automatic map extent
I have sheetline geometries for the German TK50 1:50.000 map extents. I now want to create an atlas for the geometries. So far no problem, I have this working.
But the sheetline geometries cover 40' ...
1
vote
0
answers
41
views
Export PDF report from a specific set (or individual) of features
I have a report layout (with child groups) and I want to export only the report of a specific set of features.
I tried to check if the fid matches with @atlas_featureid variable but I couldn't find ...
2
votes
1
answer
67
views
Refresh layout page before exporting every atlas page using PyQGIS
I am trying to develop an automatic layout export using PyQGIS. I have several layers with objects and a separate layer to create an atlas of 4 elements.
I also prepared a layout in which there is a ...
3
votes
1
answer
104
views
Attribute tables spanning multiple pages in QGIS / page breaks?
I am trying to make a city guide using QGIS atlas function which contains indexes to find certain streets / POIs quickly.
Using QGIS expression to access page-number of atlas for certain features I ...
3
votes
2
answers
43
views
Generating an atlas, setHideCoverage doesn't work
I'm trying to print my layout.
Sadly, I cannot figure out how to hide the coverage layer.
The setHideCoverage(True) - line doesn't change my output
My code so far:
project = QgsProject.instance()
...
3
votes
1
answer
61
views
QGIS Atlas print composer - Several raster in the same layout
I am trying to export an Atlas, with a comparison of maps between 3 periods.
For each period I have a different raster (2008, 2016, 2022).
I found a way to display the right raster, for each map, ...
0
votes
0
answers
21
views
Generating a Layout output from a different workspace
I have developed a workspace that generates around 20 pages of maps and information. It uses the atlas function to control the Layout, so you can select the Site you are interested in, and it ...
0
votes
0
answers
47
views
Extract feature from featurecollection in MongoDB atlas
I need to extract data from my database and add pointer to the map with folium.
import folium
import os
from folium import features
import numpy as np
import pandas as pd
N = 1000
lons = +5 - np....
7
votes
4
answers
302
views
Generating geodata models for layers and their attributes in QGIS
Let's say I have a map with two different layers in QGIS:
'LayerA'. It has three attributes (fid, name, quantity) and its geometry is a MultiLine
'LayerB'. It has four attributes (fid, type, location,...
1
vote
1
answer
37
views
Exaggerate the overview area in the map composer
I work with QGIS 3.28.
As part of an atlas, I have a main map object map 1 and a small map object map 2 (small scale) for location.
The layer used for the atlas iteration is a polygon layer. The ...
0
votes
1
answer
52
views
QGIS 3 atlas : stabilize/keep the same legend position for all maps
I work with QGIS 3.22.
For an atlas I'm trying to make not only the legend content fit the content (it works)
but also that the bottom position of the legend is always the same. So I want to'stabilize'...
2
votes
2
answers
68
views
Remove QgsLayoutItemPicture based on atlas if the path does not exist with PyQGIS
Based on this question and answer (that works perfectly) I was wondering if I can remove the QgsLayoutItemPicture from the atlas pages where the picture path does not exist using PyQGIS.
One ...
0
votes
1
answer
36
views
Calculate the median of features (within a WMS layer) in a given map extent as dynamic text in map layout
Is there a way to calculate the median of several standard land values from the following WMS service of a given map extent? I want to use it as a dynamic text via expression. I am using the Atlas ...
4
votes
1
answer
120
views
Count the number of features in a given map extent as dynamic text in map layout
In QGIS (3.22) print layout I want to calculate the number of companies in a given map extent as a dynamic text via expression. I am using the Atlas Tool.
However, with the following code I do not get ...
1
vote
1
answer
102
views
How to create two themes for use on the atlas feature
Recently I've discovered the beauty of the atlas feature. However, I need to include an overview page. I've seen many things online regarding including an inset map (or index map) within or just above ...
2
votes
1
answer
90
views
HTML frame - image source- QGIS
In my shapefile, a field name is "photo", which has list of photos, the photos and my shapefile and project file are located in same folder. I would like to prepare atlas, I tried different ...
1
vote
1
answer
41
views
Extending layout by other layer in Atlas
I'm generating an atlas using one point layer as a coverage vector and other layers that show up depending on the coverage vector value. Everything works fine, however, I want to see one vector layer ...
1
vote
1
answer
65
views
QGIS: Atlas of child layer (points) but use geometry of parent layer (polygon) to create map
We are creating an atlas using point features (centroids from a polygon parent layer) to iterate through. But in the atlas map we need to display the related parent polygons. In QGIS one-to-many-...
3
votes
1
answer
48
views
Delimit the loading "zone" in a shapefile
I have to make several atlases of a large region in France. My study area is relatively small compared to the entire region. However, most of my layers are related to the entire region.
As I intend to ...
0
votes
1
answer
63
views
Trying to get a plot item in the layout to only show the section from the Atlas that is being shown
I am new to QGIS and don't know coding at all, slowly trying to pick it up.
I am creating an atlas of a area that has been surveyed over the seabed during cable instalations in the North Sea. I have ...
1
vote
1
answer
100
views
Create vector layer/virtual layer with dynamic number of features in QGIS
The problem
I want to create a vector layer in QGIS 3.26 with a varying number of features. The number of features should be the same as the number of raster layers open in the project. So if I have ...
0
votes
0
answers
46
views
QGiS Atlas - accumulate features over time
I have a QGIS Atlas that consists of warning messages for the flood event in Germany in 2021. The warning messages were issued for the corresponding counties or municipalities (administrative district)...
1
vote
1
answer
51
views
Filtering legend entries within QGIS Atlas to show legend items based on expression
Is it possible to set an expression to determine if a legend item shows up based on an atlas name, variable or field?
I am generating an atlas that cycles through a series of iterations and shows ...
1
vote
1
answer
107
views
Get the next feature in an atlas using QGIS
I use an Atlas, and I would like to to display several features per page.
To reach this aim, I would love to be able to use a fonction like attribute( @atlas_feature + 1 , 'field_1') to get the next ...
1
vote
1
answer
104
views
Atlas looping on layers in the QGIS Map Composer
I'm working with 3.22.10-Białowieża and I need to create several maps of the same location, showing a different layer in each (i.e. heatmaps for different years). This is the workflow that I have set, ...
3
votes
0
answers
48
views
Trying to make a map via Print Layout using an Atlas, but information I request from a particular column is returning values from the wrong column?
I have a legend in the map atlas where i am trying to return the Date value from the atlas feature (i.e. [% "Date" %], pretty simple) but instead of returning the value stored in the "...
1
vote
0
answers
50
views
How to get QGIS atlas @layout_page value including also "excluded from export" pages? [closed]
I am running an atlas in QGIS, using the @layout_page to dynamically access data in a second layer, iterating with @layout_page value. And I am trying to "exclude from export" features that ...
1
vote
0
answers
62
views
Export Atlas - Different data - Same canvas
On a defined study area (map below), I have thousands of geotagged information.
I would like to export an Atlas of these data, each export displaying one information.
(Ex: For the same area of study, ...
2
votes
1
answer
141
views
Filter visibility of map features based on Atlas Coverage Layer geometry or attribute
When creating an atlas in QGIS, is it possible to filter map feature visibility based on the coverage layer?
What I want:
Using the image below, I want to hide the orange polygons and display only the ...
2
votes
1
answer
93
views
QGIS print composer: Extract segments of layer name to text box
I'm attempting to produce a series of maps in QGIS, each showing a different layer overlaid over the same region, each with an associated different title and legend to match each layer.
I'm stuck with ...
0
votes
0
answers
31
views
Atlas and county level data, but creating maps zoomed out to the entire U.S map [duplicate]
I am using QGIS 3.16.12.
I have a dataset of 150 retail companies, each selling a product over 100 counties across the country. This dataset also includes data on the number of sales per county for ...
1
vote
2
answers
101
views
Atlas and county level data, but creating maps zoomed out to the entire U.S map
I am using QGIS 3.16.12.
I have a dataset of 150 retail companies, each selling a product over 100 counties across the country. This dataset also includes data on the number of sales per county for ...
0
votes
0
answers
32
views
QGIS- Items printing to the atlas that don't exist
I have an atlas I made with 13 or so pages, when I print it to PDF items are showing up on the pages that don't actually exist in QGIS, I can use a PDF editor to delete them but it is annoying.
The ...
3
votes
1
answer
313
views
Atlas - Export only certain pages
I would like to export only certain pages from an atlas.
For instance: I have an atlas with 37 pages, and I update pages 3,5,7-10. I would like to export those pages for reprint to a single PDF.
2
votes
1
answer
324
views
Aggregating child features with parent attribute values in QGIS
I found this question when looking for my answer Referring to the parent layer with aggregate functions in QGIS
I need to do something similar. In another words I need to join attributes by field ...
0
votes
1
answer
49
views
QGIS: Output atlas maps with bounding box ratio but sized to a specific max width and height
I have layer outlining a series of regions I need to output in atlas. All are rectangles. Some are taller than they are wide (portrait), some are wider than they are tall (landscape).
If they are ...
0
votes
0
answers
90
views
QGIS atlas layout not clipping as expected
Using QGIS 3.24.3-Tisler. I've created an atlas that seems to partially work. The "basemap" layers successfully clip, but several of the other layers do not. It seems to be an all or nothing ...
0
votes
0
answers
25
views
QGIS Atlas with fixed scale not printing all polygon
I have a QGIS Atlas generated map and I have a question.
I have polygons (coverage layer) that are printed in just one "piece".
So, I have these 2 polygons
When I am in Atlas he is printing ...
0
votes
1
answer
82
views
Creating one atlas QGIS plan to show multiple features that control atlas
I am creating an atlas plan that has multiple features that are controlling the atlas in one plan.
Instead of it generating 3 plans that look the same is it possible to only generate 1?
On my picture ...
0
votes
0
answers
24
views
Remodeling of an attribute table in Atlas-Qgis 3.22.4
As part of a project (flood expansion zone inventory [FEZ]) I want to create "Summary sheets" using my attribute table. The latter contains the code of the plots, the owner(s), their ...
1
vote
1
answer
43
views
Creating map through atlas defined by attributes
I am trying to automate the creation of maps using atlas. I have a shapefile with the location of different big cat species in an area of Africe. I want to plot each species on a different map. The ...