Geographic Information Systems Asked on August 13, 2021
In QGIS, how can I put a margin around a feature but also use predefined scales in Atlas? I have a feature that fits in the map but very tightly, so I would like QGIS to use a smaller scale to better accommodate the drawing.
Tried to create a buffer around the feature thinking the program would understand that I also want it to appear and so shrink the drawing, but it didn’t work. Is there a way to do that?
Lets take this as an example. Some features in a layer and a second layer buffering these features:
First go to Project -> Properties and add some suiting scales you wish to use. The quality of your result will highly depend on this list!
Now in your layout go to Atlas tab and change your coverage layer to the buffer. Choose "Hidden coverage layer" if you dont wish to show this buffer on your map:
Now go back to your map-properties and choose "Predefined Scale (best fit)" within "Controlled by Atlas":
Here an example (with buffers not hidden to illustrate):
Take a look at the changeing scalebar on the top-right. It always matches a scale we just pre-defined in our project settings. The quality of your result is highly dependent on the list of predefined scales available for your project. Alternatively you can also try other buffer sizes.
Correct answer by MrXsquared on August 13, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP