[Qgis-user] data defined labelling field details?

Marco Hugentobler marco.hugentobler at sourcepole.ch
Sat Jan 8 14:06:29 PST 2011


Hi William

Do you use the new labeling?
If yes:

bold/italic/underline/strikeout expect int (0 means false )

> Spell out placement strings? ("Above Left", ...)  Or some sort of
> abbreviations?  Or maybe it's an integer lookup of the placements?

Strings
For horizontal alignment: 'Left', 'Center', 'Right'
For vertical alignment: 'Bottom', 'Base', 'Half', 'Top'

> Color - RGB values (in a char field)?
Hex representation, e.g. #ff0000 for red

Regards,
Marco

Am Samstag, 8. Januar 2011, um 19.20:21 schrieb William Kyngesburye:
> I want to try some data defined labelling, but I could not find any info
> about how to configure data fields.
> 
> Some of them look obvious, like integers or floats/reals for sizes and
> offsets, and character/varchar for font.
> 
> Maybe boolean for bold/italic/underline/strike?  Or does Qgis want a char
> representation of a boolean for these?
> 
> Placement I think should be a char field, but what are the values to use? 
> Spell out placement strings? ("Above Left", ...)  Or some sort of
> abbreviations?  Or maybe it's an integer lookup of the placements?
> 
> Color - RGB values (in a char field)?  what separator to use?
> 
> Any other details other details I didn't think of to ask about?
> 
> -----
> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
> http://www.kyngchaos.com/
> 
> "Those people who most want to rule people are, ipso-facto, those least
> suited to do it."
> 
> - A rule of the universe, from the HitchHiker's Guide to the Galaxy
> 
> 
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user


-- 
Dr. Marco Hugentobler
Sourcepole - Linux & Open Source Solutions
Churerstr. 22, CH-8808 Pfäffikon SZ, Switzerland
marco.hugentobler at sourcepole.ch http://www.sourcepole.ch
Technical Advisor QGIS Project Steering Committee



More information about the Qgis-user mailing list