41

In QGIS 2.8 Composer, there's a Wrap text on option in the Item properties tab when you add a legend which lets you enter a character where you want the new line to start. What I normally do is use the * character in the layer's name for where I want the new line. Then input the * into the Wrap text option. (I'm using QGIS 2.8.2-Wien):


38

Another option is to add a rectangle shape to the composition, then style the rectangle using a gradient fill with the same color ramp as your raster. This can be done directly in QGIS, no image editing or html required.


27

I think there's a few steps involved and you may need three scalebars (instead of the two in my previous comment). Create your first scalebar showing kilometers: Create your second scalebar showing nautical miles: Select the nautical mile scalebar and copy/paste it below (Ctrl+C, Ctrl+V will do, thanks to @Oto Kaláb for this very useful tip!): Modify the ...


24

For posterity (since I think I have discovered the issue here, or at least had a different one myself): there is a "Page Size" setting in the Layout>Page Setup dialog that does not modify the layout of the composition manager. I suspect that this is what you were talking about cndnflyr, since your description matches what I was doing (ineffectually) to a "T"...


22

QGIS 2.x There is an Orientation option in the Composition menu which allows you to switch between Portrait and Landscape: Can't confirm this but I would guess that the Page Setup... are options for printing and not for visualising onscreen. QGIS 3.x To change the layout orientation, right-click on the layout and select Page Properties. You can also ...


21

Add a new label in QGIS 2.0.1 Composer. In the item properties if you put the following code <span style="color:blue;text-shadow: 0px 0px 2px #4d2d4d, 0px 5px 10px #aefe00;">Test</span> you'll obtain the desired effect: (Don't forget to disable the item background if you are looking for a transparent label!) EDIT Some text-shadow ...


19

Another, easy way to achieve the same as the buffer function in QGIS.DESKTOP is the following: <p style="-webkit-text-stroke: 3px white">Test</p>


18

If anyone is interested here is the code I ended up with. This will turn on/off specific layers in the table of contents (from a list of layers), load a selected composer template from file, generate an atlas and export the map. Finally, returning the table of contents to its original state. def sort_toc(self): # Turn on/off layers as required by ...


15

First make the page background transparent in the sidebar under Composition - Page Settings - Page Background Then for each map or item go to Item properties - Background and turn that off. if you are trying to do this in QGIS 3.0, right click on the layout whitespace and select Page Properties. The setting to change the background is at the bottom of this ...


15

I don't think there's an option yet which allows you to put the units below the scalebar. An alternative could be to: Modify your current scalebar and set its Font colour to match the background colour: Item Properties > Fonts and colours > Font colour Copy your scalebar and paste it directly below your original scalebar. Then set its Font colour to ...


14

Update 27/07/2018: As of QGIS 3.2.1, my workaround below no longer works! If I find an alternative solution I will post here again. This is very, very annoying... There is a way to do this. In the Item properties tab for your map item, click on the black-and-yellow "data defined override" icon to the right of the "scale" box. Click on "Edit". In the "...


13

Well, With Qgis 2.0, you can click the "Layout" menu, then "Move Content", and adjust the layers to your liking


13

There is possibility to do it in Print Composer now. Also it is possible to simply manually create vector layer with grid in QGIS (Vector->Research Tools->Vector Grid) - the only way if more grids are needed in one frame (update: from QGIS 2.6 it is possible to do more grids for frames). In Composer Manager select map frame and go to Item Properties / Grid


13

Uncheck the "auto update" box. This makes it possible to remove fields from the Print Composer without removing them from the project. You can't remove a parent without removing the children. However, you can click the Edit Text (pencil) icon, erase all the text, and the legend will eliminate the whitespace.


12

Yes. You can add in a second map to use as an overview map. You need to lock the features on your your original map first using the Item properties tab. There is a tick box for this in the Main Properties section. You then get QGIS looking how you want the overview map to look and then add it in using the print composer in the same way you added the first ...


