Hi Dane,

I was looking for something that would allow me to format in any way. 
Significant digits will solve half of the problem, locale being the other half. 
I need to get 1.234,56 (spanish) out of 1234.561

What about the TextSymbolizer allowing expressions?
http://mapnik.org/news/2009/dec/08/future_mapnik2/

Will that make it easier to support formatting?


> -----Mensaje original-----
> De: Dane Springmeyer [mailto:[email protected]]
> Enviado el: miƩrcoles, 24 de noviembre de 2010 21:17
> Para: Clos Crespo, Manel
> CC: <[email protected]>
> Asunto: Re: [Mapnik-users] TextSymbolizer and number format
>
> Manel, I have a patch on trac for setting signicant digits if
> you are
> rendering labels from float fields. It needs work, but it
> should point
> you to the right place for a workaround if you need it soon.
> Search on
> trac for "quantumnik" and you should be able to find it as this was
> the first time a user hit this.
>
> Dane
>
> --- \o/ ---
> Sent from my phone
>
> On Nov 24, 2010, at 6:01 AM, <[email protected]> wrote:
>
> > Hi all,
> >
> > Silly me, but I can't find any property in the TextSymbolizer to
> > specify number formatting... And there is no bug showing when
> > searching "number format" at trac. Is this supported/planned?
> >
> > Thanks!
> >
> > Manel Clos
> > UMAT - 972419417
> > Ajuntament de Girona
> > _______________________________________________
> > Mapnik-users mailing list
> > [email protected]
> > https://lists.berlios.de/mailman/listinfo/mapnik-users
>
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to