Jonah,
I not sure if this is what you want, but in QGIS 2.14 you can set all of
these using the Layer properties under Labels, it was in previous
versions also.
I have used this previously to set label locations & rotation under
Placement.
I noticed also that you can also specify Shadows, Scale Based Viability,
Backgrounds etc.
In relation to placement and rotation, You create the fields for X, Y &
Rotation, leaving them blank. Select layer properties and set the
relevant fields from the drop down. Go back to the canvas, and while in
edit mode use the label move and rotate options. once happy with
everything, you can save it.
If you look at your table now, you will see that the X, Y & Rotation
fields have been populated where you changed them.
On 12/04/2016 19:54, Jonah Crawford wrote:
There's only a few examples using this class from the qgs python api
http://qgis.org/api/classQgsPalLayerSettings.html
Specifically:
http://gis.stackexchange.com/questions/70111/how-to-obtain-rotation-field-name-defined-in-the-labels-data-defined-section-i
http://gis.stackexchange.com/questions/77870/how-to-label-vector-features-programmatically/77963#77963
It's not clear from the documentation how one would say set a color,
or transparency, shadow etc.
Could someone share some code examples ?
Jonah
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
--
*_Richard McDonnell_*
*GIS Specialist PgD GIS AssocSCSI*
*OPW FRM Data Management*
*52 Stephens Green, Dublin 2.*
TEL: 01 6476543
OPW - Ag féachaint don am atá le teacht - Ag caomhnú ón am atá thart
OPW - Looking to the future - Caring for the past
***
Email Disclaimer: http://www.opw.ie/en/disclaimer/
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user