[Qgis-user] coordinates labels

Richard McDonnell richard.mcdonnell at opw.ie
Thu Oct 24 02:12:57 PDT 2019


Hi Bernard,
Use the something like the following

concat(to_string( round( (@grid_number,2)), '°    ')

From: Qgis-user <qgis-user-bounces at lists.osgeo.org> On Behalf Of bernard ngoruse
Sent: 24 October 2019 10:03
To: qgis-user at lists.osgeo.org
Subject: [Qgis-user] coordinates labels

Hello. I an trying to label coordinates using the degree sumbol. The statement is :
concat(to_string(@grid_number), '°    ')

which produces

+ 39.05                     +39.099999999994     +39.1499999999999999

Interval between each coordinate is 0.05 degrees.
How do I avoid the long decimal points?

Regards,


==================================================================================
Bernard K. Ngoruse, MSc.,Reg. Geologist, Lead Expert, EIA & EA
Cell: +254723153469
email: bkngoruse at yahoo.com<mailto:bkngoruse at yahoo.com>, ngoruse07.2009 at gmail.com<mailto:ngoruse07.2009 at gmail.com>
==================================================================================



Email Disclaimer: http://www.opw.ie/en/disclaimer/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20191024/944018f0/attachment-0001.html>


More information about the Qgis-user mailing list