[Qgis-user] Crash of Grass etc.
Goran Granath
joe at ariadne.se
Thu Nov 27 04:46:19 PST 2014
Hi,
I did as Nicolas Cadieux suggested but that dit
not help. I then started to scrutinize my error
messages, which is a bit of an ordeal for a
Python illitterate. Anyway I did notice that the
program searches for information in a catalogue
under 'User'. My username is 'Göran' which seems
to be no good as 'ö' belongs to the extended
ascii-code. I created a new username, 'Joe', and
everything was fine! So please watch out all
Germans, Scandinavians, Hungarians and all other people fith funny 'Umlauts'.
Joe
At 19:36 2014-11-26, you wrote:
>Send Qgis-user mailing list submissions to
> qgis-user at lists.osgeo.org
>
>To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>or, via email, send a message with subject or body 'help' to
> qgis-user-request at lists.osgeo.org
>
>You can reach the person managing the list at
> qgis-user-owner at lists.osgeo.org
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of Qgis-user digest..."
>
>
>Today's Topics:
>
> 1. Re: Crash of Grass and other plug-ins (Nicolas Cadieux)
> 2. Re: Importing Google Maps (Alex Mandel)
> 3. Labels with 'text' (Randal Hale)
> 4. Re: POint to polygon (Goyo)
> 5. Re: Lizmap - can't insert&update data in PostGis Views (kimaidou)
> 6. Re: Labels with 'text' (Nicolas Cadieux)
> 7. Re: Labels with 'text' (Goyo)
> 8. Re: Labels with 'text' (Randal Hale)
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Wed, 26 Nov 2014 08:09:23 -0800 (PST)
>From: Nicolas Cadieux <nicolas.cadieux at archeotec.ca>
>To: qgis-user at lists.osgeo.org
>Subject: Re: [Qgis-user] Crash of Grass and other plug-ins
>Message-ID:
> <20400b77-5a9d-4097-a9ff-a870bada16c6 at HUCCAS03P.hostedmsx.local>
>Content-Type: text/plain; charset="utf-8"
>
>You can start by Removing registry keys before
>hand and see if that helps. That will reset Qgis to its default state.
>You could just do a fresh install removing (or
>backing up) everything from the .qgis2 folder.
>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 10:57, "Goran Granath [via
>OSGeo.org]" <ml-node+s1560n5175094h75 at n6.nabble.com> a ?crit :
>
>
>
>Hi!
>I got curious the other day about QGIS 2.6 and installed it on my
>desktop. I had 2.2 already installed sinc before. Everything went fine
>except that the plug-ins stopped working, at least Grass did so. When I
>start the 2.2 the following appears:
>Kunde inte ladda insticksprogram processing p?
>grund av fel med classFactory() metoden
>Traceback (most recent call last):
> File
>"C:/PROGRA~1/QGISVA~1/apps/qgis/./python\qgis\utils.py", line
>204, in startPlugin
> plugins[packageName] =
>package.classFactory(iface)
> File "C:/Users/G
>ran/.qgis2/python/plugins\processing\__init__.py", line 37, in
>classFactory
> from processing.ProcessingPlugin import
>ProcessingPlugin
> File
>"C:/PROGRA~1/QGISVA~1/apps/qgis/./python\qgis\utils.py", line
>453, in _import
> mod = _builtin_import(name, globals, locals, fromlist,
>level)
> File "C:/Users/G
>ran/.qgis2/python/plugins\processing\ProcessingPlugin.py", line 47,
>in
> if cmd_folder not in sys.path:
> File
>"C:/PROGRA~1/QGISVA~1/apps/qgis/./python\qgis\utils.py", line
>54, in showWarning
> "warning:%s\ntraceback:%s" % (
>warnings.formatwarning(message, category, filename, lineno), stk),
>UnicodeDecodeError: 'ascii' codec can't decode byte 0xf6 in position 18:
>ordinal not in range(128)
>Python version:
>2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit
>(AMD64)]
>
>QGIS version:
>2.2.0-Valmiera Valmiera, c3a2817
>Python s?kv?g: ['C:/PROGRA~1/QGISVA~1/apps/qgis/./python',
>u'C:/Users/G\xf6ran/.qgis2/python',
>u'C:/Users/G\xf6ran/.qgis2/python/plugins',
>'C:/PROGRA~1/QGISVA~1/apps/qgis/./python/plugins',
>'C:\\PROGRA~1\\QGISVA~1\\bin\\python27.zip',
>'C:\\PROGRA~1\\QGISVA~1\\apps\\Python27\\DLLs',
>'C:\\PROGRA~1\\QGISVA~1\\apps\\Python27\\lib',
>'C:\\PROGRA~1\\QGISVA~1\\apps\\Python27\\lib\\plat-win',
>'C:\\PROGRA~1\\QGISVA~1\\apps\\Python27\\lib\\lib-tk',
>'C:\\PROGRA~1\\QGISVA~1\\bin', 'C:\\PROGRA~1\\QGISVA~1\\apps\\Python27',
>'C:\\PROGRA~1\\QGISVA~1\\apps\\Python27\\lib\\site-packages',
>'C:\\PROGRA~1\\QGISVA~1\\apps\\Python27\\lib\\site-packages\\PIL',
>'C:\\PROGRA~1\\QGISVA~1\\apps\\Python27\\lib\\site-packages\\win32',
>'C:\\PROGRA~1\\QGISVA~1\\apps\\Python27\\lib\\site-packages\\win32\\lib',
>'C:\\PROGRA~1\\QGISVA~1\\apps\\Python27\\lib\\site-packages\\Pythonwin',
>'C:\\PROGRA~1\\QGISVA~1\\apps\\Python27\\lib\\site-packages\\Shapely-1.2.18-py2.7-win-amd64.egg',
>'C:\\PROGRA~1\\QGISVA~1\\apps\\Python27\\lib\\site-packages\\six-1.3.0-py2.7.egg',
>'C:\\PROGRA~1\\QGISVA~1\\apps\\Python27\\lib\\site-packages\\wx-2.8-msw-unicode',
>'C:\\PROGRA~1\\QGISVA~1\\apps\\Python27\\lib\\site-packages\\xlrd-0.9.2-py2.7.egg',
>'C:\\PROGRA~1\\QGISVA~1\\apps\\Python27\\lib\\site-packages\\xlwt-0.7.5-py2.7.egg',
>'C:\\Users\\G\xf6ran\\.qgis2\\python\\plugins\\DigitizingTools\\tools']
>
>
>The menu item "Geoprocessing" (Swedish) is also lacking,
>so the use of plug-ins is seriously hampered.
>When I start the versin 2.6 another message box appears:
>Kunde inte ladda insticksprogram processing p?
>grund av fel med classFactory() metoden
>
>Traceback (most recent call last):
> File "D:/QGis2.6/apps/qgis/./python\qgis\utils.py", line
>208, in startPlugin
> plugins[packageName] = package.classFactory(iface)
> File "C:/Users/G
>ran/.qgis2/python/plugins\processing\__init__.py", line 37, in
>classFactory
> from processing.ProcessingPlugin import
>ProcessingPlugin
> File "D:/QGis2.6/apps/qgis/./python\qgis\utils.py", line
>460, in _import
> mod = _builtin_import(name, globals, locals, fromlist,
>level)
> File "C:/Users/G
>ran/.qgis2/python/plugins\processing\ProcessingPlugin.py", line 47,
>in
> if cmd_folder not in sys.path:
> File "D:/QGis2.6/apps/qgis/./python\qgis\utils.py", line
>55, in showWarning
> "warning:%s\ntraceback:%s" % (
>warnings.formatwarning(message, category, filename, lineno), stk),
>UnicodeDecodeError: 'ascii' codec can't decode byte 0xf6 in position 18:
>ordinal not in range(128)
>
>
>Python version:
>2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit
>(AMD64)]
>
>QGIS version:
>2.6.0-Brighton Brighton, exported
>Python s?kv?g: ['D:/QGis2.6/apps/qgis/./python',
>u'C:/Users/G\xf6ran/.qgis2/python',
>u'C:/Users/G\xf6ran/.qgis2/python/plugins',
>'D:/QGis2.6/apps/qgis/./python/plugins',
>'D:\\QGis2.6\\apps\\Python27\\lib\\site-packages\\matplotlib-1.3.1-py2.7-win-amd64.egg',
>'D:\\QGis2.6\\apps\\Python27\\lib\\site-packages\\nose-1.3.3-py2.7.egg',
>'D:\\QGis2.6\\apps\\Python27\\lib\\site-packages\\tornado-4.0.1-py2.7-win-amd64.egg',
>'D:\\QGis2.6\\apps\\Python27\\lib\\site-packages\\backports.ssl_match_hostname-3.4.0.2-py2.7.egg',
>'D:\\QGis2.6\\apps\\Python27\\lib\\site-packages\\certifi-14.05.14-py2.7.egg',
>'D:\\QGis2.6\\bin\\python27.zip', 'D:\\QGis2.6\\apps\\Python27\\DLLs',
>'D:\\QGis2.6\\apps\\Python27\\lib',
>'D:\\QGis2.6\\apps\\Python27\\lib\\plat-win',
>'D:\\QGis2.6\\apps\\Python27\\lib\\lib-tk', 'D:\\QGis2.6\\bin',
>'D:\\QGis2.6\\apps\\Python27',
>'D:\\QGis2.6\\apps\\Python27\\lib\\site-packages',
>'D:\\QGis2.6\\apps\\Python27\\lib\\site-packages\\PIL',
>'D:\\QGis2.6\\apps\\Python27\\lib\\site-packages\\jinja2-2.7.2-py2.7.egg',
>'D:\\QGis2.6\\apps\\Python27\\lib\\site-packages\\markupsafe-0.23-py2.7-win-amd64.egg',
>'D:\\QGis2.6\\apps\\Python27\\lib\\site-packages\\pytz-2012j-py2.7.egg',
>'D:\\QGis2.6\\apps\\Python27\\lib\\site-packages\\win32',
>'D:\\QGis2.6\\apps\\Python27\\lib\\site-packages\\win32\\lib',
>'D:\\QGis2.6\\apps\\Python27\\lib\\site-packages\\Pythonwin',
>'D:\\QGis2.6\\apps\\Python27\\lib\\site-packages\\Shapely-1.2.18-py2.7-win-amd64.egg',
>'D:\\QGis2.6\\apps\\Python27\\lib\\site-packages\\six-1.3.0-py2.7.egg',
>'D:\\QGis2.6\\apps\\Python27\\lib\\site-packages\\wx-2.8-msw-unicode',
>'D:\\QGis2.6\\apps\\Python27\\lib\\site-packages\\xlrd-0.9.2-py2.7.egg',
>'D:\\QGis2.6\\apps\\Python27\\lib\\site-packages\\xlwt-0.7.5-py2.7.egg',
>'C:\\Users\\G\xf6ran\\.qgis2\\python\\plugins\\DigitizingTools\\tools']
>I installed the 2.6 on another hard disk (D:) on my desktop. The
>same problems apply to 2.6 as well.
>My operating system is Windows 7.
>So for the moment I use 2.2 on my laptop but I would love to have it back
>on my desktop with its large screen and flash disk.
>Thanks in advance
>G?ran Granath
>
>
>Goran 'Joe' Granath, PhD Phone: +46-18-30
>16 67
>Ariadne Exploration AB E-mail:
>[hidden email]
>Malma Ringv?g
>1
>www.ariadne.se
>
>S-756 45 Uppsala
>Sweden
>
>_______________________________________________
>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/Crash-of-Grass-and-other-plug-ins-tp5175094.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/Crash-of-Grass-and-other-plug-ins-tp5175094p5175098.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/0a099338/attachment-0001.html>
>
>------------------------------
>
>Message: 2
>Date: Wed, 26 Nov 2014 09:38:13 -0800
>From: Alex Mandel <tech_dev at wildintellect.com>
>To: Brett Adams <badams at spinifexgeophysics.com.au>, 'qgis-user'
> <qgis-user at lists.osgeo.org>
>Subject: Re: [Qgis-user] Importing Google Maps
>Message-ID: <54761005.90102 at wildintellect.com>
>Content-Type: text/plain; charset=windows-1252
>
>You want the OpenLayers Plugin.
>
>Maps Engine plugin imports layers you've made on the online maps engine
>(My maps) feature of google.
>
>-Alex
>
>On 11/25/2014 11:35 PM, Brett Adams wrote:
> > Folks,
> >
> >
> >
> > I'm want to bring Google maps, specifically satellite imagery, into QGIS
> > 2.6.
> >
> >
> >
> > I've been trying to do this using the "Google Maps Engine Connector" plug
> > in. Is this the best way?
> >
> >
> >
> > Went to google, got the OAuth 2.0 code, plugged in my Client ID and Client
> > Secret. It then prompts for the google log in. From there I get the error
> > shown below.
> >
> >
> >
> > Any ideas where I'm going wrong? Is there an easier way to bring in the
> > imagery?
> >
> >
> >
> > We used to be able to bring in Bing imagery also. Can that be done in 2.6?
> >
> >
> >
> > Thanks
> >
> >
> >
> > Brett
> >
> >
> >
> >
>
>
>------------------------------
>
>Message: 3
>Date: Wed, 26 Nov 2014 12:45:46 -0500
>From: Randal Hale <rjhale at northrivergeographic.com>
>To: 'qgis-user' <qgis-user at lists.osgeo.org>
>Subject: [Qgis-user] Labels with 'text'
>Message-ID: <547611CA.5030502 at northrivergeographic.com>
>Content-Type: text/plain; charset=utf-8; format=flowed
>
>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 rjhale at northrivergeographic.com
>twitter:rjhale http://about.me/rjhale
>http://www.northrivergeographic.com/spatial-connect
>
>
>
>------------------------------
>
>Message: 4
>Date: Wed, 26 Nov 2014 19:02:22 +0100
>From: Goyo <goyodiaz at gmail.com>
>To: Joris Hintjens <jorishin at gmail.com>
>Cc: qgis-user <Qgis-user at lists.osgeo.org>
>Subject: Re: [Qgis-user] POint to polygon
>Message-ID:
> <CACNjSPQ=yV8RB8EFxFSfUfkjz+LcPTQjDOToErkd0LnPx+DEjg at mail.gmail.com>
>Content-Type: text/plain; charset=UTF-8
>
>Hello Joris,
>
>there is an old feature request about this:
>https://bugs.launchpad.net/points2one/+bug/772077
>
>It never reached high priority because the easy workaround (plus I
>usually get the points in spreadsheets so the first step is
>unnecessary and the second one is trivial for me), but I guess it is
>about time to fix it. I'll try to find a slot to work on it in the
>next weeks.
>
>Goyo
>
>2014-11-26 9:51 GMT+01:00 Joris Hintjens <jorishin at gmail.com>:
> > I found a workaround:
> > export the layer to a csv with geocoordinates (through mmqgis plugin)
> > edited the csv so that the IDs are in the desired order
> > import the cvs as new layer and have this polygonized with the Points2one
> > plugin.
> > quite a hassle, but it works.
> >
> > thanks
> >
> > Joris
> >
> > Op 25-nov.-2014, om 20:50 heeft Ravi Mehta <rrm364 at gmail.com> het volgende
> > geschreven:
> >
> > How is your data stored right now?
> >
> > - Ravi Mehta
> >
> > On Tue, Nov 25, 2014 at 10:21 AM, Joris
> Hintjens <jorishin at gmail.com> wrote:
> >>
> >> I feel like a fool. So simple, but I can?t find the right tool to convert
> >> a point layer into a polygon without the hassle of exporting to csv and
> >> re-importing as a polygon. the Plugin
> POint2one does not allow me to change
> >> the merge-order. Any suggestions are welcome.
> >>
> >>
> >> Greest
> >>
> >> Joris
> >> _______________________________________________
> >> Qgis-user mailing list
> >> Qgis-user at lists.osgeo.org
> >> http://lists.osgeo.org/mailman/listinfo/qgis-user
> >
> >
> >
> >
> > _______________________________________________
> > Qgis-user mailing list
> > Qgis-user at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
>------------------------------
>
>Message: 5
>Date: Wed, 26 Nov 2014 19:03:45 +0100
>From: kimaidou <kimaidou at gmail.com>
>To: Pedro <pedro.ferro at gmail.com>
>Cc: qgis-user <qgis-user at lists.osgeo.org>
>Subject: Re: [Qgis-user] Lizmap - can't insert&update data in PostGis
> Views
>Message-ID:
> <CAMKXKO6BMy6T2XZw=bviaU9vRoOq-5XDVqoKm65T-uwnP1Wg5g at mail.gmail.com>
>Content-Type: text/plain; charset="utf-8"
>
>Hi Pedro
>
>Sorry for the late answer. I will answer the issue on github too.
>
>You are right, you should normally be able to edit your view in Lizmap too.
>I doubt this is a user problem, as Lizmap read the datasource in QGIS for
>each edition layer and so use the same user.
>
>I will have a look at the error reported in github issue. Could you report
>there [1] version of QGIS do you use as desktop and server ?
>
>
>Regards
>Michael
>
>[1] https://github.com/3liz/lizmap-web-client/issues/108
>
>
>2014-11-26 13:54 GMT+01:00 Pedro <pedro.ferro at gmail.com>:
>
> > Yes, the user to access the Postgresql is the same in QGIS and Lizmap.
> >
> >
> >
> > --
> > View this message in context:
> >
> http://osgeo-org.1560.x6.nabble.com/Lizmap-can-t-insert-update-data-in-PostGis-Views-tp5174737p5175038.html
> > Sent from the Quantum GIS - User mailing list archive at Nabble.com.
> > _______________________________________________
> > Qgis-user mailing list
> > Qgis-user at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/qgis-user
> >
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL:
><http://lists.osgeo.org/pipermail/qgis-user/attachments/20141126/8d07261c/attachment-0001.html>
>
>------------------------------
>
>Message: 6
>Date: Wed, 26 Nov 2014 10:26:13 -0800 (PST)
>From: Nicolas Cadieux <nicolas.cadieux at archeotec.ca>
>To: qgis-user at lists.osgeo.org
>Subject: Re: [Qgis-user] Labels with 'text'
>Message-ID:
> <3393e54e-56e0-487a-8630-224b5be06281 at HUCCAS02P.hostedmsx.local>
>Content-Type: text/plain; charset="utf-8"
>
>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-0001.html>
>
>------------------------------
>
>Message: 7
>Date: Wed, 26 Nov 2014 19:35:44 +0100
>From: Goyo <goyodiaz at gmail.com>
>To: Randal Hale <rjhale at northrivergeographic.com>
>Cc: qgis-user <qgis-user at lists.osgeo.org>
>Subject: Re: [Qgis-user] Labels with 'text'
>Message-ID:
> <CACNjSPSLEEtKWuidqf=Zve+z_deSvdbFNZcOaXdrKxpY-yE9rg at mail.gmail.com>
>Content-Type: text/plain; charset=UTF-8
>
>Removing decimals in the label formatting only works if the label is
>actually a number, which is not anymore if you add the string "Acres".
>So you need to explicitly apply some function on the field value,
>something like
>
>toint(acres) || ' Acres'
>
>might do the trick.
>
>Goyo
>
>2014-11-26 18:45 GMT+01:00 Randal Hale <rjhale at northrivergeographic.com>:
> > 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 rjhale at northrivergeographic.com
> > twitter:rjhale http://about.me/rjhale
> > http://www.northrivergeographic.com/spatial-connect
> >
> > _______________________________________________
> > Qgis-user mailing list
> > Qgis-user at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
>------------------------------
>
>Message: 8
>Date: Wed, 26 Nov 2014 13:36:06 -0500
>From: Randal Hale <rjhale at northrivergeographic.com>
>To: Nicolas Cadieux <nicolas.cadieux at archeotec.ca>,
> qgis-user at lists.osgeo.org
>Subject: Re: [Qgis-user] Labels with 'text'
>Message-ID: <54761D96.6040308 at northrivergeographic.com>
>Content-Type: text/plain; charset="windows-1252"; Format="flowed"
>
>Close - I ended up with this and it worked: format_number(acres, 0) || '
>' || 'Acres'
>
>Thanks - I had no clue that format_number was something I could do.
>
>Randy
>
>On 11/26/2014 01:26 PM, Nicolas Cadieux wrote:
> >
> > 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]" <[hidden email]
> > </user/SendEmail.jtp?type=node&node=5175138&i=0>> 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]
> > </user/SendEmail.jtp?type=node&node=5175119&i=0>
> > twitter:rjhale http://about.me/rjhale
> > http://www.northrivergeographic.com/spatial-connect
> >
> > _______________________________________________
> > Qgis-user mailing list
> > [hidden email] </user/SendEmail.jtp?type=node&node=5175119&i=1>
> > 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 [hidden
> > email] </user/SendEmail.jtp?type=node&node=5175138&i=1>
> > To unsubscribe from Quantum GIS - User, click here.
> > NAML
> >
> <http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
> >
> >
> >
> > ------------------------------------------------------------------------
> > View this message in context: Re: Labels with 'text'
> >
> <http://osgeo-org.1560.x6.nabble.com/Labels-with-text-tp5175119p5175138.html>
> > Sent from the Quantum GIS - User mailing list archive
> > <http://osgeo-org.1560.x6.nabble.com/Quantum-GIS-User-f4125267.html>
> > at Nabble.com.
> >
> >
> > _______________________________________________
> > Qgis-user mailing list
> > Qgis-user at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/qgis-user
>
>--
>-----------------
>Randal Hale
>North River Geographic Systems, Inc
>http://www.northrivergeographic.com
>423.653.3611 rjhale at northrivergeographic.com
>twitter:rjhale http://about.me/rjhale
>http://www.northrivergeographic.com/spatial-connect
>
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL:
><http://lists.osgeo.org/pipermail/qgis-user/attachments/20141126/f1b9eb48/attachment.html>
>
>------------------------------
>
>_______________________________________________
>Qgis-user mailing list
>Qgis-user at lists.osgeo.org
>http://lists.osgeo.org/mailman/listinfo/qgis-user
>
>End of Qgis-user Digest, Vol 105, Issue 66
>******************************************
Goran 'Joe' Granath, PhD Phone: +46-18-30 16 67
Ariadne Exploration AB E-mail: joe at ariadne.se
Malma Ringväg 1 www.ariadne.se
S-756 45 Uppsala
Sweden
More information about the Qgis-user
mailing list