Monday 31 December 2018

labeling - Move label in QGIS?


I cannot figure it out to move Labels in an QGis-Layer. I added two columns (x,y) and set these columns as Data-defined-Position in the layer-properties as descriped in some (older) threads (e.g. How does manual Label Placement in QGIS 1.9 work? or Is there a way to manually place labels in QGIS?).


The button to move the label is greyed out. I am using a shp-layer with polygones in QGis 2.14.


Is there a way to to this (without using a plugin)?


edit: Here some screenshots of the problem: enter image description here enter image description here enter image description here




Answer



From your screenshot I suspect that you are setting the data defined x and y to the expressions "x" and "y", rather then directly binding them to the field itself.


Make sure you use the "attribute field" submenu in the data defined popup menu and select your x and y fields from that menu, rather then using expressions.


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...