Hi All
Simple question, but I am not sure how best to word it. Since we all love maps, I have a diagram below. 1. Create some points along a polyline. Easy using "Points along Gemoetry" 2. Display and label the points and put a rotation on the labels and justify as needed (middle right in this case) What I want to do is shift the label out from the point slightly. That's easy if using Offset X and Y, but it does exactly as expected and moves them X and Y, NOT accounting for the angle. I'm guessing I would need to use Data Defined X and Y and do some trigonometry using the angle and distance to calculate the new preferred label position. Does anybody have code to do this? A simple workaround I did use was to just pad a few spaces to the end of the label (ie "FIELD NAME" || ' ') Cheers Tony Tony Shepherd | GeoSpatial / Mapping Manager Ph 027 435 6193 | E <mailto:t...@farmmaps.nz> t...@farmmaps.nz FarmMaps NZ, 3 Kerwood Place, Gore 9740 <http://tonyshepherd8.wixsite.com/home> <https://www.wunderground.com/personal-weather-station/dashboard?ID=ISTLGORE 2>
_______________________________________________ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user