[Qgis-user] Variables in print composer

Uwe Fischer gisfisch at t-online.de
Thu Jun 23 04:36:06 PDT 2016


Martin,

 

thank you very much for your tip, but in the variables list no variables of type „map“ show up (please see attachment). But in print composter they are present and visible.

 

Mit freundlichen Grüßen,

 

Uwe Fischer

 

Von: Qgis-user [mailto:qgis-user-bounces at lists.osgeo.org] Im Auftrag von Martin Stubbs
Gesendet: Donnerstag, 23. Juni 2016 12:46
An: qgis-user at lists.osgeo.org
Betreff: Re: [Qgis-user] Variables in print composer

 

On 23/06/16 08:30, Uwe Fischer wrote:

Hello List,

 

what is the use of variables in print composer? A map frame has variables assigned like map_extent_height and _width. But how to make use of those variables? If I try to place a rectangle around the map frame using the determined extent variables (plus something), I cannot use the variables. There is a ‚data defined override‘ section in the Position and size dialog for rectangles, but when I select ‚variable‘ it tells me that there are no variables, which seems to be nonsense.

 

 

Best regards, Uwe

 

Uwe,

When you select a Data_defined_override in Position and size, pick edit from the list instead of variable. In the Expression string builder you will find map_extent_height in the Variables list.

Regards
Martin

  <http://o8u0.mj.am/oo/AEUADssK3AIAAAAAAAAAAGWBseoAAP-HqY4AAAAAAATonABXa7315jEM4NMiSv2z_7t2NiOT1wAEtK4/26d46627/e.gif> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20160623/c8f24770/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: no_map_variables.jpg
Type: image/jpeg
Size: 34715 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20160623/c8f24770/attachment.jpg>


More information about the Qgis-user mailing list