[Qgis-user] How retrieve the scale value in a composer report

Alexandre Neto senhor.neto at gmail.com
Thu Apr 19 02:32:35 PDT 2018


Hi!

It's a bit of a workaround if you were planing to insert the numeric scale
in the middle of other text, but you can add a scalebar and change it's
style to numeric.

Hope it helps.

Andrea Peri <aperi2007 at gmail.com> escreveu no dia quinta, 19/04/2018 às
07:21:

> Hi,
> I need to produce some reports using the composer and the Atlas.
> In each of them I need to add the scale value.
>
> So I try adding a textbox and the value $scale.
> Unfortunately I see it return always 0 value.
> This is confirmed in the help where is write that the $scale not
> alwaysreturn the real scale value, but in some context it return 0 value.
>
> There is some other choice to have the scale value in a composer+atlas
> output ?
>
> I'm using the qgis 2.18.
>
> Many thx.
>
> --
> -----------------
> Andrea Peri
> . . . . . . . . .
> qwerty àèìòù
> -----------------
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

-- 
Alexandre Neto
---------------------
@AlexNetoGeo
http://sigsemgrilhetas.wordpress.com
http://gisunchained.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20180419/278cc0b2/attachment.html>


More information about the Qgis-user mailing list