Questions tagged [print-composer]

Print composer provides growing layout and printing capabilities in QGIS.

Filter by
Sorted by
Tagged with
7
votes
1answer
357 views

QGIS run python script upon print composer export

I'm looking for a way to execute a python script upon exporting a print composer. Specifically, I want it to run once for each page exported. (logging some data and possibly updating a database). So ...
6
votes
3answers
2k views

QGIS Print composer scale problems

I'm having trouble printing a map with a desired scale. I set the scale to 1:100,000. The page size is 30x30 cm, therefore the real world map extent should be 30x30 km. However, as one can see with ...
6
votes
1answer
577 views

Creating new print composer programmatically? [closed]

I would like to create a print composer (e.g. A3 landscape) containing a single map with a few lines of code. I do not need legends, labels, scale bars and so on. Does anyone know how to do this?
6
votes
1answer
295 views

Attribute table trailing zeroes missing in Print Composer

I have QGIS 2.18.3 installed. I'm trying to create a printable .pdf map with QGIS Print Composer. It needs to have X & Y coordinates listed in an attribute table, with 3 decimals accuracy. Print ...
6
votes
2answers
4k views

How to import a Composer Template into QGIS Print Composer?

How can I import a .qpt file into Print Composer (Composer Manager) in QGIS. I've tried saving it in the composer_templates folder but to no avail.
6
votes
1answer
1k views

How to add pages in print composer

Is it possible to add more than one page to a QGIS print composer project? For example one sheet for the map and another sheet for the legend and some other information.
6
votes
1answer
161 views

Adding date to label in QGIS Atlas composer?

I'm trying to add the current date into a label for use in a composer for colleagues to run on a daily basis. The label is currently; Bins to be delivered: [% "Count" %] All I need to add is the ...
6
votes
3answers
3k views

How to create a reference grid in QGIS print composer?

Is there a way to create what is called a 'reference grid' in ArcMap using QGIS print composer:
6
votes
1answer
312 views

Print Composer with semi-transparent raster but full opacity in legend

I am trying to make a map with a semi-transparent (60%) raster layer overlying an areal photo (raster) base map. This works fine and looks good but when I add a legend to display the values of the ...
6
votes
1answer
6k views

Creating QGIS Print Composer map templates?

The company I work for has asked me to create a number of templates for the different maps we include in our reports. What would be the best way of creating templates (logo, scale bar, legend). Is ...
6
votes
1answer
1k views

Go through items in a composer legend (QGIS 2.6)

I'm trying to develop a plugin in QGIS 2.6, which opens a composer, add a map and a legend, and (among other things) adjusts the legend. Is there a way to go through items in a composer legend with ...
6
votes
1answer
3k views

Why is the map content not displayed when I reopen Print Composer? [duplicate]

I just updated from QGIS 1.7 to 2.0 on Mac. When I now open a project and create a map in the print composer the content of the map is lost when I open the project again later. The settings of the ...
6
votes
1answer
283 views

Creating multiple line grid frames in QGIS Print Composer?

I've found an older map with a nice-looking grid frame. How can I create this with the QGIS Print Composer (also programmatically with Python)? I didn't found anything to control the line style of ...
6
votes
2answers
610 views

Print Composer Reference map

