[Qgis-user] coordinates labels

bernard ngoruse bkngoruse at yahoo.com
Thu Oct 24 02:18:56 PDT 2019


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

    On Thursday, 24 October 2019, 12:13:02 GMT+3, Richard McDonnell <richard.mcdonnell at opw.ie> wrote:  
 
 #yiv3522905037 #yiv3522905037 -- _filtered #yiv3522905037 {font-family:Helvetica;panose-1:2 11 6 4 2 2 2 2 2 4;} _filtered #yiv3522905037 {panose-1:2 4 5 3 5 4 6 3 2 4;} _filtered #yiv3522905037 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;} _filtered #yiv3522905037 {panose-1:2 11 6 9 4 5 4 2 2 4;}#yiv3522905037 #yiv3522905037 p.yiv3522905037MsoNormal, #yiv3522905037 li.yiv3522905037MsoNormal, #yiv3522905037 div.yiv3522905037MsoNormal {margin:0cm;margin-bottom:.0001pt;font-size:12.0pt;font-family:New serif;}#yiv3522905037 a:link, #yiv3522905037 span.yiv3522905037MsoHyperlink {color:#0563C1;text-decoration:underline;}#yiv3522905037 a:visited, #yiv3522905037 span.yiv3522905037MsoHyperlinkFollowed {color:#954F72;text-decoration:underline;}#yiv3522905037 p.yiv3522905037msonormal0, #yiv3522905037 li.yiv3522905037msonormal0, #yiv3522905037 div.yiv3522905037msonormal0 {margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:New serif;}#yiv3522905037 p.yiv3522905037ydp290d6bf0msonormal, #yiv3522905037 li.yiv3522905037ydp290d6bf0msonormal, #yiv3522905037 div.yiv3522905037ydp290d6bf0msonormal {margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:New serif;}#yiv3522905037 span.yiv3522905037EmailStyle20 {font-family:sans-serif;color:#1F497D;}#yiv3522905037 .yiv3522905037MsoChpDefault {font-size:10.0pt;} _filtered #yiv3522905037 {margin:72.0pt 72.0pt 72.0pt 72.0pt;}#yiv3522905037 div.yiv3522905037WordSection1 {}#yiv3522905037 
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, 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/43eecdb6/attachment.html>


More information about the Qgis-user mailing list