Hey there,
I have a quick question; is there a way that I can get my cities’ names to showon the map rather than the names of the regions (-iki)? It really bothers me that a large portion of my cities aren’t visible from high zoom levels because the names of the regions are rendered above them.
Cheers, leo
Discussion
Comment from Leowezy on 10 May 2016 at 09:46
You mean tagging cities at admin_level = 1 for example? I’ll give it a try.
Comment from Luciano on 10 May 2016 at 23:10
I’m not sure it’s easily fixed. Real world openstreetmap has similar problems: look at Paris (I mean the vast metropolis of Saint-Denis) at zoom 7:
osm.org/#map=7/49.088/2.406
I think label-node placement is very important - although that only works on a layer where label node is used for the render (e.g. “histor”). Otherwise, you’re at the whim of the render engine’s calculation of label placement for various relations and how they get prioritized.
Comment from Leowezy on 11 May 2016 at 08:19
I see; changing the admin_level hasn’t worked sadly.
If there’s still someone here, is there a way though to have my regions’ name NOT shown on the map? I didn’t create nodes form them, it’s just the boundary relation that creates the purple names. I could do without them if it enhanced visibility of the city names.
Comment from Ūdilugbulgidħū on 13 May 2016 at 14:26
Yes, Leo, its possible -if you remove the ‘name’ tag it should just display the region’s purple boundary without showing any name. That works for admin_level:4 at least. Udi
Comment from Leowezy on 13 May 2016 at 15:13
@Ūdilugbulgidħū that seems so… obvious o.O I’ve never actually though about that XD It should be sufficient to have the regions’ name on the wiki only. I’m curious, is there a way to have the names show on the borders without using the name tag?
Comment from Luciano on 14 May 2016 at 03:14
I suppose if you wanted the names to show on the boundaries but not appear centered in the region, it ‘might’ work to put the name (well, both names) on the boundary ways. I have not tried this recently, but I recall when I first started mapping here, before I figured out how to use relations correctly, I was doing something similar by tagging to show both sides of each boundary way, e.g. name=”Boundary XX County / YY County”. That was before the changes to the main render style that became much more relation-centered, however. I’m not sure it would still work.