I am trying to make a 500 m buffer for my polyline layer. Unexpectedly, I receive buffer varying from 650 to 670 m, depending on location. As many resources recommend to use UTM before making a buffer, I use UTM projection for zone 31N - EPSG:23031 - ED50 / UTM zone 31N (actually, the layer is already provided in this CRS).
Whole polyline layer is located in Catalunya (SE Spain). Even the buffers placed near in the very SE of Spain, which is right in the middle of the zone 31N (where no distortion should happen), are 650 m!

PS: I did this in QGIS and also in my script in R, receiving exactly the same result in both cases.
EDIT: using QGIS measure line tool (View > Measure > Measure line)


QGIS measure line tool(View > Measure > Measure Line). It showed the results in meters, which is what I reported. When I subtracted the coordinates, I got the same number - e.g. distance 670 and difference inxalso cca 670 (when difference inywas 0). – Tomas Jul 19 '13 at 17:43Measure Linetool and not in your calculation. Displaying a map of your buffer would resolve this issue. – whuber Jul 19 '13 at 17:45cos(42). – Tomas Jul 20 '13 at 23:01