Questions tagged [print-composer]

Print composer provides growing layout and printing capabilities in QGIS.

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

Multiple Overview Indicators in QGIS

I am creating an atlas with multiple maps in QGIS. Each map is at a scale of roughly 1:12,000 and also includes an overview map at a scale of 1:200,000 in the corner which shows the entire region of ...
1
vote
1answer
142 views

How to calculate the ratio between DPI and MB in QGIS?

I need to make maps that do not exceed a limit of 20 MB. Up until now I worked with DPI values, that I choose when I export maps from the print composer Maps with the same DPI have a different MB of,...
1
vote
1answer
516 views

QGIS Composer map scale turns incorrect after working properly

I am working on a project with several QGIS Project files. I have one Project file with certain layers and settings which I copy every time I need to create a new Project file within this work. I have ...
1
vote
1answer
2k views

Setting a scale

Is there a way of adding a map to a layout in print composer at a fixed scale for example 1:1000? I can set the scale in the project but it doesn't seem to carry through to the print composer.
1
vote
1answer
145 views

How to make a frame that extends to next page automatically keep margins in QGIS print composer?

I am using an HTML frame component in the print composer, which displays a table. The composer is controlled by Atlas, meaning I cannot know before-hand what the maximum height of the table will be. ...
1
vote
1answer
854 views

How can I avoid map size and scale changes in print composer?

I set up a print composer for an area of my map. I'm exporting it as a series of pdfs (with different layers turned on) and over-laying the pdfs in corel. All of a sudden, my map window changed size ...
1
vote
2answers
451 views

Populating label fields in print composer

Is it possible to fill text fields in a print composer template using data saved in a csv file? For example, every template I create has the same fields which I always have to manually enter: Client ...
1
vote
1answer
57 views

Shortcut to display scale from cache in qgis print composter

When loading a map in the print composer I always click on the main area where the map displays, then click on 'set to map canvas extent'. Then I adjust the scale as I need. This is all fine. How do ...
1
vote
1answer
71 views

python plugin menu action in Composer menu

I'm new developing plugins for QGIS and am working on a plugin to add some pictures on the Composer layout. I think the appropriate place to have the plugin menu action is in the Composer menu where ...
1
vote
1answer
237 views

QGIS print composer atlas shortcut next feature

I have 25 features in the atlas of the print composer and I need to check every feature before exporting. It's quite annoying to always click the field in the status bar, so I wanted to use the ...
1
vote
2answers
430 views

Why is the vector style in the PDF export different than in print composer? [closed]

I'm exporting a map to PDF in the print composer. See the map in the print composer As you can see, the top map is different from the bottom; the top has 10 tracts shaded in, the bottom has 6. Now ...
1
vote
1answer
594 views

Legend disappears in QGIS 2.8 composer

I would like to keep my legend on as I export a multipage map set to PDF, but the legend appears to lose any layer items and just keep the title ("Legend"), which is what appears in my PDF document. ...
1
vote
1answer
682 views

Parts of geometry disappearing in QGIS export to Illustrator PDF?

I'm having this issue with certain polygons when I export to PDF. Everything looks fine in QGIS, everything fine in print composer, everything fine in the PDF as viewed in Preview or Adobe Reader. ...
1
vote
1answer
299 views

Qgis 2.8 problem with font size

I'm using Debian 7 and yesterday i had an update of Qgis 2.8. Since then I can't change font size and type, at labeling and print composer, whatever i pick it returns to the default "Free sans" size ...
1
vote
1answer
327 views

QGIS Print Composer producing angled graticule lines that look like rectangles instead of squares?

I just tried to create an extremely simple map made of one layer loaded as WMS layer from Croatia's geoportal (http://geoportal.dgu.hr/wms). I successfully loaded the necessary layer and created ...
1
vote
1answer
493 views

QGIS graticule coordinates in print composer starting from 0?

I am not sure how to explain the problem correctly as my English isn't as great as it should be - but let me try anyway. I just tried to create an extremely simple map made of one layer loaded as ...
1
vote
1answer
199 views