Recently started using QGIS 2.18, for basic mapping. I am using Swedish GEO-agancy data shapefiles as bottom layers with my own shapefiles as toplayers (EPSG:3006 (SWEREF99 TM)), including a GPX file (...
6
votes
1answer
272 views

Centrally stored QGIS print templates

In my organisation we would like to have a set of organisation configured print templates. It would be convinient to stores these at some central location so we only have one copy of the templates. ...
6
votes
1answer
593 views

How to make my programmatically added map items show up in the composer items list?

I try to make a composer via python. I add item, make a composer view and open, but i can't see item in "Items" dock. Also, when i select it, i don't see item properties in "Item properties" dock. ...
6
votes
2answers
2k views

Why do quickmapservices basemap labels shrink when printed?

I am using QGIS with quickmapservices for my basemaps. In the composer the image looks good, with labels appropriately sized. When I go to print the PDF however, the scales on everything is much ...
6
votes
2answers
687 views

QGIS Print Composer Grid Draw Coordinates line offset

I have had a good google about this and can't find anything on it. is it possible to offset grid labels from the grid basically trying to move the label to where the red lines are on this crude ...
6
votes
1answer
259 views

Automatically appending the CRS name in composer?

I'm trying to find a way to automatically append information to a text box in the QGIS print composer. I've figured out how to call my user name, project name, date and other information, but I'm ...
6
votes
2answers
497 views

Is it possible to subdivide scale bar segments in QGIS?

How can I subdivide the scale bar segments in smaller subsegments? I want to style my scale bar like this: To make the question clear I edited the posting.
6
votes
1answer
5k views

Problem with print composer when exporting a map with Google Maps Plugin in the background [duplicate]

Whenever I try to export a map with the Google Maps plugin in the background, it exports but just exports to a blank document. When I turn the Plugin off so it is not in the background, it prints fine....
6
votes
3answers
2k views

Altering composer label items in QGIS with Python

I'm only new to QGIS and Python so this may exists already, and hopefully be easy to do. What I'm hoping to do sometime in the future is build a map book generator using QGIS as the base. In order ...
6
votes
1answer
1k views

How to refresh the view in QGIS Print Composer using Python?

I am trying to automate the printing of maps based on different attribute classifications using Python in QGIS. Everything is okay except for when I open the printed image, the labels are blurry. ...
6
votes
1answer
244 views

Formatting scale bar text with thousands separator in QGIS

I wonder if this is possible. I want to show the text (numbers) of the scale bar in Print Composer with a thousand separator in order to make the labels more readable. All I can do for now is change ...
6
votes
0answers
111 views

Scaling x y coordinates in qgis print composer while using atlas generator [duplicate]

So I am using QGIS 2.18.0 and have made a map template that uses the atlas generator in the print composer. It uses the grids settings for the map to add UTM north and Eastings along the sides of the ...
6
votes
1answer
659 views

Can you set a QGIS print composer to render the map as default?

I have set up a number of templates for the print composer in QGIS. In the Print Composer, there is the option to have the map image displayed in 3 ways: as a blank rectangle with no updates until ...
5
votes
5answers
14k views

How to change page size in QGIS Composer

I've made a few maps in QGIS Composer and set them up initially as 8.5x11 page size. I want to begin with that layout and apply it to 11x17 page size. However when I change this in the Page Layout, ...
5
votes
2answers
538 views

How to change legend orientation in QGIS?

I created a legend in the print composer and the default layer orientation is How can i change the legend elements orientation like in ArcGIS? I seeked in the Item properties but didn't found any ...
5
votes
1answer
2k views

How do you add North Arrow which adjusts to the map rotation in QGIS?

How do you add a working North Arrow into QGIS. One that will rotate if the map is rotated? I'm aware that in QGIS the North Arrow icon is just an image (Layout->Add Image/Arrow), what I need to know ...
5
votes
1answer
10k views

How to remove layer names from the print composer legend?

I'm creating a map in QGIS Composer that is the result of two merged layers. The legend (screenshot below) is adding two rows with the titles of the layers. The edit property sheet does not give me an ...
5
votes
1answer
294 views

How to set the default values for the ScaleBar in QGIS?

I often insert scalebars (that's quite common) in my maps, but the one set by default doesn't suit me at all. Example : Reference point : default is up and left i need it down and right Segments are ...
5
votes
2answers
212 views

Why does QGIS legend does not take the indentation?

I created a legend with refinement in QGIS print composer. As you can see (picture 1) in the item properties for the legend the items are hierarchical indented. picture 1 But in my map the ...
5
votes
1answer
349 views

How to create Bookmarks in the Print Composer?

I try to find a way to create a bookmarks in the QGIS Print Composer, so when i move the map with the pan option i will quickly return to the wanted frame of the Print Composer. I search in the view ...
5
votes
2answers
964 views

How to count points within the current Print composer atlas feature in QGIS 2.8?

In the print composer when generating an atlas, does anyone know how to show he feature count per each atlas coverage feature? For example, I have generated an atlas where each map is a different ...
5
votes
2answers
123 views

Is it possible to put the projection of a map of a layout in a text label in a layout in QGIS?

I would like to be able to have a text label in a print designer with the information of the projection of a map in QGIS. That way, if I change the projection of a project, I would change that ...
5
votes
1answer
326 views

How do I align symbols of side by side columns in qgis 2.14 print composer

Using QGIS 2.14. I created this legend in the print composer using the columns tab, but as you can see the top symbols don't align horizontally at the top. What is the setting to tweak to have these ...
5
votes
1answer
141 views

QGIS 3.2 Layout Map render/cache/rectangle no longer available

In previous version of QGIS when using the print composer there was an option to have the map displayed as a rectangle, cached or render. This was particularly useful when the map showed lots of ...
5
votes
2answers
226 views

QGIS Default Map Composer On Open

Is there a way to to have a map (Print Composer) open automatically upon project load? I have a map constructed in Print Composer "General Map". When a user fires off the project, I would like "...
5
votes
4answers
3k views

QGIS print composer export excludes one layer

I am trying to export a map from QGIS print composer but the resulting files (I've tried all image, .svg, and .pdf formats) do not appear as the map did in the composer. It is as if one of the raster ...
5
votes
2answers
1k views

Draw Vertical Line QGIS Composer

Is there a way to draw a perfectly vertical line in QGIS's Composer. I wanted to created a visual separator between two elements for aesthetic reasons. I've tried the arrow tool, removing the arrow ...
5
votes
1answer
354 views

Qgis composer - change the title automatically according to the selected layer?

I'm working on a project where I have to create different maps for the same area. I have lots of maps and each of them is related to a different theme, that I've grouped into different groups of ...
5
votes
2answers
455 views

Load frequency histogram in Print composer

I'm a QGIS-user and I'm looking for a way to add a frequency histogram in the print composer. The aim of it would be to visualize the distribution of values around the defined class borders of a given ...
5
votes
1answer
1k views

How to remove marker lines in print composer QGIS

I seem to have stumbled on a really excellent useful feature in qgis print composer which is to add in marker lines to line up content if you click in the x, y coordinates on the side of your layout (...
5
votes
2answers
1k views

QGIS Map Composer has wrong coordinates

I've been using QGIS 2.10 for a few weeks and have just started trying to export maps using Map Composer. This might be a very common question with a trivial solution but I just can't figure it out. ...
5
votes
2answers
335 views

Creating and manipulating an HTML frame in QGIS 3.2.0 Print Composer using PyQGIS

I'm trying to create, reposition and resize an HTML frame in a QGIS 3.2.0 Print Composer layout using PyQGIS: proj = QgsProject.instance() comp = QgsPrintLayout(proj) blockStats = QgsLayoutItemHtml....
5
votes
1answer
270 views

Text color in the legend of the print composer

Can I use different colors on the legend text for the title, group and object? If yes, how do you do it? My QGIS version is 2.14.12-Essen.
5
votes
2answers
432 views

Blank Base Map when exporting from Print Composer

When exporting from composer in QGIS to either an image or PDF the map does not print. I get a white page with only the shapefiles showing up. This happens when the map is rotated 90 degrees. This ...
5
votes
2answers
566 views

The scale in Qgis is not setting to feet

I am working in QGIS 2.4. I have changed the CRS of all the layers and in the project properties to EPSG:102739 - NAD_1983_StatePlane_Texas_Central_FIPS_4203_Feet. I am in print composer trying to ...
5
votes
1answer
905 views

Is it possible in QGIS print composer to include a numeric scale in an html box?

For work I always have to create a table with my name, project name, date etc. into my map layouts. I also need to include the scale like "1:150000" in that table. So far I am solving that by ...
5
votes
1answer
554 views

Setting layer name in composer legend as “Hidden” using PyQGIS?

Is there a way to hide a layer name in the composer legend using pyqgis as we do from the legend properties (see picture)? The only way I've found so far is by changing the layer name in the composer ...