tilemill-project/foss4g-benchmark-style

Drawing order of places labels

misterboo opened this issue · 0 comments

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 ?