Questions tagged [atlas]
A functionality of the QGIS Print Composer.to generate series of maps with a common layout and dynamic content.
125
questions with no upvoted or accepted answers
7
votes
0
answers
355
views
PyQGIS composed Atlas generation
I have some layers :
layer 1
layer 2
layer 3
and I have create styles for any labels layer using base rule styles and labels and I have create a template .qpt and I use atlas correct.
In my ...
6
votes
0
answers
2k
views
Exporting QGIS Atlas using PyQGIS (qgis.core)
Windows 10, PyCharm, QGIS 3.10 installed via osgeo4w (64bit).
I set up a simple QGIS composer layout with a vector layer and a WMS base map on the map layout. The vector layer contains about 10 ...
6
votes
1
answer
240
views
Legend and Attribute Table change throughout map composer
I'm using QGIS 2.18.3 (Las Palmas)
For a project I have about 15 maps with the same extent, where each map displays a different attribute. I have followed Automating Atlas to create maps for all ...
4
votes
1
answer
298
views
Stop Grid Coordinates Overlapping in Print Layout
I have created some data driven pages in the print layout (controlled by atlas) using QGIS 3.4. The grid spacing is set to a fixed interval (20m). This works fine until one of the pages is located in ...
4
votes
0
answers
370
views
Launch Atlas composer generation from command line
I am using QGIS 2.2 and have configured a composer with atlas generation. I would like to launch this atlas generation every day.
The idea is to write a batch and launch it with a cron.
Is it ...
3
votes
0
answers
68
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 ...
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 "...
3
votes
0
answers
348
views
QGIS Server - WMS Request GetPrint fails with ATLAS_PK
I'm a junior developer and I'm working on a project trying to refresh an old GISWEB, to do so i chose QWC2+QGISServer.
Actual setup is:
Debian 10, Apache2, QGIS-Server 3.8, using .shp as layers... ...
3
votes
0
answers
289
views
Using true north bearing in label expression
In QGIS there is an option to rotate the north arrow as grid north or true north. For my case I need the true north angle. The rotation works just fine but now I also wanted to add the image rotation ...
3
votes
0
answers
458
views
Print Composer Atlas multiple feature select in one page
I am trying to select multiple features on Print Composer in QGIS 2.18 (Las Palmas) in the atlas filter: for instance, I have one layer whose atributte "name"=2 has 4 features as a result; the ...
3
votes
0
answers
173
views
Custom QGIS expression to filter atlas pages
I want to filter my atlas pages based on a list returned by a custom function but it won't work.
This is my function:
from qgis.core import *
from qgis.gui import *
from qgis.utils import *
@...
3
votes
0
answers
349
views
How to print out a road atlas with QGIS?
This is what I managed to do so far (first picture):
Through the web tab and quickmapservice or OpenLayers plugin I loaded maps where on I managed to add a vector grid under research tools to then go ...
3
votes
0
answers
403
views
QGIS atlas generation - batch process for many atlases
I have many different QGIS projects, each one is designed to create one particular atlas or map book in pdf format (one different book per every QGIS project).
Month by month I must actualize each ...
2
votes
1
answer
67
views
QGIS 3.22.4 - Atlas grid generated wrong images with invalid labels
I have two vector layers, one is a GeoJSON (can be downloaded from https://pastes.io/vtlw5surdx) which contains countries with points and their coordinates in WGS84 CRS and one layer is shapefile ...
2
votes
0
answers
72
views
Relation aggregate filter for displaying pictures
In my QGIS atlas, I need to display 4 different pictures for each current feature.
My coverage layer is "features".
"features" is linked by a 1 to many relationship with my "...
2
votes
0
answers
45
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' ...
2
votes
1
answer
405
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 ...
2
votes
0
answers
177
views
Performing (semi)automatic export of several maps at once using QGIS
I am trying to do automatic export of several maps on weekly basis. There will be input data for every day of the week and on the end of the week I want to export 7 maps.
I tried the Temporal tool but ...
2
votes
0
answers
47
views
Is there a way to change the shapefile being used in exportPdf() function?
I'm using this function to export layouts and I want to know if it's possible to switch the shapefiles(.shp) being used in the Atlas project for other ones before the function actually exports the ...
2
votes
0
answers
143
views
Displaying multiple pictures on the same page in a QGIS3x Report
I am reporting on a project which has a series of transects around the perimeter of the site. For each transect I have prepared a detail plan and cross-section. Each transect is associated with a ...
2
votes
0
answers
68
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.
...
2
votes
0
answers
83
views
Batch export different map compositions based on the same Atlas
Assume I have an Atlas with the following elements:
'001'
'002'
'003'
I also have several compositions named:
'A'
'B'
'C'
With the print Atlas function, I can print a PDF per each composition, ...
2
votes
0
answers
106
views
Create a report with filter from different layer using Atlas
I have the following scenario:
Layer ‘grid’, with a field called ‘number’
Layer ‘log’ with field called ‘number’ in common with ‘grid’ layer and another field called ‘date’
Layer ‘problem’ with field ...
2
votes
0
answers
452
views
Atlas export using Python: AttributeError: 'NoneType' object has no attribute 'atlas'
I'm trying to export my atlas layout named "Atlas_png", but are getting the error:
AttributeError: 'NoneType' object has no attribute 'atlas' (line 27).
I have tried to use this examples:
Exporting ...
2
votes
0
answers
60
views
Grouping points by attributes from field with possibly many values
I have a shapefile "cities" with one unique city_id for each city (geometry polygon, although not relevant here) :
city_name ; city_id
New-York ; 0001
Paris ; 0002
London ; 0003
And a ...
2
votes
0
answers
140
views
Exporting from Atlas to PDF in QGIS GUI and adding metadata with Python
I'm trying to add metadata to all my PDF files generated by an Atlas export in QGIS 3.10. GUI.
Is there any Python signal to which I can connect a slot, that gets executed when each Atlas page ...
2
votes
0
answers
168
views
Rule-based color in dataPlotly bar chart in Atlas
I have created an Atlas in QGIS 3.10 and have made a bar chart that changes accordingly to the corresponding Atlas feature.
x-axis: area type and y-axis: area in square meters
I also managed to set ...
2
votes
0
answers
389
views
Creating a tile layer for a polygon for use in QGIS Atlas?
I want to create a series of plans at a set scale that covers a large area defined by a polygon. The polygons are a buffer for a water network, so is very irregular with sections that are long and ...
2
votes
0
answers
47
views
Generate additional files with map meta information using QGIS3 Atlas
I am using QGIS3 Atlas/Layouts to generate thousands of PDFs from a coverage layer. In addition to the PDFs, I want to save meta information (place names, dates, coordinates, custom IDs, etc) ...
2
votes
0
answers
49
views
Syncing north arrow with polygon centerpoint
I am using the QGIS 3.2.1 atlas functionality to create a series of maps. The maps are of polygons from 60 degrees north to 78 degrees north. The north arrow seem to be aligned based on its position ...
2
votes
0
answers
249
views
Atlas exporting in pdf/A using QGIS?
Is there a way to print an atlas in a pdf/A file for each page, being pdf/A an international standard?
I'm using QGIS 2.18.
2
votes
0
answers
185
views
Export composer to single PDF file using PyQGIS
I am using PyQGIS to create automated maps.
My script exports atlas features to new JPG images. But I need now to export my features to single PDF file all my features like option where have qi's ...
2
votes
0
answers
180
views
QGIS Automatically Generate Atlas for each Column on the Attribute Table
I want to generate graduated maps in QGIS (using the same style) for each of the columns on the attribute table. Every columns contains the data of one year.
It seems that the Atlas only ...
2
votes
0
answers
119
views
Print Composer - raster layer name as text field
I have three Landsat scenes and one polygon shapefile (column "region"). The atlas option is great to create prints of each "region". Is it possible to show the Landsat (raster) layer name ...
2
votes
0
answers
89
views
How to set style for features within atlas feature
I have a vector layer with property parcels, and another vector layer separating them into regions. I have the regions layer controlling an atlas. I would like to have only the parcels within the ...
2
votes
0
answers
238
views
QGIS Atlas zoom to intersection between two different layers
I have two polygon layers, one is about different land owners boundaries and is used for atlas generation, and the other is about forests inside each property. In atlas generation sometimes i want to ...
2
votes
0
answers
184
views
Using the expression builder in the Atlas function in QGIS to group features?
I am trying to show only record in the atlas for the following attribute table...
ogc_fid | id | phasename | exampleinfo
----------------------------------------------------------
2 | ...
2
votes
0
answers
453
views
How do I make atlas with same pages but different layer sets?
I have a project in QGIS with multiple layers that I have to render separately. E.g. parks and distances to them (their buffers), travel time isochrons (interpolation with colors), density heatmap, ...
2
votes
0
answers
172
views
QGIS atlas generation to make company expansion slideshow/video
I need to create ~98 maps each showing the locations of customers as a company expands over a time series.
These will be made into a slideshow/video showcase so all maps need to have the exact same ...
1
vote
0
answers
77
views
QGIS Layout - zoom to extent of objects within an atlas feature
Scenario: In my layout I have an atlas setup where the pages refer to the parcel number. In these parcels are different objects (e.g. construction areas, fences etc.) set to display in the legend. In ...
1
vote
0
answers
45
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). ...
1
vote
1
answer
125
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 ...
1
vote
0
answers
49
views
QGIS extremely slow after adding a key map
I am currently working on an atlas export project and I needed to add a key map.
I created a new map theme for keymap and added open topo map only and created a 2nd map in the layout.
But the problem ...
1
vote
0
answers
175
views
QgsLayoutExporter gives "QPen::setWidthF: Setting a pen width that is out of range" error in PyQGIS
I have a PyQGIS app, that generates PDFs from an Atlas.
If I generate the PDF directly from QGIS all PDFs generate correctly.
But If I generate the PDF with my PyQGIS app, some PDFs don't generate ...
1
vote
0
answers
42
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 ...
1
vote
0
answers
181
views
Downloading photos from Google Street View and use then for QGIS Atlas
I am carrying out a remote sensing work (land use mapping of the Dakar metropolitan area based on sentinel2 images classifications).
In order to compensate for the absence of a ground campaign and ...
1
vote
0
answers
68
views
Changing page size by Atlas in QGIS
I have an Atlas with different zones in an area and I want to export them at the same scale. To do so I need different page sizes to export them while fitting in the page. I managed to add an ...
1
vote
0
answers
56
views
Display only the features of a layer that are intersected by a dynamic atlas layer in QGIS
Is there a way for a layer (line) that has the symbology displayed dynamically by Atlas to determine ("filter") the symbology display of another layer (polygon) by intersection?
Example of ...
1
vote
1
answer
87
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 ...
1
vote
0
answers
111
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:='...