[Qgis-developer] Print composer - Scalebar in doesn't display decimal points?

Marco Hugentobler marco.hugentobler at karto.baug.ethz.ch
Mon Aug 11 03:40:14 EDT 2008


Hi Christian,

Scalebar labeling with floats is possible in the printing branch, which will 
be merged in prior to version 1.0.

Regards,
Marco

Am Montag 11 August 2008 04:08:46 schrieb icosa atropa:
> I took a peek at trac, and didn't see this particular bug.
>
> Using a scalebar with units like degrees in a sub-degree scale map
> proved impossible - the scale bar gets labelled 0--0--0 degrees.  I
> used On-The-Fly projection to go from a GCS to PCS and tried the
> scalebar again, and yes it works with, say, 1--2--3 km.
>
> Except for, say, segment size = 2500 (meters), number of segments = 2,
> mapunits per scalebar unit = 1000 (meters / km), unit label = km.
> Then we get the ever-amusing 0--2--5 km.  So, it seems like qgis
> should either reject non-integer ( segment size / mapunits per
> scalebar ) or display some float-precision (user defined?) labels
> rather than asserting that 2+2=5 :)
>
> christian



-- 
Dr. Marco Hugentobler
Institute of Cartography
ETH Zurich
Technical Advisor QGIS Project Steering Committee


More information about the Qgis-developer mailing list