Mapserver assumes 0 degrees angle to be to the right (east) and measures 
counterclockwise.

I went through all this rotation stuff a while back when trying to convert back 
and forth between MapServer ANGLE and Postgress ROTATION (0 is north and 
measures clockwise).

Hope that helps.

Bobb



On 7/12/21, 2:05 PM, "mapserver-users on behalf of Carlos Neves (LREC)" 
<[email protected] on behalf of [email protected]> wrote:

    Think Before You Click: This email originated outside our organization.


    Hi List,

    I have a png North symbol "winddirection" defined in symbol.sym file,
    pointing  to north (0º)

    My MAP file is something simple like this.

                  STYLE
                                     SYMBOL "winddirection"
                                     ANGLE [DVmd]
                                     OFFSET 30 0
                                     SIZE 50

                   END

    Where DVmd is the the direction field in the meteo DataBase in degrees

    The problem is when the database field is 45º (NE) the image in MAP
    rotates to  315º (NW) ,i.e. -45º.

    Any help would be appreciated.

    Carlos


    _______________________________________________
    mapserver-users mailing list
    [email protected]
    https://lists.osgeo.org/mailman/listinfo/mapserver-users

_______________________________________________
mapserver-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to