Ticket #2846 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

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:

Description

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

comment:1 Changed 4 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 4 years ago by Ldp

  • Status changed from new to closed
  • Resolution set to fixed

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.