QGIS 2.4 mapRenderer.extent() does not equal mapRenderer.setExtent()

Could anyone help explain this QGIS 2.4 python console code? I would expect the return value of .extent() to be the same as the bounding box given to .setExtent(): mapRenderer = iface.mapCanvas()....
1
vote
1answer
390 views

OSM printing in QGIS-Web-Client

Printing in QGIS-Web-Client generates pdf with only QGIS project layers. I tried to add osm map in QGIS Composer but it doesn't work. It still prints only overlays. Is there any other way to print a ...
1
vote
1answer
286 views

How to test for multiple map items in Composer using python?

I am building a QGIS plugin and I need to check for multiple maps items in Composer that works on all platforms. Currently I am getting the first map in the composition using the code below, but ...
1
vote
1answer
628 views

How to display graduated symbol in the legend in print composer?

This is the problem: why the graduated symbol is not reported at all in the legend of the print composer? Is it a bug or am I doing something wrong? Here below an image that shows the problem:
1
vote
1answer
287 views

QGIS Python Composer Attribute Table has no content

I add to the composer an attribute table and in this table there is no content. My Code: mapRenderer = self.iface.mapCanvas().mapRenderer() c = QgsComposition(mapRenderer) c....
1
vote
1answer
2k views

Printing High Resolution Open Maps?

I hope my question does not silly but I am QGIS rookie and am really struggling to find a solution. I have the added the Google Street Layer to my project on top of which I worked with my points and ...
1
vote
1answer
57 views

Getting the size of a QgsLayoutItem

I am facing a problem with the Layout API while implementing a plugin for QGIS 3. I created a layout template , which contains different elements like map, labels, legend and scale-bar. I'd like to ...
1
vote
1answer
17 views

QGIS Layout: Making a map frame in a certain scale bar style with world coordinates of the map (view) extent

Currently I am making some layouts for my some templates we are going to use. We would also like to have a certain border "frame" on to make the coordinate grid clear. The frame is supposed ...
1
vote
1answer
43 views

Inserting attribute value in Print Composer into label based on spatial relationship

I have this print layout in QGIS print composer/atlas in which I only have one layer being shown: land parcels. I am interested in having a label that will show what is the attribute of another layer ...
1
vote
1answer
61 views

How to draw polylines and polygons on layout using PyQGIS [closed]

I've been searching some example about how to draw polylines and polygons on the map composer using PyQGIS, but I couldn't find anything. Could someone show me some code to learn?
1
vote
1answer
191 views

QGIS Legend Item - Expression Labels

I am trying to use the expression editor on the legend item in the layout manager. My layer has the attributes of RU_NAME which is the geological unit and LITH_SUMM which is the description. ...
1
vote
1answer
30 views

Defining atlas feature margin using PyQGIS3

I want to create a simple atlas composer map using PyQGIS3. My question is about atlas feature scale. I want to use this settings from image. I know this select option but I don't know how to add ...
1
vote
1answer
39 views

Automating Atlas Generation With Different Coverage Layers

I'm currently using QGIS 3.10, and have around 60+ coverage layers that each should result in its own atlas pdf-file. All other settings in the print composer would be the same. As I'm not too ...
1
vote
1answer
62 views

Creating multiple maps in a QGIS print composer

I'm relatively new to QGIS - I'm switching from MapInfo. I'd like to have two separate maps in my print composer in QGIS. One the main frame linked to my canvas window and the other a raster image ...
1
vote
1answer
51 views

How to convert a QGIS Composer Grid to polygons

I really like the cartographic aesthetics of the QGIS 3.10 Composer Grid, especially the border created by using the "Zebra" style and "Fit Segment Length" option. Because of its design, I'd like to ...
1
vote
2answers
82 views

Updating print composer map when template in new project is used?

I have a print composer template saved, but when I open it in a new project I can't see a way to get the map to update to the new project. It just stays blank. Is there something like the legend where ...
1
vote
1answer
96 views

Center generated atlas map to features of different layer

