-
Notifications
You must be signed in to change notification settings - Fork 821
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
Display both name and house number for houses that have both #735
Comments
|
It would be nice, but I'm not sure there's a way to do it without either hopelessly cluttering the map or having most of them not render due to conflicts between each other. |
With a little SQL conditional it should be well possible, you can append the house number after the name and a linebreak I guess. I don't remember what method there was available in mapnik (if any) to change the font and font size midway through a label. |
Looks like https://github.com/mapnik/mapnik/wiki/TextSymbolizer#formats example does just that, there may be no need for additional SQL. |
If we want to do this SQL has the advantage that it would allow the housenumber and housename layers to be combined, and the disadvantage that we can't style it any differently. |
We have |
The Mapnik rendering layer should display both the name and the housenumber of buildings. Right now, the housenumber suppresses the display of the name. I think a smaller font than is usual for the name label would be appropriate.
See also https://trac.openstreetmap.org/ticket/2240.
The text was updated successfully, but these errors were encountered: