[mapserver-users] How can I avoid long notation of double values in label or info template for shapes?

Astrid Emde astrid.emde at wheregroup.com
Fri Nov 23 01:12:05 PST 2012


Hello,

I have a shapefile with a column of type double that contains values like 2.54 or -2.03.

When I label the geometrie with this column or display this column in my infotemplate I get the following notation of the values:
2.54000000000e+000
-2.03000000000e+000

If there a way to tell MapServer to display the "normal" notation of the value? Or do I have to change the shape?

-- 

Mit freundlichen Grüßen

Astrid Emde

********************************************
Where2B Konferenz 2012
13. Dezember 2012 in Bonn
www.where2b-conference.com
********************************************

 Astrid Emde
 WhereGroup GmbH & Co.KG
 Eifelstraße 7
 53119 Bonn
 Germany

 Fon: +49(0)228 90 90 38 - 19
 Fax: +49(0)228 90 90 38 - 11

 astrid.emde at wheregroup.com
 www.wheregroup.com

 Folgen Sie der WhereGroup auf twitter: http://twitter.com/WhereGroup_com

Amtsgericht Bonn, HRA 6788
-------------------------------
Komplementärin:
WhereGroup Verwaltungs GmbH
vertreten durch:
Olaf Knopp, Peter Stamm
-------------------------------
 pgp-public key:
 http://pgp.mit.edu:11371/pks/lookup?search=0x06DA52D72D515284
  Signierte und/oder verschlüsselte Nachrichten sind sehr willkommen
  Signed and/or encrypted mail is highly appreciated




More information about the MapServer-users mailing list