Hi Robert,

Yes, I was going to go with to_char in postgis, but the data is in different 
shapefiles. I was lazy and calculated a text field with the required 
representation :)

Thanks for the suggestion!

________________________________________
De: Robert Coup [[email protected]]
Enviat el: dijous, 25 / novembre / 2010 21:13
Per a: Clos Crespo, Manel
A/c: [email protected]; [email protected]
Tema: Re: [Mapnik-users] TextSymbolizer and number format

Hi,

On Thu, Nov 25, 2010 at 9:44 PM, 
<[email protected]<mailto:[email protected]>> wrote:

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

Can you use a postgis/sqlite/etc database as a datasource rather than 
shapefiles? If so, most databases will do numeric formatting how you want...

Rob :)
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to