[Qgis-user] Label using $area and decimals Master 31
Lene Fischer
lfi at life.ku.dk
Sun Aug 11 08:31:25 PDT 2013
Hi Larry
The decimal funcion works fine - if I only choose the $area function.
But when I add another field or 'text' the number of decimals expand.
Regards
Lene Fischer
________________________________
Fra: larry at shafferinteractive.com [larry at shafferinteractive.com] på vegne af Larry Shaffer [larrys at dakotacarto.com]
Sendt: 8. august 2013 05:56
Til: Lene Fischer
Cc: qgis-user at lists.osgeo.org
Emne: Re: [Qgis-user] Label using $area and decimals
Hi Lene,
On Wed, Aug 7, 2013 at 9:09 PM, Lene Fischer <lfi at life.ku.dk<mailto:lfi at life.ku.dk>> wrote:
Hello
In Master I´m trying to set a label with the function $area. This works fine.
But I´m trying to use the formatting for numbers with only 1 decimal - no succes.
Hmm. I just tried setting the expression to $area and using the 'Formatted numbers' option for the layer: worked. I also used just an expression:
format_number( $area, 3)
and that worked too, even where the area result was a whole integer, i.e. label was 12.000. I tested with precision of '1' and both worked fine. Can you share the data, even if it is just a file containing the individual feature that is not labeling properly?
It works fine if I use a coloumn containing the area.
But this is not a solution because the $area is not dynamic in the coloum of the attribut table.
Secondly - how do I activate the functions in the Labeltoolbar -ex Move or Show/Hide
New documentation for labeling canvas map tools is forthcoming. For now, you can reference:
http://gis.stackexchange.com/questions/67408
Regards,
Larry
Regards
Lene Fischer
_______________________________________________
Qgis-user mailing list
Qgis-user at lists.osgeo.org<mailto: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/20130811/b84cf8e8/attachment.html>
More information about the Qgis-user
mailing list