NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

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

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)

permanent link

answered 17 Sep '14, 16:48

Pieren's gravatar image

Pieren
9.8k2083157
accept rate: 15%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×440
×6
×5

question asked: 16 Sep '14, 23:54

question was seen: 3,337 times

last updated: 18 Sep '14, 08:51

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum