How to enlarge and/or move areas in QGIS

preview_player
Показать описание
Sometimes when you make a map it can be hard to read the data in small areas - like in the example of Greater London in this video. In such cases it's great to be able to enlarge and move your smaller areas to a place where people can see and read the data more clearly.

You can do this really quickly in QGIS using the geometry generator symbology and an expression like the one below. Note that you don't need to enlarge it - you can always set the scaling factor to 1 and 1 and just move it but in my case I have enlarged Greater London 4 or 5 times and moved it to the east of England so it's easier to read.

Here's the expression I used - hope you find it helpful!

CASE
WHEN "LON" = 'Y' THEN
affine_transform( $geometry,-1300000,-500000,0,4,4)
ELSE $geometry
END

Рекомендации по теме