[Qgis-developer] Formatting of label from PostGIS?

Dave Johansen davejohansen at gmail.com
Tue Nov 1 17:20:00 EDT 2011


I'm using QGIS embedded inside of a Qt application and I'm rendering from a
PostGIS layer with a label that comes from a column that is a floating
point value in Postgres. Right now it prints out a lot of decimal places in
the label. Is there any way to limit this to 1 decimal place in QGIS? Or do
I need to do it in Postgres using a view?
Thanks,
Dave
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20111101/d0455f35/attachment.html


More information about the Qgis-developer mailing list