Questions tagged [atlas]
A functionality of the QGIS Print Composer.to generate series of maps with a common layout and dynamic content.
83
questions
33
votes
2
answers
25k
views
Filtering features in other layers of QGIS Atlas
I'm trying to use the QGIS Atlas tools to build student 'scattermaps', i.e. display the school and the students that attend that school, for 215 schools.
The schools layer is the coverage layer, and ...
15
votes
3
answers
2k
views
Determining neighbouring tile ids in QGIS
I was asked in a recent training course if QGIS could automatically calculate the next/previous and above/below page numbers for a map book created using the atlas generator. I managed to work out a ...
8
votes
2
answers
2k
views
How to count points within the current Print composer atlas feature in QGIS 2.8?
In the print composer when generating an atlas, does anyone know how to show he feature count per each atlas coverage feature?
For example, I have generated an atlas where each map is a different ...
5
votes
3
answers
2k
views
How to display attributes of features intersecting the Atlas feature in a Print Composer label?
Is it possible to edit labels with python or an expression?
I have an atlas layer and a shape with countries. the atlas layer has several features and each feature intersects with several countries.
...
11
votes
2
answers
4k
views
Export a configured Atlas with a Python script / command line?
I just want to export a configured Atlas (composer with Atlas option and cover layer enabled)
I tried this :
composerView = qgis.utils.iface.activeComposers()[0]
composition = composerView....
9
votes
1
answer
2k
views
How to create an Atlas based on point attributes?
Essentially I am wanting to produce an atlas based on a categorical field in a point layer.
i.e. I have a point layer of childcare providers with the categorical field "Provision". I've categorized ...
7
votes
2
answers
4k
views
Show only features within current Atlas feature
In QGIS 2.14 is there any way of just showing features within the atlas from another layer. In the image the atlas feature is the red "Estates" layer and the blue buildings are the "buildings" layer.
...
6
votes
2
answers
6k
views
Printing map on several pages in QGIS?
I am using QGIS.
I have one quite large map (A0 or A1) and I want to print in like atlas (just split it to print on A4 or A3). If understand correctly, I have to use Atlas functionality in Composer. ...
3
votes
4
answers
3k
views
Filtering out labels surrounding active feature in Atlas
Let me put it this way, if I’ve tried data-defined rendering and the common featureid expression and it’s still not working - and I think one or both options should - what basic thing could I be ...
3
votes
1
answer
1k
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
2
answers
1k
views
QGIS Atlas map composition to show only points inside Polygon?
I want to create an atlas map where I have some 40 polygons, 100 points and 200 lines as different shapefile. Now I want to automate the atlas map preparation for each polygon and needs to show the ...
6
votes
2
answers
2k
views
QGIS Atlas turning on/off raster layers
I'm attempting to create a series of maps in QGIS atlas with the same coverage and background data but different raster outputs (flood mapping outputs for a range of scenarios).
I've created a ...
6
votes
3
answers
2k
views
Rule-based labeling using Atlas
Does anybody know how to only label features of a shapefile that are inside of another shapefile's features used as coverage in Atlas?
6
votes
2
answers
3k
views
Creating atlas of different layers on the same place (QGIS)
I know the atlas function in QGIS can automate creation of maps of the same layer (say vegetation type) of different places (say natural reserves).
Is there a possibility to automate the creation of ...
5
votes
4
answers
2k
views
QGIS Atlas generation for multiple map extents?
I'm trying to create 5 maps in composer showing the same layer features but different extents of a map (attached an image to give everyone an example). I've opted to use atlas to save me manually ...
4
votes
3
answers
1k
views
QGIS map composer changing legend position when exporting atlas as images
I am having an issue when exporting atlas map series to image. In each map the position of the legend is jumping around by a few cm. I have the position referenced under item properties to the bottom ...
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 ...
4
votes
3
answers
1k
views
QGIS 3.2 atlas with set of points
I have a shapefile with 100k points. I want to create an atlas that would only show set of points having the same specific attribute.
gid;geom;id_coupe;symb
3572;"POINT(1.79008147341714 5.93)";"...
4
votes
3
answers
2k
views
Setting Atlas scale and scale bar for each map to round number using QGIS
My AOI table looks like
I have the following settings in the map frame.
Notice the scale is not a round value.
I have tried to change the value for 'Margin around feature' to 0 but this doesn't ...
3
votes
1
answer
697
views
Grouping and sorting a list of equipment using an aggregate function in the print composer
I'm using QGIS as a spatial database for a construction site and we are now checking the installed equipment. The inspection requires us to have a list of the equipment ID to inspect for each type of ...
3
votes
1
answer
2k
views
Automating Atlas to create maps for all Attributes
I'm using QGIS 2.18 (Las Palmas).
I have an attribute table with 75 municipalities and around 50 attributes. I would like to creat a map for each of the attribute (always showing all of the ...
3
votes
2
answers
2k
views
Draw rectangle with a given size (height/length) from attribute table
I would like to build a rectangle (shape or symbol) with a given size (height/length) from the attribute-table.
In detail:
I build a Atlas of maps with alternating sizes, like 145x129 or 165x129. The ...
2
votes
2
answers
1k
views
Atlas zoom on layer outside coverage layer
The Goal
Generate maps based on communities (701), within districts (50). Overview map next to the main map that shows the district within the region (8). In the main map I only show the district ...
2
votes
1
answer
820
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
1
answer
1k
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
2
answers
591
views
Atlas map generation in QGIS using point layer only
I am trying to automate generating maps with Atlas using points only. As the snapshot shows the data points for each village is shown by a color. Every four villages fall under one health area. There ...
1
vote
3
answers
2k
views
Atlas generation for different extents
I have a maps where i want to show 6 different sites around europe. Instead of creating 6 different maps, i want to use the atlas generator.
I'm using QGIS 2.18.3 (Las Palmas).
I have made a ...
14
votes
2
answers
2k
views
Seeking QGIS geometry generator manual?
I'd like to create some flow maps like the ones shown in Underdark's post:
https://anitagraser.com/2016/12/18/details-of-good-flow-maps/
I have a set of location points, say 50, and I'd like to ...
12
votes
2
answers
940
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 ...
11
votes
1
answer
381
views
cumulative atlas in QGIS 2.14 and above?
I have a question about something which I think is possible but just can't get my head round it, and haven't found any answers online. I'm using $id= @atlas_featureid in QGIS 2.14 to create an set of ...
11
votes
1
answer
3k
views
Automatic map rotation in map composer QGIS
The thing is that I wonder to make it possible to calculate automatically the map rotation in map composer. I have many maps in one file with their own projection parameters, and I would like to ...
9
votes
1
answer
3k
views
Filtering layers in QGIS atlas
In processing several spatial data sets (tbl_data_01, tbl_data_02, tbl_data_03, etc) using FME I establish a spatial table called "tbl_metadata" with information about each of the data set. This table ...
7
votes
1
answer
402
views
Displaying only attributes not zero in QGIS Atlas text box
I'm working with QGIS 3.16 Hannover. I've got a polygon shapefile layer with a 1x1 km grid. Each cell (feature) has 46 attributes corresponding to the percentage of 46 habitat types present in that ...
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
2
answers
181
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 "...
5
votes
2
answers
748
views
More than one coverage layers in QGIS atlas
In QGIS how can I have more then one coverage layer in Atlas?
As is shown in the image below I have multiple city blocks (in a layer), that contain multiple land lots (in a different layer).
I wish to ...
5
votes
1
answer
456
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 ...
5
votes
2
answers
649
views
Turning labels off within polygon in QGIS Atlas
Is there a setting to turn off labels within a polygon in an Atlas?
In the example below I don't want labels to show in the grey inset area.
I have tried the new clipping functionality
All the label ...
5
votes
1
answer
4k
views
QGIS Atlas: Only Show Selected Feature [duplicate]
I have 20 lines on one layer, and many of them overlap like a grid.
I have currently used the following:
[%'ROUTE #' || CASE WHEN $id = $atlasfeatureid THEN "Route #" END%]
When I use the atlas ...
4
votes
1
answer
225
views
Is it possible to focus on different (but related) features on the same Atlas page?
I have a map showing a city and its divisons. I have then several features in other layer with the style set to show only the feature designed by the atlas by $id = $atlasid
So far so good. Then I ...
4
votes
3
answers
729
views
QGIS Atlas with insert map
I am making a document with descriptions of how to get to some points of interest. For each point I am making a document that contains two maps, one showing the general overview and the larger roads (...
4
votes
3
answers
2k
views
Creating Mapbook with Hyperlink texts in PDF using QGIS Atlas?
I'm using QGIS 2.8.1 Atlas and creating a mapbook using a grid layer that has an attribute with a URL in it.
I want to use the URL in the attribute to be a hyperlink in the PDF once its published.
...
4
votes
1
answer
190
views
QGIS Report builder: Are there atlas-like syntaxes (like "@atlas_pagename" etc)?
I'm just starting to use the Report-Feature in QGIS 3.20, with which I want to combine both single maps and altas-like mapsets in one step.
In the Atlas-Layout-Feature, I am able to use functions like ...
4
votes
1
answer
1k
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 ...
4
votes
1
answer
2k
views
In QGIS Atlas how can we get the scale bar to a fixed width that works with different scales?
Following on from Setting Atlas scale and scale bar for each map to round number using QGIS
When we set the scale bar to work correctly at one scale and then the atlas cycles through other scales you ...
4
votes
1
answer
1k
views
Printing centered map from a QGIS project for each point in shapefile?
I need to produce on the order of 100 maps that are centered on each point of interest in a shapefile. I would like to prepare all the layers in a master QGIS project, and set up the composition for ...
4
votes
1
answer
492
views
Don't render X when pictures don't exist QGIS Atlas
I have a shape with 2 features and 2 fields: each field represents the path of a picture. The first feature has both field (so 2 pictures) while the second one has just one picture (the second field ...
4
votes
2
answers
243
views
QGIS print composer preview atlas combo box limited to 499 features
Yes, really. I generate an atlas with a coverage layer with 883 features, and the combo box from which to select the current preview list only the first 499 features as shown in the screenshot below (...
4
votes
1
answer
468
views
Set DPI in QGIS Atlas
How can I set DPI (or reduce quality in some other way) in QGIS 3.12 when exporting Atlas as PDF? My output is 300 MB for 89 A4 pages and the quality/resolution is unnecessarily high.
I can't find ...
4
votes
1
answer
375
views
PyQGIS composer add picture by layer path field
I want to create an atlas composer map using PyQGIS 3.
How can I take dynamic path by field from atlas layer?
In PyQGIS 3 I need some like this :
pict = QgsLayoutItemPicture(layout)
pict....