This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Restaurant names that begins with Chinese characters do not render on main map

1

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's gravatar image

fosius_luminis
31335
accept rate: 0%

edited 17 Sep '14, 07:41

SomeoneElse's gravatar image

SomeoneElse ♦
36.9k71370866

2

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?

(17 Sep '14, 07:52) SomeoneElse ♦
2
(17 Sep '14, 17:37) fosius_luminis

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.

(17 Sep '14, 17:48) SomeoneElse ♦

I don't have a github account. If you could do that for me, that'd be great! Thanks!

(17 Sep '14, 18:55) fosius_luminis
2
(18 Sep '14, 08:51) SomeoneElse ♦

One Answer:

3

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's gravatar image

Pieren
9.8k2083157
accept rate: 15%

Source code available on GitHub .