If your feature type comes from a database, e.g. PostGIS, you can also
consider to create a view performing the division

Regards,

Stefano
Il giorno 23/ott/2012 08:39, "obtin" <[email protected]> ha scritto:

> Hi all,
>
> in my sld i have symbols wich are to be rotated. The angle is stored in a
> field called 'suunta' and is stored in radians. I am to use the following
> to
> rotate them:
>
>               <Rotation>
>                 <ogc:Function name="toDegrees">
>                   <ogc:PropertyName>suunta</ogc:PropertyName>
>                 </ogc:Function>
>                 <ogc:PropertyName>suunta</ogc:PropertyName>
>               </Rotation>
>
> My problem is that the angles are stored as 1/10000 parts of a radian. So
> to
> get them into computable radians I would need to divide the 'suunta' field
> with 10000. How is this done in GS/SLD?
>
> regards, Jakob
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.n6.nabble.com/division-operation-in-sld-tp5010384.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> 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
>
------------------------------------------------------------------------------
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

Reply via email to