All Questions
Tagged with qgis-2 print-composer
87 questions
2
votes
0
answers
131
views
QGIS Composer - Read entered textbox value in another textbox
I'm Limited to QGIS 2.18 composer for several reasons.
I have two textboxes.
BOX1 - User INPUT value, where user enters an integer value.
BOX2 needs to read this value to be able to calculate results.
...
0
votes
0
answers
55
views
Generating output from compose manager after setting extent and adding zooming to scale in QGIS using python
I have a piece of script which is suppose to do the following:
Load required shape-file in proper order and zoom to layer
Generate image using the composer manager based on all the shape-file in the ...
2
votes
0
answers
104
views
Print composer forgets layers and puts them in wrong order
I have a project that mainly consist of PostGIS tables, but also some shapefiles. All in all I have some 50 layers in use in the project.
The last days, I have had problems with the print composer. ...
1
vote
0
answers
29
views
Saving individual figures in Print Composer in QGIS 2
Can anyone tell me how to save individual figures in QGIS print composer that I can later go back and edit?
Do I have to create a new print composer for each figure?
I am using QGIS 2.18.9.
0
votes
0
answers
101
views
using multiple mapbox wmts baselayers with dififerent labels in QGIS composer
I have created two basemap layers in mapbox.
https://api.mapbox.com/styles/v1/akrystos/cjr1epzf905a32sqhkwvjl5i7.html?fresh=true&title=true&access_token=pk....
0
votes
1
answer
565
views
QGIS Print composer using margin and scale
When using the Atlas feature in the print composer is there any way of using both the Margin around feature and a defined scale?
0
votes
2
answers
874
views
Change suffix label on decimal grid in print composer
I want to change my suffix label on decimal grid/measured grid coordinates for a map canvas in the print composer from "N" or "E" to "m.N" and "m.E". How can I achieve this?
0
votes
1
answer
324
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 ...
6
votes
2
answers
6k
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 ...
2
votes
2
answers
642
views
Retrieving Map Composer Items using PyQGIS?
In a QgsComposition i would like to retrieve the list of all Composer Items.
I don't want to specify item type.
The function should have been composerItems() but the help says it isn't available in ...
-1
votes
1
answer
138
views
Why XY coordinates offset when output to PDF/PNG in Print Composer of QGIS 2.10.1 Pisa? [closed]
Here's my image when i output to PNG.Same result when output to PDF. Whats the problem?
2
votes
2
answers
5k
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:...
1
vote
1
answer
249
views
Qgis composer attribute table
I'am trying to make an atlas composer to get export for each line of a specific layer. Those lines are portions or roads.
In the print composer I have 2 maps, a picture frame and 3 attribute tables
...
3
votes
2
answers
5k
views
Map is not shown in Print Composer or in PDF (QGIS 2.18.3)
I already saw the other questions concerning the same problem, but after trying everything described in the answers there, I still have the problem that my saved print compositions do not show the ...
2
votes
3
answers
5k
views
Qgis is not exporting vector PDF at larger scales
Context
We're now in the process of transferring our systems to Qgis.
what needs to be done
I need to export a DXF based map from Qgis into vector pdfs, in order to import into the program we use ...
2
votes
1
answer
2k
views
Missing icon within legend if layer has a complex styling with QGIS
I'm using a complex styling for a points layer in QGIS, including two markers and a Geometry generator to set up a line between points and labels (see style description in this post).
The result is ...
7
votes
0
answers
1k
views
Creating text buffer in 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.
...
1
vote
0
answers
63
views
Any way to add textures into QGIS? [duplicate]
I am printing my QGIS Print Composer maps in black and white, and I want to make sure that all the different attributes are distinguishable. But I can't select 5 colors that all look distinct from ...
1
vote
1
answer
705
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 ...
2
votes
1
answer
540
views
Project loaded but Composer loading makes "Not Responding"
I am using QGIS 2.18.6 and have big project (200+layers) which doesn't have problem with loading, but there is Composer attached to it and it is loaded only to 50% and then it says "Not Responding". I ...
3
votes
1
answer
6k
views
How to make all the labels appear neatly in QGIS print composer?
I have been trying to label a Virginia counties and cities map with their proper names, but when I try to do so, using all the different types of placements, I either get nice looking labels with not ...
2
votes
1
answer
41
views
How to add a bottom bar for citations in QGIS Print Composer?
I want to add something like the bottom bar in this picture in order to include my citations.
Is there a way to do so?
0
votes
0
answers
25
views
How to save many print view with the same settings?
I use QGIS 2.6.1 and I need to save more than 100 map shots (one for each Municipality) for future print and I need to save both the print settings and each shots (with positions and zoom levels).
...
0
votes
1
answer
464
views
QGIS Atlas Composer : Margin around feature not changing
I try to use an expression to set the margin around a feature in the atlas composer.
In documentation, it's explained that it's better to be a double but a string or integer is accepted as an input.
...
5
votes
1
answer
2k
views
Change font size of all labels print composer
I have to print a map in A0 paper size and also in A3. First I completed the job for the A0 size map, then I duplicated the print composer and I am changing the fonts of attribute tables and label ...
1
vote
1
answer
513
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 ...
1
vote
1
answer
743
views
Programmatically changing layers in QGIS Print Composer?
I'm trying to programmatically generate new layers from a database, and then print them using a template. Using the QGIS 2.14.10x64 Python Console in Windows 7x64. I've been following on to code from ...
2
votes
0
answers
460
views
Problem with grouping items in print composer- QGIS 2.14
This is print composer:
when i group all elements with "group items" and minimize the frame- some items step out from the frame:
How can i group all items, and still maintain the same ratio of ...
2
votes
2
answers
2k
views
Showing QgsComposition created in QGIS Python console
I'm trying to develop a similar script to How to make serial maps from template?. I'd like to modify elements in the composition programmatically for each map that I want to print. In developing this ...
4
votes
2
answers
2k
views
Categorizing & Legend with two attributes in QGIS
On a Layer, preferably a point, I categorized its style. So after categorizing using attribute1, I would like to show the legends using attribute2. How can I do that?
1
vote
0
answers
63
views
Every time I export a new print composer (either image, svg, or PDF) in QGIS 2.18.1, I lose my composer [duplicate]
As the title suggests, whenever I attempt to make a new print composer (in either windows or Linux, I have tried both) with my map, it goes blank and the file is not exported.
When I attempt to ...
5
votes
2
answers
1k
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 ...
2
votes
3
answers
4k
views
How to lock the composer extent in QGIS?
Is there a way to lock the print composer view extent map? This is my print composer:
If I change the scale bar in the canvas the composer change also. I try to use those options but with no success.
...
2
votes
1
answer
478
views
Scale bar default location in QGIS 2.18
When adding a scale bar in the print composer, by default there is a gap between the scale bar and it's frame :
How can I move the sacle bar (blue circle) to the Lower left corner (red circle) ?
...
1
vote
0
answers
292
views
Duplicating attributes table within QGIS composer?
I'm working with QGIS 2.14.6-Essen on a Windows 7 OS.
I have added an attributes table in QGIS composer with specific properties (attributes displayed, fonts, frame and background colors, etc.). This ...
4
votes
1
answer
978
views
How can I use relative paths in print composer for images?
I'm sharing an entire map project with a client so they can eventually print off an atlas. I've managed to get all the layers and icons to work correctly with relative paths, but the atlas contains ...
1
vote
2
answers
2k
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 ...
6
votes
1
answer
1k
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 ...
7
votes
1
answer
3k
views
How to convert legend to graphics in QGIS?
In QGIS am trying to convert the legend element in the print composer into graphics, like the option in the ArcGIS "Convert To Graphics", see image below
Is there some way to do it with ...
2
votes
0
answers
235
views
How to get the name of the layer on a map composer with a single layer?
I tried
layer_property( 'layer', 'title')
I would like to return the current layer from the map instead of 'layer'.
(or list of the layers on the map?)
Doesn't seems to works with
layer_id
or
...
1
vote
1
answer
612
views
QGIS 2.14 save PDF with Google Maps
I have a shapefile in CRS 2100. I use the OpenLayers plugin and inserted Google satellite as background. It changes the project's CRS into EPSG::3857(OTF). So, in the composer manager, when I try to ...
2
votes
1
answer
143
views
Polygon rendering issue in map composer, QGIS 2.8
Since a picture is worth a thousand words, let's go straight to the point.
This is what I get in QGIS main window (and what I'd like to get in QGIS' map composer):
And this is what I actually get in ...
1
vote
0
answers
106
views
Grid doesn't show up in printer composer
I am trying to get a coordinate grid on my map with the printer composer.
I have tried every example and followed it exactly but for some reason the grid doesn't show up at all. I am working with Qgis ...
3
votes
0
answers
77
views
Is it possible to make a multiple line coordinates in QGIS 2.12.1 map comsposer?
I'm trying to display a 2 line coordinates, where the thousands are on the top row, and the units are on the lower row.
I've tried to custom coordinates using the following expression:
left(@...
1
vote
1
answer
334
views
How can I prevent the scale bar in print composer from bunching up in QGIS?
I'm creating a series of maps in print composer from the same basemap (from the quickmapservices plugin) in QGIS 2.12.2. Sometimes this works, though it only allows the scale to be in metres, feet or ...
1
vote
2
answers
535
views
How can I ensure the image exported from Print Composer is accurate?
I'm using QGIS version 2.12.2, and using print composer to export my map to an image file (I've tried pdf as well). In the print composer it displays fine - just a basemap overlayed with land type ...
1
vote
0
answers
439
views
Measuring in Print composer and main layer window in QGIS 2.12.3 does not match
I work on the municipality level and I am composing print maps with scalebar. I noticed, that length (or scale of my maps) is presented different when items are measured in my main QGIS 2.12.3 layer ...
2
votes
3
answers
29k
views
how to add grid coordinates in QGIS 2.12.0-Lyon in the print composer canvas?
The attached image is the municipal basmap created using QGIS.
I was not able to add the grid coordinates in the print composer canvas.
How do I add those coordinates?
1
vote
0
answers
70
views
How to change a point of an arrow on Print Composer?
To create an arrow on the Print Composer I've used this:
qC = QgsComposition(iface.mapCanvas().mapRenderer())
arw = QgsComposerArrow(QPointF(0, 0),QPointF(10,10),qC)
However, I can't find an ...
1
vote
0
answers
32
views
python - Composer plugin menu catch-22
a plugin for the Print Composer checks if the current project has at least one Composer when loading to avoid the error when creating the menu on a Composer that doesn't exist. However, once the ...