Questions tagged [atlas]
A functionality of the QGIS Print Composer.to generate series of maps with a common layout and dynamic content.
327
questions
1
vote
0answers
43 views
Using Virtual Fields in Views in QGIS
I'm trying to summarize some information in a map layout in QGIS controlled by an atlas. I have parks, and connected to that I have objects within these park (points, lines and polygons).
I want a ...
1
vote
0answers
39 views
QGIS: static Atlas, it do not follow the point-layer
I do not use Atlas for years.
Now I set Atlas to follow a point layer but when I export in separate files it gives me this error:
impossible write on C:...path\name_item.pdf because the file could be ...
0
votes
0answers
13 views
QGIS' 3.x - Atlas feature not printing second pdf page
So, I have created a layout managed by Atlas; every layout has 2 A4 pages, one with the atlas view and another with a table based on visible objects. It works perfect when printing to paper (duplex), ...
3
votes
1answer
30 views
Neighbouring feature that share more than 2 vertices in Atlas
Is there a way to filter polygons that share more than 2 vertices with a feature?
I have a problem where I have a layer being controlled by Atlas, and I would like to show on Atlas only the coverage ...
0
votes
0answers
14 views
Show multiple layers in a QGIS Atlas using 'Lock layers' with an attribute field
I'm wondering if it is possible to use an attribute field in a QGIS Atlas coverage layer to show multiple map layers.
I know this is possible with one layer by having the layer's name in the attribute ...
0
votes
1answer
45 views
HTML table file in atlas
I have I field "MEMORIAL" in one of my vector layers with the source of a html file. The file is a table that I would like to appear in my atlas through HTML frame. How can I do that?
0
votes
0answers
26 views
QGIS atlas by species category
QGIS 3.10. I have a point dataset of bat records for a county. I want to show a separate page for each species (so multiple records per page) and the geographic extent doesn't change.
This seems more ...
-1
votes
1answer
55 views
Use PyQGIS to export PDF ATLAS
I have written a plugin in QGIS 3.16.0, and the result of the process is a project with atlas configured. The project is opened in the end with success, but the last step is to export the configured ...
3
votes
1answer
39 views
Update a round numeric scale with atlas page - PyQGIS3
I would like to add a rounded numeric scale to each map of my atlas, with a blank as thousands separator.
The code below allows to produce this kind of numeric scale but it's not changing with the ...
5
votes
1answer
64 views
Choosing extent and scale while exporting a map
I'm exporting a map to a PNG file in QGIS 3.10.4 via Project > Import/Export > Export Map to Image. In the dialog that shows up, I can select the extent (exported area), scale, resolution (DPI), ...
5
votes
2answers
58 views
Populate legend items with values from another layer
I'm using QGIS 3.10.
I'm trying to label my map with values taken from a different layer (meaning not my atlas coverage layer), which is intersecting the atlas cover layer.
This layer named "...
8
votes
1answer
131 views
Adding page number to an atlas layout with PyQGIS 3
I am learning PyQGIS 3 for a few weeks and I am trying to understand how to create an atlas with PyQGIS 3 from the beginning.
UPDATE :
Here is where I am now :
project = QgsProject.instance()
client = ...
8
votes
2answers
187 views
Adding site photos to a print composer atlas in QGIS
This is the first time in over three decades of existence that I cannot find an answer and I actually have to ask one for myself, so please accept my apologies for any formatting issues or lack of ...
1
vote
2answers
50 views
Take attributes from other layer in ATLAS from QGIS
I am performing an ATLAS where I have a table and I would like to use data from other layer. I have seen that joining them into QGIS allows me to select the fields from the second layer but the ...
2
votes
1answer
29 views
Auto adjustment of table size automatically in ATLAS from QGIS
I would like to know if anyone knows any way to configure my ATLAS to automatically resize the attribute table if, for example, one field is having a long attribute than usual. I know in the layout of ...
2
votes
0answers
27 views
QGIS Atlas vs Report feature_id
I have been using Atlas in QGIS without any Problem. In one Atlas I could "filter" the objects that have to be displayed in the map with a "rule" for color' assignment. this rule ...
2
votes
1answer
59 views
Adding a table frame in ATLAS for QGIS
I am customizing an ATLAS in QGIS and I would like to insert a table frame to introduce all attributes belonging to one feature. I have seen it is possible to add the attribute table but for my ...
1
vote
1answer
33 views
QGIS PDF Export Atlas only Raster, no selectable Text
i have a huge QGIS Project with loads of WFS, WMS and all sorts of shapes. In the layout, there are also Pictures and a Logo included (.jpeg). Also there are a lot of legends and text fields. I am ...
0
votes
2answers
43 views
QGIS Atlas attributes
So I have two layers. First one is line layer (columns: id, length, address_id) and atlas is connected to it so when I change objects, map is zooming to next line. Secound is point layer (columns: ...
0
votes
0answers
22 views
QGIS Get maximum sum of a feature subset in Atlas-View
I have a data-layer called data wich looks like this:
I also have an atlas-layout with pagenames defined by the column Jahr from the another Layer, representing the unique values from the Data-Layer.
...
1
vote
1answer
46 views
How do I prevent labeling outside of the current atlas feature polygon?
I want to create an atlas which is based on region polygons. I use inverted polygons and rule based styles (inverted polygons) for the polygon layer with the rule $id = @atlas_featureid which works ...
0
votes
2answers
27 views
Atlas - Adding point coordinate icon
I have created an atlas for all countries in the world, and I would like to drop a pin to show the centre of the country (as attached). Is there a way to add these coordinates automatically such as in ...
0
votes
0answers
64 views
Data Driven map - Atlas, How to automate the filter feature?
I have a Postgres data source that needs to be filtered from hundreds of records to a few records, each time a make a map. Is there a way to automate that, so that the atlas makes map pages for each '...
2
votes
1answer
78 views
Filtering data using QGIS Atlas
I have some mining data that I want to filter by year and by bench. The data is something like this:
bench year
1 2020
1 2021
1 2022
2 2020
2 2021
2 2022
4 2020
4 ...
0
votes
0answers
24 views
Print Composer: How to use Print Composer Atlas to swap between columns of linked data
I have a map with an openstreetmap layer and a point-layer, in which linked data (rows of a csv-file) is classified in 5 classes (the values are between 1 and 100).
The linked data (csv-file) looks ...
1
vote
1answer
40 views
Layer styling with feature 1 but atlas pages generated by feature 2
How can I tell the atlas-composer to display on one page only all geometries with feature two and all the other geometries should be hidden?
I have four geometries with two feature-attributes: (1) &...
0
votes
2answers
47 views
QGIS HTML in print composer, how to use “if” statement when building an expression?
I'm trying to include some images in a map layout to make an atlas.
Currently I'm using the following HTML
<img src=[%"FILEPATH_TO_IMAGE"%] height="400"/>
However, there are ...
0
votes
0answers
22 views
QGIS 3.10 (composer) - Legend position changes when exporting the map
I know the question is quite old, since it was first asked here : QGIS map composer changing legend position when exporting atlas as images and here : QGIS composer changing legend position when ...
6
votes
1answer
569 views
Styling currently used feature of the Coverage layer of Atlas
I am looking for a way to define a different style just for the currently used feature of the Coverage layer of Atlas.
The image below will hopefully make it clearer: the left side is how my ...
0
votes
1answer
98 views
QGIS Advanced labeling features with atlas
I'm using the atlas to generate 50-75 page map packages. All pages are at about the same scale but some areas are much denser and have many more labels on a page to display. I am running into the ...
1
vote
1answer
48 views
Altas with different numbers of page and maps for every feature
I want to create an atlas and the features to show are OUTSIDE the feature of the layer coverage.
The atlas feature 1 is Switzerland, but I want to show all embassy that are geographically OUTSIDE ...
0
votes
1answer
44 views
Pyqgis Atlas geometry
I have a QgsLayoutAtlas, I need to capture the geometry of each sheet within a loop
project = QgsProject.instance()
layout = project.layoutManager().layoutByName('Layout')
atlas=layout.atlas ()
...
0
votes
1answer
73 views
Seeking a method to print all visible layers in QGIS (3.10), using Atlas (and a map theme)?
Hope to obtain: sample expressions for printing each visible layer of a project using Print Layout's Atlas functionality
Based on @Erik's comments on another question (about changing QGIS behavior), I'...
0
votes
0answers
55 views
Generating Multiple Maps Grid by grid
I am new to QGIS and wants to develop a method to generate a series of map in the following case:
I have a polygon feature shapefile of a state and it has multiple polygons inside it of various ...
-1
votes
1answer
58 views
Expression-based file name (ATLAS) [closed]
I have a Shapefile file with more than 2,000 elements, with its extensive table of attributes, and I have made a model file, through the Atlas, where a map appears with a zoom of each element and a ...
3
votes
1answer
96 views
Varying page size of maps within an Atlas in QGIS?
I would like to create an atlas of a series of maps covering a number of woodlands and to have them all at the same map scale.
This would work best visually if some of the maps were in landscape, and ...
2
votes
1answer
170 views
Automatically creating themes in QGIS 3.x
I have to make around 1000 maps that represent the same area (it is reclassified satellite image - so raster). Style is the same, only date changes. I figured out how to style all layers in no time ...
-1
votes
1answer
153 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 ...
1
vote
1answer
61 views
pyqgis3 atlas feature scale
i was create a simple export code using pyqgis3 and atlas print composer map layout on QGIS3.
my question is about map scale.
if i use this line :
mapScale = map.scale()
i take the scale from map ...
1
vote
1answer
34 views
Defining atlas feature margin using PyQGIS3
I want to create a simple atlas composer map using PyQGIS3. My question is about atlas feature scale. I want to use this settings from image.
I know this select option but I don't know how to add ...
4
votes
1answer
106 views
PyQGIS composer add picture by layer path field
I want to create a atlas composer map using PyQGIS3.
How can I take dynamic path by field from atlas layer?
In PyQGIS3 I need some like this :
pict = QgsLayoutItemPicture(layout)
pict.setPicturePath(...
1
vote
1answer
94 views
QGIS expression to access page-number of atlas for certain features
This question is based on another one that found only a partial solution (workaround) - but there should be a better solution, I'm convinced. However, I'm stuck. Here is what is already clear:
In an ...
1
vote
0answers
78 views
Sum area of features intersecting atlas feature in QGIS
I have AOI layer named "Clusters" which is set as the Atlas coverage layer for my project
I want to sum the area(Hectares) of specific intersecting features from my "...
3
votes
1answer
89 views
Feature index for atlas
I am working on an atlas project in qgis 3 that is basically roads, towns, and other features for a quite large area. What I would like to add, is an index of all the towns in the atlas area with at ...
0
votes
0answers
20 views
How to filter multiples features on QGIS Atlas?
I trying to create an atlas with two different features, but want to show were both have with the same field "ROTA".
I'm trying to use @atlas_featureid = $id on layer 'SetasRotas_dissolve'(line ...
0
votes
0answers
54 views
Is it possible to create a unique pivot table for each page of a QGIS Atlas?
I have a shapefile of city points and a LibreOffice spreadsheet of daily information about each city. The data is fine, I successfully built a pivot table in LibreOffice that sums city data over a two ...
0
votes
0answers
41 views
Line Graphic on QGIS Atlas
I have this attribute table, I would like plot on QGIS Atlas, a line graphic with last 7 days the fire events, from the day of the Atlas Page Name.
For example;
Atlas Page name is '2018-08-25', the ...
0
votes
0answers
29 views
Call last seven day on QGIS Atlas
I use this comand
lpad( aggregate('FIRELAYER','count',"CITYwhithFIRE",(to_date("DateHourWhenfirehappens")=to_date(to_date(@atlas_pagename)-to_interval('0 day')))
+(to_date("DateHourWhenfirehappens")...
0
votes
0answers
22 views
Using another shape database in QGIS Atlas
I have an Atlas where I would like to use values from another shape, to quantify the number of points and use this number to control font size.
The shape that is controlling Atlas has a sequence of ...
1
vote
1answer
36 views
How can I prevent the Legend from covering each Atlas Feature?
I'm generating an atlas with a set of polygons. I want the legend to be above the map, but to ensure that the legend doesn't actually cover the featured polygon. Is there a way to do this?