[Qgis-user] data defined labelling field details?

Andreas Neumann a.neumann at carto.net
Sun Jan 9 03:35:53 PST 2011


Hi,

Maybe we could introduce tooltips with sample values or explaining which 
data type QGIS expects?

Andreas


On 1/8/11 11:06 PM, Marco Hugentobler wrote:
> 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
>




More information about the Qgis-user mailing list