[Qgis-developer] Python script - QgsComposerScaleBar - segment rounded to nearest km

Benoît Laurent blaurent at heurisis.eu
Thu Oct 10 01:16:29 PDT 2013


Hello,

I am using Qgis 2.0. I am writing a Python script to generate pdf files 
from layers. I added a QgsComposerScaleBar and I wish to round the 
segments to the nearest km. How can I achieve this ?

Thank you in advance.

Benoît


More information about the Qgis-developer mailing list