Opened 9 years ago

Closed 5 years ago

#2877 closed defect (fixed)

Redundant labels - lower admin areas & their centers

Reported by: xificurk Owned by: mapnik-team@…
Priority: minor Milestone:
Component: mapnik Version:
Keywords: Cc:


Recently there have been the import of complete admin boundaries for Czech Republic. The problem is that mapnik renders names of general areas (including the lowest admin areas) resulting in double labeling (since usualy there is an admin center for each area). For example see the village Dřenice and it's admin area in

I think it would be better not to render the labels for admin areas in this general labeling rule, this should be taken care of somewhere else.

Change History (5)

comment:1 Changed 8 years ago by Michael Zajac

This can happen with either admin_centre or label objects.

Also, the redundant label is formatted differently. Which format is the correct one?

comment:2 Changed 7 years ago by skyper

I use the place node as label for boundary relations.

  1. please use role=label for boundaries to place the name
  2. if the node with role=lable is tagged with place=* only render appropriate to the value of the place key.


comment:3 Changed 7 years ago by la colle

Yes, i confirm it creates duplicate names even if there is a relation between the admin_centre and the town.

in Mapink it should be interesting to check if there is a relation between the admin_centre and the boundary and display only one name instead of the same name two time.

comment:4 Changed 6 years ago by skyper

Please, use the role=label. I have several areas where the boundaries contain a lot of forest and the place is only in one corner, e.g. you need to know where to place the label.


comment:5 Changed 5 years ago by math1985

Resolution: fixed
Status: newclosed

Area labels are no longer rendered by default, so this bug has been solved.

Note: See TracTickets for help on using tickets.