Skip to content
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

Labels for admin_level=3 are displayed too prominently and block display of more important cities #1795

Closed
matkoniecz opened this issue Aug 29, 2015 · 4 comments

Comments

@matkoniecz
Copy link
Contributor

Current rendering is OK for huge countries with important internal divisions (USA, maybe also other countries).

But in Europe it makes at most little sense. See http://www.openstreetmap.org/#map=6/49.611/18.040 - for example in case of Poland current rendering is absurd (prominence of admin_level=3 entities is significantly lower than this of large cities).

Unfortunately there is no method to tag whatever internal divisions are important (and it is anyway too subjective).

It is possible to

  • keep current rendering and accept that regions like Europe on low zoom levels is ridiculously displayed
  • make subdivision of countries less prominent what would make USA and maybe other location look ridiculous
  • somehow detect more and less important admin_level=3 entities
    • by hardcoding it (it would be nightmare to decide which countries have important subdivisions and which not)
    • use way_area - big entities are displayed before cities, smaller after (or somehow give them priority and order in one query)
    • solve When label does not fit in the center of area, render label off-center #1069, apply it to admin_level=3 areas, make cities more important (similar to using way_area but more labels would be displayed)
    • something else?

At this moment nearly every map has better z4 - for example transport layer
selection_001 or
mapquest ( http://tools.geofabrik.de/mc/#4/49.6023/27.0194&num=2&mt0=mapnik&mt1=mapquest )
selection_002

@matkoniecz matkoniecz added this to the Bugs and improvements milestone Aug 29, 2015
@pnorman
Copy link
Collaborator

pnorman commented Sep 23, 2015

Updated rendering, but with older data.

image

@jojo4u
Copy link

jojo4u commented Sep 23, 2015

A more complete selections of different maps: http://tools.geofabrik.de/mc/#4/-3.9649/-55.5978&num=6&mt0=mapnik&mt1=nokia-map&mt2=bing-map&mt3=google-map&mt4=mapquest&mt5=mapnik-humanitarian
Most other maps display labels only in big countries like USA/Canada/Brasil/China.

No hardcoding in the database. Hardcoding should be done in osm-carto. I find the maps with the names of the states much more pleasant (Bing, Google) instead of ref (OSM, HERE) - for example what use is "FI19" in Finland? If hardcoding will be done, only a few countries where names are fitting will remain.

@jojo4u
Copy link

jojo4u commented Oct 28, 2015

The title is wrong, shouln't it be admin_level=4?

@kocio-pl
Copy link
Collaborator

I guess this was fixed somewhere along the way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants