Questions tagged [atlas]
A functionality of the QGIS Print Composer.to generate series of maps with a common layout and dynamic content.
492
questions
1
vote
1
answer
60
views
Generating an Atlas where the basemap raster is the variable
I have 100+ basemaps of a site throughout time (separate raster files) and I need to create a PDF figure for each basemap in QGIS 3.24.3 with a static site boundary polygon and constant print composer ...
5
votes
1
answer
361
views
Generate cover layer for atlas
Let's say I have data for the area in the picture.
I created a model that generates a grid that I can use for my atlas. In my script, I enter:
Area of interest (couche d'emprise)
Scale of my print ...
2
votes
1
answer
145
views
Show only features within current Atlas feature in legend
I want to create a atlas showing in the legend only the layer that is displayed on that page.
There are two options for the legend item:
only show items inside linked map
only show items inside ...
3
votes
1
answer
73
views
Atlas with grouped or connected lines as coverage layer (QGIS)
I have a line layer containing sections of paths. Sections with the same ID (WID) form a hiking trail. Many of these trails are circular routes, which often have access/exit paths starting from a ...
3
votes
1
answer
242
views
QGIS Atlas: Dynamic classification legend for raster values, based on extent of atlas feature
I am making a series of maps with the QGIS atlas (print layout composer). I want to show a raster layer on several extents. The extents are defined using a vector layer. The vector layer is used as ...
3
votes
2
answers
158
views
Automatically export each item in a layer as an image
I have a simple CSV file with points only. Each point represents a historical location where certain last name was mentioned in the XIX century. It looks like this:
lat;lon;last_name
55.9885461;66....
2
votes
1
answer
72
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
80
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
49
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
24
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
234
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
122
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
22
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
77
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
257
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
43
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
66
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
292
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
363
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
60
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
141
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
110
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
346
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
57
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 ...
2
votes
2
answers
99
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
66
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
251
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
230
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
370
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
55
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
127
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
57
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
104
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 ...
2
votes
1
answer
155
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 ...
1
vote
1
answer
182
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
218
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 ...
2
votes
1
answer
247
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
55
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
96
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
83
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
336
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
190
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
34
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
120
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
49
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
686
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.
4
votes
1
answer
815
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
89
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
197
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
1
answer
147
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 ...