I have a map of the word, the bottom layer is a world raster layer from Natural Earth and on top of it several vector layer.

Using QGIS 3.4.4, I need to export image without a background, it needs to be precisely on the raster extent.

When I use the Layout manager (Print composer) I cannot get a perfect result, there is always a background.

So, I am looking for a way to perfect extent choosing.

enter image description here


In QGIS 3.4 there is a very useful tool for map importing by extent.

The Import/Export panel enable image,PDF and DXF.

enter image description here

In the "Save Map as image" panel the image extent is calculate from layer, canvas extent or by hand drawing. enter image description here

The project layers, raster and vector, are listed in the "Calculate from Layer". The map extent is determined by the selected layer.

In this example, I choose the raster layer. The imported layer was precisely on the raster extent, without background.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.