I got a problem with setting an Atlas. I have a polygon layer with around 100 polygons, and a line layer. What i need to do is to generate a map for each polygon and show on the fixed scale (1:500) ...
1
vote
1answer
70 views

Using Symbology Scaling when printing to PDF using QGIS

I am using QGIS 3.4. When I go to print my map as a PDF the orange diagonals I added, which show up nicely in print composer, are scaled to the point of invisibility. How can I fix this so that ...
1
vote
1answer
181 views

Running into memory issues when loading a composer layout

I'm trying to load a specific composer layout model, but it not respond properly, slowing down my computer, consuming all it's memory, to the the point of giving me no option but a Windows hard reset. ...
1
vote
1answer
24 views

Print composer crashes (for no reason?)

I have a project with just an OSM topo map and want to export it via print composer with a scale and a frame. Very basic stuff. However, at some point when trying to get some ticks for lon and lat at ...
1
vote
1answer
64 views

QGIS 3x Crop Content to Better Fit Page

I'm trying to print a map using the print manager. The map I add to the page displays more or less as I'd like it to appear. It is set to zoom to the selected layer, which is a polygon of the area I'...
1
vote
1answer
219 views

Varying layout map scale based on layer visibility in QGIS?

I am looking for a method to vary the map scale of a QGIS layout according to the visibility of a layer. The output should show the minimum scale at which the layer can be seen in the layout from a ...
1
vote
1answer
108 views

QGIS Repeat Page Layout

I'd like to reuse a page layout across multiple pages - specifically the page border, the title, etc. Is there an easy way to do this? Right now I'm making new pages and copy/pasting everything. ...
1
vote
2answers
120 views

QGIS+PostGIS set atlas extents to include atlas feature and point

I have a QGIS print layout with an atlas layer for which I would like the map extents to show the current atlas feature and a nearby point. The layer provider is postgis. It seems the only way to do ...
1
vote
1answer
65 views

Grid lines and text together with Atlas. Problems with some scales for each map

I'm having trouble using the "Grids" option in the QGIS 6.3 composer layout. If I define the Interval units in Centimeters the coordinates on the map (text) are NOT referenced to the coordinate ...
1
vote
1answer
77 views

Is it possible to print a map in PyQgis3 of a database table without rendering the layer in the project gui?

There is a way to print a map using pyqgis3 without rendering the vector layer in the project interface? (by giving just the connection to the table, the map extent and the style )
1
vote
1answer
241 views

Adding a QgsLayoutItemMapGrid to a QgsLayoutItemMap with PyQGIS 3

I'm trying to add a grid to a map but I don't get any results. My code: def add_map_layout_item(self, list_maplayers, qgs_rectangle, ...
1
vote
1answer
247 views

Scale of shape in a Print Layout

I am making an atlas with a fixed scale, and want to include circles with a fixed radius (in scaled kilometers) about the center point in the atlas (see image below). I was able to do this by ...
1
vote
1answer
326 views

How to change text color in QGIS 3 composer label when render as HTML

I try to set a label with black background, a first line of text in green (exactly rgb(125,185,0) ) and the other line in white. In QGIS 2.18 setting the background black, the font color white and ...
1
vote
1answer
38 views

Align content in an attribute table to the bottom of the frame

I have an attribute table in a page in one frame with a certain dimension (width/height). The content of this table is not enough to fill the height of the frame and is aligned to the top. Is any of ...
1
vote
2answers
72 views

Retrieving specific value from CSV layer to use in QGIS Expressions when conditions match current Atlas feature

I have configured an Atlas which is tied to a "ref_pln" column in a coverage layer. I also have a CSV layer with the columns "ref_pln", "attribute" and "value". I'd like to pull the value of "value" ...
1
vote
1answer
91 views

Moving symbols in Print layout, not in Main Window

I am working on production of Fire Evacuation maps. There are three assets, Fire Indicator Panel, Fire Mimic Panel and Emergency Exit that are located one very close to the other on a wall. They are ...

1
13 14
15
16 17
22