TransWikia.com

Setting composer layout units to inches in QGIS

Geographic Information Systems Asked on January 2, 2021

I open a new composer and select ANSI A for my paper. The notation after the name is “Letter; 8.5inx11in”, but the width and height are displayed in mm, and the units selection is grayed out, so I can’t change it. The rulers at the top and left of the layout are in mm, and the parameters for “Snap to grid” are also in mm. If I then select “Custom”, I can select inches for units, and the Width and Height display as 8.5 and 11. However the rulers in the layout are still in mm, as are the units for the grid.

Can the entire composer project be converted to inches?

qgis 2.01 64 bit
windows 7, 64 bit

4 Answers

It looks like this problem is fixed in QGIS 2.8.1 : enter image description here

Are you able to reproduce this?

Answered by Balala on January 2, 2021

You can't (as of 2.12). The "units" selection in the composition properties tab only changes the units for the display page size. Everything else is hardcoded to use mm (ie rulers, item positions, item sizes, etc).

Answered by ndawson on January 2, 2021

This is possible in QGIS >= 3.0.

Answered by ndawson on January 2, 2021

You can set the ruler in inches (See Setup QGIS Print Layout to use Inch Instead of Millimeter), but this has the effect of modifying every feature and label in that layout to use inches as it's base unit instead of millimeters, but they keep the value set, so a line set to .1 mm becomes .1 in; if I have a line width defined in inches, the width in the layout becomes x"*25.4, the conversion factor between inches and millimeters, so a line I've set to .01" becomes .254". It's the same with points or pixels: whatever I set in the map becomes 24.5x larger.

Is there something that can be set to modify this behavior?

I should add that I'm using v3.1416.

Bruce

Answered by bkepl on January 2, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP