Opened 9 years ago

Closed 9 years ago

#2846 closed defect (fixed)

Wahington DC capital label not rendered at low levels

Reported by: Turbodog Owned by: mapnik-team@…
Priority: minor Milestone:
Component: mapnik Version:
Keywords: national capital, Washington, Cc:


Apparently Mapnik renders the labels for national capitals at different zoom levels, based on area, or other criteria. I noticed that Washington, the capital of the US, is not rendered at the same level that Ottawa, Canada and Ciudad de Mexico are rendered, but only at the same level as other major US cities are rendered. However, when it is rendered, the font size is the same as other national capitals, and it is also rendered as a national capital by Noname. Is the Washington label rendering level possibly based on the area of the District of Columbia rather than on the area of the US?

Change History (2)

comment:1 Changed 9 years ago by Ldp

Rendering of place names is not based on area at all, at the moment.

Rendering order is country->state->capital city->city->town->suburb->village->hamlet, based only on the place=* node. The rendering of the state names in that area suppress the rendering of the Washington, D.C. label until there is room for it, which only happens at a higher zoom.

comment:2 Changed 9 years ago by Ldp

Resolution: fixed
Status: newclosed

Since the Natural Earth place names were introduced at the lowest zoom levels, Washington, D.C. renders again.

Only at z5 it's not shown, but that's due to state names having preference.

Note: See TracTickets for help on using tickets.