Batch-Export Per-Area Maps Like QGIS Atlas
You need the same map for thirty survey sites. Pan, zoom, screenshot, repeat — and by the thirtieth the scales no longer match and the filenames are a mess. QGIS automates this with a feature called Atlas. This guide explains what Atlas does and how to get the same result in a browser, without installing anything.
What Atlas actually does
Atlas treats one polygon layer as a list of pages. Thirty polygons produce thirty maps. For each page the map pans to that polygon automatically, while everything else — scale bar, north arrow, legend, title — stays exactly where you put it.
The point is that a human never moves the view. Panning by hand shifts the centre and scale slightly every time; automation applies the same rule to every page. That is why Atlas output can be placed side by side in a report and actually compared.
Choosing a scale — two approaches
This is the decision that matters most, and it changes the character of the output completely.
| Mode | Behaviour | Use when |
|---|---|---|
| Fixed scale | Every page uses the same scale (say 1:5,000). Small polygons sit in a lot of empty space; large ones may be cropped. | You need to compare sizes across pages — plot areas, extent of damage |
| Variable scale (margin %) | Each polygon fills the frame with a constant margin (say 10%). | You need to show the inside of each area in detail — per-parcel sheets |
Name the files from an attribute
Thirty files called map_1.png through map_30.png tell you nothing a week later. Driving the filename from a polygon attribute removes the problem entirely.
- If the name field is
NAME→site_Gapyeong.png,site_Seorak.png - Combine a number with the name and the sort order comes out right too →
01_Gapyeong.png
Watch for characters that are illegal in filenames — commas, slashes, colons. Clean the attribute before you run the job rather than renaming afterwards.
Step by step: per-area maps in the browser
- Load the area layer — survey plots, parcels, administrative units. Each polygon becomes one page.
- Set up the map once — basemap, thematic layers, labels, styling. What you see on screen is what every page gets.
- Pick the scale mode — fixed scale or margin percentage, using the table above.
- Choose the filename field — the attribute holding the area name.
- Set resolution and run — 300 dpi or higher for print. With many areas this takes a while, so watch the progress indicator.
When you need clipping
Sometimes everything outside the boundary has to disappear — delivering per-parcel aerial imagery, or cases where surrounding information must not be shown. That is not just panning; the basemap tiles and rasters have to be cut to the polygon shape.
The opposite case is just as common. If the map needs to show context — access roads, neighbouring land use — clipping destroys the point. Draw the boundary as an outline and leave the surroundings visible.
When there are a lot of pages
- Render two or three first. Discovering a misplaced legend after a hundred pages means starting over.
- Work at low resolution until the layout is settled, then do one final high-resolution run.
- Leave the tab alone. Processing happens inside the browser, so closing the tab or loading something heavy alongside it will slow the job down.