I'm working on a
shape file in
qgis (2.8.4 Wien for Mac). In this file I have several points with about ten fields. What I'm interest in is to use two of these fields to set position of the label and the rotation of the symbol of the point: one field is the id of the point, the other one is the rotation.
I represent the point symbol as a triangle with a little line, and I rotate it according to the rotation field (I have no problem with this). The main problem is to place the label of the ID around the point in a specific position, according to the rotation, but without rotate it.
The rotation field contains, obviously, values from 0 to 359.
In the picture below, there is a sample of what I want to obtain:
I think is possible to use a offset function with sinus and cosinus, but the corresponding buttons are disabled on qgis interface.
There is a way to do this? Unfortunately this is a requirement of the work I'm doing.