Andrea,
Thanks for the input. We will keep this in mind for future considerations and 
the current string manipulation works for now.

Chris,
Thank you for the snippet. I also tried round by looking at this link (using 
datatype as double from geoserver admin interface)
http://docs.geoserver.org/stable/en/user/filter/function_reference.html

I got an error saying function "round" is not found. I think the documentation 
on that page probably needs an update(for float as input datatype).

Thanks again,
Ravi.




________________________________
 From: Andrea Aime <[email protected]>
To: cmaul <[email protected]> 
Cc: [email protected] 
Sent: Friday, October 26, 2012 2:28 AM
Subject: Re: [Geoserver-users] SLD - Decimal Roundup -Labeling
 
On Fri, Oct 26, 2012 at 1:13 AM, cmaul <[email protected]> wrote:
> sorry forgot something important:
> this function expects a float.
>
> Another consideration: I would expect mathematical functions to work much
> faster than String functions.
>
> May be Andrea can shed some light on that.

They are probably faster, but in the overall timing I would be surprised if
the difference was measurable, let alone visible.

Cheers
Andrea

-- 
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for
more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users
------------------------------------------------------------------------------
The Windows 8 Center 
In partnership with Sourceforge
Your idea - your app - 30 days. Get started!
http://windows8center.sourceforge.net/
what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to