Skip to content

Drawing order of places labels #9

@misterboo

Description

@misterboo

I try to understand the drawing order of the places labels

You style them like this:

place::city[type='city'] {...}

place::town[type='town'] {...}

place::village[type='village'] {...}

place::small[type='suburb'] {...}

In witch order should the labels be drawn ?

I can do what i want if there is a suburb label near a city label ... the city label is not drawn and the suburb label is drawn

I cannot change that behaviour with the order of the styles or with the order of the Names in the db (with z_order)

I only can control the order of drawing when i write the style different :

place[type='city'] {...}

place[type='town'] {...}

place[type='village'] {...}

place[type='suburb'] {...}

This works and the labels are drawn in the order they appear in the db ... so if i order them there (cities first) cities are drawn first.

Not so with your kind of style. Could you explain the order of the labels in the way you used it with the places labels ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions