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: [email protected] [[email protected]] på vegne af Larry Shaffer [[email protected]] Sendt: 8. august 2013 05:56 Til: Lene Fischer Cc: [email protected] Emne: Re: [Qgis-user] Label using $area and decimals
Hi Lene, On Wed, Aug 7, 2013 at 9:09 PM, Lene Fischer <[email protected]<mailto:[email protected]>> 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 [email protected]<mailto:[email protected]> http://lists.osgeo.org/mailman/listinfo/qgis-user
_______________________________________________ Qgis-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-user
