Opened 10 years ago

Closed 5 years ago

#2450 closed defect (duplicate)

[placenames] Don't render place=city capital=yes as a capital if it has admin_level=* and admin_level > 2

Reported by: avar Owned by: mapnik-team@…
Priority: major Milestone:
Component: mapnik Version:
Keywords: Cc:

Description

A lot of nodes around the world have place=city and capital=yes but are only regional capitals. This is especially prominent if the map is panned over Russia at zoom 4.

The solution to this seems to be not to render these in any special way if they have admin_level=* and admin_level > 2.

Change History (5)

comment:1 Changed 10 years ago by Mikado

I disagree with "not to render these in any special way" part. These cities are regional capitals and in the case of Russia that you've brought the regions are bigger than European coutries, and some of them even have governments and are ruled by presidents. So these cities are in fact capitals by their importance and they should be distinctive on the map.

Next thing is that federative structure of Russia has admin_level=3 division: federal districts that, in turn, have their own capitals.

Generally, many admin_level divisions can have their administrative center (even large city districts) that might need to be tagged accordingly. Why not use capital+admin_level for that? Seems natural.

Perhaps capitals of different admin_level could be rendered differently?

comment:2 Changed 5 years ago by math1985

Summary: Don't render place=city capital=yes as a capital if it has admin_level=* and admin_level > 2[placenames] Don't render place=city capital=yes as a capital if it has admin_level=* and admin_level > 2

comment:3 Changed 5 years ago by Mateusz Konieczny

This style should not mask tagging errors.

comment:4 Changed 5 years ago by math1985

This issue is now being discussed on Github: https://github.com/gravitystorm/openstreetmap-carto/issues/739 Therefore, I will close the issue here.

comment:5 Changed 5 years ago by math1985

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.