[Qgis-user] Labels with 'text'
Nicolas Cadieux
nicolas.cadieux at archeotec.ca
Wed Nov 26 10:26:13 PST 2014
Try using an expression.
acres || format_number ( "Acres",0)
Nicolas Cadieux M.Sc.
Les Entreprises Archéotec inc.
8548, rue Saint-Denis Montréal H2P 2H2
Téléphone: 514.381.5112 Fax: 514.381.4995
Le 2014-11-26 12:45, "Randal Hale [via OSGeo.org]" <ml-node+s1560n5175119h50 at n6.nabble.com> a écrit :
Question - I'm building a map for a client. I need to label a polygon
with the Acres and the word Acres. The attribute for this polygon would
be 184.35679835. In Properties -> Labels -> Formatting I can remove the
decimals and I get 184 for a label.
If I add the word Acres to the label -> acres || ' Acres' I expect to
see 184 Acres. Instead I see 184.35679835 Acres.
Is there something I'm missing when adding text to a label? I think
there probably is....but I'm drawing a blank.
Ubuntu 14.04 QGIS 2.6
I haven't had a chance to test in Windows 7 OSGEO Install.
Randy
--
-----------------
Randal Hale
North River Geographic Systems, Inc
http://www.northrivergeographic.com 423.653.3611 [hidden email]
twitter:rjhale http://about.me/rjhale http://www.northrivergeographic.com/spatial-connect _______________________________________________
Qgis-user mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/qgis-user
If you reply to this email, your message will be added to the discussion below:
http://osgeo-org.1560.x6.nabble.com/Labels-with-text-tp5175119.html
To start a new topic under Quantum GIS - User, email ml-node+s1560n4125267h38 at n6.nabble.com
To unsubscribe from Quantum GIS - User, click here .
NAML
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Labels-with-text-tp5175119p5175138.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20141126/2240ba8c/attachment.html>
More information about the Qgis-user
mailing list