[Qgis-user] data defined labelling field details?
William Kyngesburye
woklist at kyngchaos.com
Sun Jan 9 07:22:05 PST 2011
No, I did not set the X,Y data fields - I want the X,Y to be the point coordinates (maybe a distance from), so the X,Y data fields is redundant and I'd have to figure out and fill in all the coordinates.
On Jan 9, 2011, at 4:23 AM, Marco Hugentobler wrote:
> Hi William
>
> Could it be that data defined x-/y-fields were not enable in your case?
>
> Data defined alignment or rotation is only useful if the label position is data
> defined too (otherwise, the PAL library calculates position and rotation).
>
> Regards,
> Marco
>
> Am Sonntag, 9. Januar 2011, um 00.06:04 schrieb William Kyngesburye:
>> Well, one problem - I can't set a data column for horiz/vert alignment or
>> rotation on any layers, the popup menu is disabled.
>>
>> If I use the "old" labelling, I can set placement data column. What are
>> the values to use here?
>>
>> On Jan 8, 2011, at 4:29 PM, William Kyngesburye wrote:
>>> Thanks.
>>>
>>> On Jan 8, 2011, at 4: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
>>>
>>> -----
>>> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
>>> http://www.kyngchaos.com/
>>>
>>> "Mon Dieu! but they are all alike. Cheating, murdering, lying, fighting,
>>> and all for things that the beasts of the jungle would not deign to
>>> possess - money to purchase the effeminate pleasures of weaklings. And
>>> yet withal bound down by silly customs that make them slaves to their
>>> unhappy lot while firm in the belief that they be the lords of creation
>>> enjoying the only real pleasures of existence....
>>>
>>> - the wisdom of Tarzan
>>>
>>>
>>> _______________________________________________
>>> Qgis-user mailing list
>>> Qgis-user at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>> -----
>> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
>> http://www.kyngchaos.com/
>>
>> "This is a question about the past, is it? ... How can I tell that the past
>> isn't a fiction designed to account for the discrepancy between my
>> immediate physical sensations and my state of mind?"
>>
>> - The Ruler of the Universe
>
>
> --
> 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
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/
All generalizations are dangerous, even this one.
More information about the Qgis-user
mailing list