[mapserver-users] Mapserver ANGLE counterclockwise bug?

Carlos Neves (LREC) cneves at lrec.pt
Mon Jul 12 11:47:12 PDT 2021


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




More information about the mapserver-users mailing list