Hi I found a very strange behavior with the rendering of restaurant names. If the main name begins with Latin letters (https://www.openstreetmap.org/node/2473232920 or https://www.openstreetmap.org/node/2473232930), then the name renders, even if there are Chinese characters that follow. If the main name begins with a Chinese character (https://www.openstreetmap.org/node/2473232927), then the name does not render. This does not happen with other types of node, like convenient stores. The same happens when my language setting is zh-TW,zh,en-US,en or zh,en-US,en or en Is this a bug to be fixed? Thanks asked 16 Sep '14, 23:54 fosius_luminis SomeoneElse ♦ |
It seems that the street names are correctly rendered in Chinese fonts but not the restaurant names. This sounds as a rendering issue with Mapnik or its stylesheet. I would suggest to submit an error report (issue) on the Mapnik stylesheet development repository : https://github.com/gravitystorm/openstreetmap-carto (guess you need a github user account) answered 17 Sep '14, 16:48 Pieren |
Is it perhaps just a label placement issue (i.e. the renderer thinks that it hasn't got room for the Chinese name for "Discovery Noodle" and leaves it out? On my tile server at home (similar mapnik version, slightly older version of the OSM "standard" style, but only rendering recently added data, so that it omits way 49698363) it does try and display the Chinese "Discovery Noodle" name. Can you find another example where the Chinese restaurant name definitely wouldn't run across another feature?
Here are some nodes that have nothing below them
https://www.openstreetmap.org/node/2473232960 https://www.openstreetmap.org/node/2579109207 https://www.openstreetmap.org/node/2812986184 https://www.openstreetmap.org/node/2921833439
although there are some counter-examples https://www.openstreetmap.org/node/2151389193 https://www.openstreetmap.org/node/2473232863 (only shows at zoom level 17)
But most fall into the "broken" category.
Interesting (for info, my tile server does try to display all the names that I'd expect it to, although it doesn't have Chinese fonts loaded). As Pieren suggests, I'd log it as a Github issue against the stylesheet.
If you don't have a github account let me know, and I'll log an issue cross-referencing this question.
I don't have a github account. If you could do that for me, that'd be great! Thanks!
I've created https://github.com/gravitystorm/openstreetmap-carto/issues/959