Questions tagged [print-composer]

Print composer provides growing layout and printing capabilities in QGIS.

Filter by
Sorted by
Tagged with
1
vote
1answer
76 views

Reset canvas match print composer QGIS 3

Is there a way to reset the map canvas to match the layers, or layers and styling from a "locked" print composer window? The lock layers, and lock layer styling buttons in QGIS Print Composer are ...
8
votes
2answers
1k views

Is it possible to pan the map in QGIS composer?

I am relatively new to the composer feature of QGIS, and often have difficulty getting the map centred exactly where I want it. In particular the area of interest often moves when I set the scale. Is ...
0
votes
2answers
122 views

Atlas map generation in QGIS using point layer only

I am trying to automate generating maps with Atlas using points only. As the snapshot shows the data points for each village is shown by a color. Every four villages fall under one health area. There ...
4
votes
1answer
2k views

How to print Bing Aerial maps in QGIS?

I need to create a big number of maps in QGIS for a breeding bird monitoring scheme. The Bing Aerial maps would be perfect as underlying layer as they have sufficient resolution and very nice ...
2
votes
1answer
93 views

QGIS Print Composer Templates

Whenever I launch QGIS 2.18.23 all my template print composers launch in the background without any prompting and I'm unable to close them How can I switch them off or close them?
2
votes
0answers
107 views

Print composer layout without opening project in GUI (no iface solution)

I would like to print some composers without open the files that contains them in QGIS. without using templates not using iface using, app = QgsApplication(sys.argv, gui_flag) app.initQgis() ...
4
votes
0answers
381 views

How to create text buffer in the legend- QGIS 2.18?

I work with this polygon layer and this is my map composer: I used the labels with Text Buffer (yellow and red), and I try to find how I can make the same text buffer in the layer name in the legend. ...
2
votes
1answer
731 views

Programmatically import new composer from template to project using PyQGIS

I am trying to find information about how to programmatically import new composer from template, but it is impossible. There is a lot of information how to print the composer to image, but not save ...
1
vote
0answers
216 views

PyQGIS composer map add raster layer

I try to follow this example to create a map using PyQGIS in standalone script. But in my case I don't have vector layer but I have raster layer. Here the code : qgs = QgsApplication([], True) ...
0
votes
1answer
72 views

Extra conditions in composer controlled by atlas

I want to create a map series controlled by atlas, but some of my features have very different scales. I want to insert a condition to never use a scale lower than X (for instance: 1:5000). Any idea? ...
2
votes
2answers
252 views

QGIS map composer changing legend position when exporting atlas as images

I am having an issue when exporting atlas map series to image. In each map the position of the legend is jumping around by a few cm. I have the position referenced under item properties to the bottom ...
1
vote
1answer
67 views

Shaping map inside QGIS layout?

I'm composing a print layout with a map on QGIS, and I'm trying to shape the map based on a layer. I have a layer that sets the limit of the study area, and I need to put on the layout only the ...
10
votes
1answer
5k views

Creating several maps showing different layers but same area using QGIS?

I know about the print composer's atlas generation tool, which allows users to create multiple maps that show the same layers/features but different geographical areas. What I am looking for is a ...
0
votes
0answers
93 views

Opening QGIS layout manager without opening QGIS

Is there as way to open the layout manager without opening QGIS interface for a certain project file?
3
votes
1answer
146 views

QGIS 2.8 Composer - extent overview not shown

I have a print composition with three maps: a general map (1), a medium-scale map (2) and my detailed map (0). I want a box showing the extend of map0, in map2. For doing that I block the layer ...
0
votes
1answer
323 views

Mapbox WMTS layer in QGIS poor print quality

I've added a Mapbox WMTS layer to my QGIS project. However when I use the print composer and export my map the result is blurry / not sharp. The image in the print composer itself is sharp, it is ...
1
vote
1answer
363 views

Hiding polygons outside of current atlas feature in QGIS? [duplicate]

Within the above image, I would like to ideally hide the polygons outside the current atlas feature (some to the east and also to the west - these are part of other atlas features) They are currently ...
8
votes
1answer
3k views

How to create an extent indicator in QGIS 1.8 print composer?

I'm looking to put an inset map for my main map frame onto my map layout in QGIS print composer. I would like it to indicate the extent and location of the main map on a larger regional map. This ...
2
votes
1answer
188 views

Making long labels visible in a legend

How do I handle map legend with tens of classes using QGIS? I searched for instructional videos and previous post relating to the question but could not find any helpful material. The legend text in ...
1
vote
0answers
32 views

Is it possible to cache QgsProject and QgsComposition?

I'm developing an application to automate reports that include several QGIS maps. The main drag on the application, as noted below, is the time required to instantiate the QgsProject and to load the ...
0
votes
1answer
81 views

How to generate multiple maps for each feature using same scale and displaying only the one feature?

I am using QGIS 2.18. I've got a layer consisting of 40+ features (lines of movement per day). And I'd like to automatically create maps that always show exactly the same area. But the difference is ...
2
votes
1answer
132 views

Colour Gradient as background colour in textbox for map in QGIS

I'm trying to make a map in QGIS which of course contains the title of the map within a textbox. As background colourscheme for this textbox, I want to use two colors with one color beginning at the ...
1
vote
1answer
112 views

Can attribute table in map composer be changed from limit of 99 rows?

I am using Qgis 2.2. I am about to create a cadastral index map, which are showing the parcels in specific gridcells, also there is an attribute table connected controlled by an atlas function. So by ...
2
votes
1answer
143 views

Printed map has different scales for raster and vector layers in QGIS?

I am trying to help a friend in another part of the country diagnose this problem. She has a background layer from google and has a vector layer overlaid on it. It looks fine in the composer but ...
0
votes
1answer
71 views

Map orientation in print composer in QGIS

I need to create a layout in which the vertices of the map in the layout coincide with the vertices of a rectangle of a grid that is oriented differently from the map on which it is overlayed: what ...
1
vote
1answer
67 views

Atlas layout - blank 2nd page in QGIS 3.2 / 2.18

I've got an atlas in QGIS 3.2 and also 2.18. There is a main frame showing a map with points. Underneath there is a table with further information about the points. If there are many points, the ...
1
vote
0answers
28 views

Listing features and their respective map grid in QGIS

I am trying to list map features and the Reference Grid they fall into. The grid is setup in the Print Composer as a 50mmx50mm grid over a 400mmx400mm map with Cells Labeled as 1A, 1B, etc.. I didn't ...
1
vote
0answers
98 views

QGIS - Problem with Print Layout - blacked out sections on map (QQIS 3.2.1-Bonn)

I am experiencing a problem with Print Layout. When importing my map, random blacked out sections are appearing.
5
votes
2answers
355 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....
2
votes
0answers
120 views

How to filter legend by map content in composer with raster layers?

Does the "Filter Legend by Map Content" button in composer of QGIs 3.2 version work only for vector layers? It seems it's a bug reported in 2.18.x version and should be fixed for 3.x versions (https://...
4
votes
1answer
721 views

Make legend in QGIS only show features in the view extent?

I am trying to create a legend in QGIS 2.18.22 so that it only shows the features that are in the current map extent in the print composer. I have been selecting the 'only show items inside current ...
1
vote
0answers
67 views

Layer length statistics in print composer QGIS

In a QGIS composer, I would like to add a text label with the calculation of % of length of the total layer with a specific feature value. My layer is composed of roads lines and I would like to ...
13
votes
3answers
3k views

How do I set the composer layout units to inches?

I open an 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 ...
4
votes
2answers
149 views

Sort attribute table by hidden column in Print Composer

In a QGIS 2.18.20 attribute table I have some values with random numbers, but at the print composer I want to show them with order (clockwise). So I made a new integer column, and added numbers with ...
1
vote
1answer
339 views

How to create a polygon from a Print Composer or Print Layout map extent in QGIS?

How do you create a polygon from a QGIS Print Composer or Print Layout map extent (i.e. a polygon that is the exact area shown in a map within a print composer/layout)? Ultimately I would like to do ...
2
votes
1answer
66 views

Displaying length of feature on page in print composer?

I'm making a map for a walking trail in QGIS. In the below screenshot, the red line is the trail. The trail is about 60km in length in total, but on this page of the map, the trail is about 23km long ...
0
votes
0answers
49 views

How to get WYSIWYG of raster layer in print composer in QGIS? [duplicate]

I currently have a base raster layer from OSM Standard used in my project. In the regular editing platform for QGIS, the place identifiers for cities are easily readable. However, once I enter layout ...
2
votes
0answers
67 views

QgsVariableEditorWidget does not save changes

I would like to edit the variables of a composer item in QGIS 2.18.x. The widget itself is working so far. In my example, I am selecting a QgsComposerLabel called "Plankopf" to show its variables. ...
7
votes
1answer
490 views

How to rotate QGIS composer map frame to North when using Atlas?

In QGIS, I'd like to use Atlas in the Print composer to generate a series of maps. However, I'd like each map to be printed with "north up". For example, using the classic projection of the United ...
1
vote
2answers
1k views

Setting map up to print to scale in QGIS?

I am having a problem trying to get maps to print to a specified scale. Goal: to print a map to scale so that an engineer's scale (ruler) can be used to measure features on the printed map. Problem:...
0
votes
1answer
267 views

How to open saved QGIS layout in layout designer with Python?

Is it possible to open saved layout in layout designer(print composer) with Python? QGIS Python API: openLayoutDesigner(self, layout: QgsMasterLayoutInterface) → QgsLayoutDesignerInterface ...
0
votes
1answer
246 views

QGIS : how to get selected feature “state” to filter data in QGIS Composer

In a QGIS layer, I have selected some entities. Is it possible to show these in a particular way using style definition using a "state" like $currentfeature or @atlas_featureid ? The goal is to ...
1
vote
0answers
60 views

Forcing legend entry to display markers in QGIS

Is there a way to force the patch in the legend to include a loosely spaced marker symbol in QGIS print composer? I'm using a large, loosely spaced marker symbol to represent wetlands in a map I'm ...
1
vote
1answer
324 views

PyQGIS get existing ComposerAttributeTable from composition?

Working with QGIS 2.14.10x64 in Windows 7 in the QGIS Python Console I've managed to create a new print composer from a template, and update the layers in the map, and I'd now like to update the ...
0
votes
1answer
376 views

Draw Coordinates problem in QGIS map composer [closed]

I'm new to QGIS and am having trouble with the Draw Coordinates feature in Map Composer. Extensive Googling has not provided any solutions. With reference to the attached image, the coordinates around ...
2
votes
2answers
668 views

Creating QGIS text label in composer calculating values from attribute table?

I am working with QGIS 2:14, for now, I have a qgs project with a lot of layers and I want to create a label in the print-composer with the result of a calculated expression from one of this layers. ...
1
vote
0answers
150 views

OSM XYZ Tile rendering incomplete

I'm not sure if there is a fix for this, or if I am encountering a bug. I have 2 layers. The base layer is the XYZ Tile for OpenStreetMap and the top layer is a 1-channel raster, set to 50% ...
1
vote
1answer
128 views

QGIS 2.8 Composer - extent / overview … change style

I have a working overview setup with a general map and a detail map. Since scales are pretty much different - general 1:100.000 and detail 1:750 - I would like to change from the standard style (red, ...
3
votes
1answer
682 views

How to convert legend to graphics in QGIS?

I am trying to convert the legend element in the print composer into graphics, like the option in the ArcGIS: Is there some way to do it with QGIS?
2
votes
1answer
250 views

How to specify projection in print composer instead of in project properties for QGIS?

I am using two map objects in QGIS print composer. One of them should be in WGS 84, being an overview of North America. The other should be in MTM 5 (close-up of a region). I can specify the ...