12

The north arrow is added as an image. The behaviour of the scale depends on the CRS of your data/map. Once you start inserting an image in the composer, you should get the option to select from a library of icons, and a subfolder is arrows, of which there are are many types. Once the image is installed, there is an option to keep the rotation of the arrow ...


12

There's an option under Item Properties to do this, but it's only available for an Image item, not an Arrow, which may be why you're not seeing it. You need to add your north arrow from an image (Layout -> Add Image). Once you do, there's a checkbox under Image rotation to sync the rotation with your map:


12

Your question is very vague, so (at least at this moment) I can only post a very general answer. Solution for QGIS 2.x Supposing you want to create a new composition in which there is one map containing all the layers enabled in the Layers Panel, you may run the following code from the Python Console: from PyQt4.QtCore import * from PyQt4.QtGui import * # ...


11

I think what you are looking for is called the "Overview Map". The YouTube video called "Tutorial 21 - Adding a Locus/Overview Map to a QGIS Print Composer" shows how to add an overview map using what appears to be pre-2.0 tools. There is also a new capability in the recent QGIS 2.0 release that is a more automated method of setting up an Overview map. ...


11

A workaround without pictures is to add the gradient using a HTML frame and some CSS magic: <html> <head> <style type="text/css"> body { background: -webkit-linear-gradient(left,red,orange,yellow,green); } * { color: white; font-family: "Source Sans Pro", Arial, sans; font-size: 24px; } </style></head> <body> <div ...


11

If I interpret your issue correctly, you are looking for the move item content tool which is the rightmost tool button you can see in the toolbar @Joseph posted. Location of the move item content tool in QGIS 3:


11

Save your excel file as CSV file go to Add Vector Layer in QGIS and navigate to your CSV file and load it In the print composer, go to Add attribute table, as you can see below: Select the Source from Layer Feature from the window in the right,as shown below: You can change the font and formats based on your needs, and here is final output: UPDATE In ...


11

You can use the Sinica WMTS service, it has the Bing Aerial layer. It's url is: http://gis.sinica.edu.tw/worldmap/wmts. Just use it as any other WMS or WMTS layer and it works just fine with rotated maps in Composer.


11

If you want to add a numeric scale like 1:10000 you can add a normal scalebar first and then change the style to 'Numeric' under Item Properties > Main Properties of the scalebar element.


11

If anyone is having this issue in QGIS 3, the settings are hidden (for now?)... Right-click the page Choose 'Page Size' The 'Item Properties' panel now contains your page size settings (it doesn't normally show them) This is a strange method to get to the page size, as I'm seeing issues even using the menu Layout > Page size on various operating systems to ...


10

you could unmark the layer (which you dont want to be drawn in one composer) in the layers panel, then do your settings in the print composer and then mark "lock layers for map item" in the Item Properties tab of the print composer. Now you have one print composer without that layer. Now reselect = checkmark this layer again in the layers-panel and create ...


10

Yes of course! In the Print Composer of QGIS, there is the option to have the map image displayed in 3 ways: as a blank rectangle with no updates until it is output as a manual refresh based on cache as a rendered refresh For your case I think you just need check the dialog is not on a rectangle and to be pressing the update button as required. So click ...


10

If you want to do a datasheet for each feature in a table, then you can use the atlas generation functionality in the print composer. In the atlas generation tab, set the coverage layer to the layer where you have your features. Make sure you uncheck the Hidden coverage layer box in Visibility. And set the scaling according to your needs. Entering a new ...


10

Yes, it is. You can change the number of pages in the print composer composition tab in "paper and quality" options. From that point, you can put items in any of the pages. You can even put several maps if that fits your needs.


10

Use the "Filter Legend by map Content" button. The legend updates and only in the map visible layers are present in the legend (referring to QGIS Version 2.18.6).


Only top voted, non community-wiki answers of a minimum length are eligible