-
Notifications
You must be signed in to change notification settings - Fork 820
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Central text labels for admin_level=6 features should be have higher priority than villages and suburbs #4154
Comments
We only recently started rendering a central text label for the names for admin_level=5 and =6 boundaries. See #4100 https://www.openstreetmap.org/relation/2410520 Gangnam-gu, South Korea is displayed at zoom level 13: At zoom level 14 and higher the central label is not shown because the area is too large (it already takes up most of the screen, over 196,000 square pixels), but the name is rendered along the boundary: At z12 the label is blocked by the name of a place=village (perhaps this should be a place=quarter or place=neighborhood instead?), which is being rendered with higher priority: https://www.openstreetmap.org/node/415155293#map=13/37.4975/127.0657 Since many admin_level=6 features have the same name as a town or city, we decided to render the places with higher priority. This could be changed, but it would lead to poorer results in some countries. (If this area, "Gangnam-gu", is also the well-known name of this part of the city, perhaps it should also be mapped as a place=suburb node?) https://www.openstreetmap.org/relation/2409164 Gapyeong-gun is displayed at z10: We decided not to show admin_level=6 earlier than z10, though in this case the area is large enough that we could have shown it at z9 as well. But in some countries this would make the map quite crowded, for example when admin_level=6 areas are small. It doesn't render at z11 and above because the area on the screen becomes too large. Anything larger than about 400 * 500 standard pixels will no longer get the central text label, though at that point the name renders along the boundary line. https://www.openstreetmap.org/relation/3777249#map=10/26.0389/120.2921 Matsu Islands is rendered at z10: At z11 and higher the name is rendered along the boundary instead For the other one, the problem is that the province (admin_level=4) takes up most of the same area, so it get's labeled instead. Compare: Since the 2 boundaries share the same area around the largest island, just the more important admin level is shown. But if you zoom in to the border at higher zoom levels, you can see both names: |
So they are now being rendered at center of relation instead of on the label node, and using a less prominent color than those villages/etc underneath? (Or are those actually features with place=* tags and they got rendered more prominently?) |
Previously only features with Now administrative boundaries with There has not been any changed in While some mappers add nodes to administrative boundary relations with |
For a number of admin_level=6 features, like:
https://www.openstreetmap.org/node/6743291688 Kinmen, Taiwan
https://www.openstreetmap.org/node/60655851 Matsu Islands/Lienchiang, Taiwan
https://www.openstreetmap.org/relation/2410520 Gangnam-gu, South Korea
https://www.openstreetmap.org/relation/2409164 Gapyeong-gun, South Korea
They are considerably more important their underlying features and should render at a range of zoom levels where the name of these counties/districts would be useful, however at many zoom levels the OSM carto would render their underlying villages/area name instead of the more significant name of the county/district themselves.
Expected behavior
They are expected to be displayed more prominently than labels with admin_level=7 value in zoom level 7 to 14.
Actual behavior
They are not being displayed at all.
The text was updated successfully, but these errors were encountered: